kstars
lx200driver.h File Reference

Go to the source code of this file.
Defines | |
| #define | activateAltDecAntiBackSlash() portWrite("#$BAdd#") |
| #define | activateAzRaAntiBackSlash() portWrite("#$BZdd#") |
| #define | alignGPSScope() portWrite("#:Aa#") |
| #define | APPark() portWrite("#:KA#") |
| #define | APUnpark() portWrite("#:PO#"); |
| #define | decreaseReticleBrightness() portWrite("#:B-#") |
| #define | disableDecAltPec() portWrite("#:QA-#") |
| #define | disableRaAzPec() portWrite("#:QZ-#") |
| #define | enableDecAltPec() portWrite("#:QA+#") |
| #define | enableRaAzPec() portWrite("#:QZ+#") |
| #define | getFullVersion(x) getCommandString(x, "#:GVF#") |
| #define | getLocalTime12(x) getCommandSexa(x, "#:Ga#") |
| #define | getLocalTime24(x) getCommandSexa(x, "#:GL#") |
| #define | getLX200Alt(x) getCommandSexa(x, "#:GA#") |
| #define | getLX200Az(x) getCommandSexa(x, "#:GZ#") |
| #define | getLX200DEC(x) getCommandSexa(x, "#:GD#") |
| #define | getLX200RA(x) getCommandSexa(x, "#:GR#") |
| #define | getMaxElevationLimit(x) getCommandInt(x, "#:Go#") |
| #define | getMinElevationLimit(x) getCommandInt(x, "#:Gh#") |
| #define | getObjectDEC(x) getCommandSexa(x, "#:Gd#") |
| #define | getObjectInfo(x) getCommandString(x, "#:LI#") |
| #define | getObjectRA(x) getCommandSexa(x, "#:Gr#") |
| #define | getProductName(x) getCommandString(x, "#:GVP#") |
| #define | getSDTime(x) getCommandSexa(x, "#:GS#") |
| #define | getUTCOffset(x) getCommandInt(x, "#:GG#") |
| #define | getVersionDate(x) getCommandString(x, "#:GVD#") |
| #define | getVersionNumber(x) getCommandString(x, "#:GVN#") |
| #define | getVersionTime(x) getCommandString(x, "#:GVT#") |
| #define | gpsRestart() portWrite("#:I#") |
| #define | gpsSleep() portWrite("#:hN#") |
| #define | gpsWakeUp() portWrite("#:hW#") |
| #define | increaseReticleBrightness() portWrite("#:B+#") |
| #define | MaxFocuserSpeed 4 |
| #define | MaxReticleDutyCycle 15 |
| #define | seekHomeAndSave() portWrite("#:hS#") |
| #define | seekHomeAndSet() portWrite("#:hF#") |
| #define | SelenographicSync() portWrite("#:CL#") |
| #define | setFocuserSpeed(x) setCommandInt(x, "#:F") |
| #define | setLocalTime(x, y, z) setCommandXYZ(x,y,z, "#:SL") |
| #define | setReticleDutyFlashCycle(x) setCommandInt(x, "#:BD") |
| #define | setReticleFlashRate(x) setCommandInt(x, "#:B") |
| #define | setSDTime(x, y, z) setCommandXYZ(x,y,z, "#:SS") |
| #define | setSlewSpeed(x) setCommandInt(x, "#:Sw") |
| #define | slewToAltAz() setStandardProcedure("#:MA#") |
| #define | slewToPark() portWrite("#:hP#") |
| #define | toggleTimeFormat() portWrite("#:H#") |
| #define | turnFanOff() portWrite("#:f-#") |
| #define | turnFanOn() portWrite("#:f+#") |
| #define | turnFieldDeRotatorOff() portWrite("#:r-#") |
| #define | turnFieldDeRotatorOn() portWrite("#:r+#") |
| #define | turnGPS_StreamOn() getCommandString(x, "#:gps#") |
| #define | turnGPSOff() portWrite("#:g-#") |
| #define | turnGPSOn() portWrite("#:g+#") |
| #define | updateGPS_System() setStandardProcedure("#:gT#") |
Enumerations | |
| enum | DeepSkyCatalog { LX200_NGC, LX200_IC, LX200_UGC, LX200_CALDWELL, LX200_ARP, LX200_ABELL, LX200_MESSIER_C } |
| enum | StarCatalog { LX200_STAR, LX200_SAO, LX200_GCVS } |
| enum | TAlign { LX200_ALIGN_POLAR, LX200_ALIGN_ALTAZ, LX200_ALIGN_LAND } |
| enum | TCatalog { LX200_STAR_C, LX200_DEEPSKY_C } |
| enum | TDirection { LX200_NORTH, LX200_WEST, LX200_EAST, LX200_SOUTH, LX200_ALL } |
| enum | TFocusMotion { LX200_FOCUSIN, LX200_FOCUSOUT } |
| enum | TFocusSpeed { LX200_HALTFOCUS = 0, LX200_FOCUSFAST, LX200_FOCUSMEDIUM, LX200_FOCUSSLOW } |
| enum | TFormat { LX200_FORMAT_SHORT, LX200_FORMAT_LONG } |
| enum | TFreq { LX200_TRACK_DEFAULT, LX200_TRACK_LUNAR, LX200_TRACK_MANUAL } |
| enum | TSlew { LX200_SLEW_MAX, LX200_SLEW_FIND, LX200_SLEW_CENTER, LX200_SLEW_GUIDE } |
| enum | TTimeFormat { LX200_24, LX200_AM, LX200_PM } |
Functions | |
| int | abortSlew () |
| char | ACK () |
| int | checkLX200Format () |
| int | Connect (const char *device) |
| void | Disconnect () |
| int | getCalenderDate (char *date) |
| int | getCommandInt (int *value, const char *cmd) |
| int | getCommandSexa (double *value, const char *cmd) |
| int | getCommandString (char *data, const char *cmd) |
| int | getHomeSearchStatus (int *status) |
| int | getNumberOfBars (int *value) |
| int | getOTATemp (double *value) |
| int | getSiteLatitude (int *dd, int *mm) |
| int | getSiteLongitude (int *ddd, int *mm) |
| int | getSiteName (char *siteName, int siteNum) |
| int | getTimeFormat (int *format) |
| int | getTrackFreq (double *value) |
| int | HaltMovement (int direction) |
| int | LX200readOut (int timeout) |
| int | MoveTo (int direction) |
| int | openPort (const char *portID) |
| int | portRead (char *buf, int nbytes, int timeout) |
| int | portWrite (const char *buf) |
| int | selectAPTrackingMode (int trackMode) |
| int | selectCatalogObject (int catalog, int NNNN) |
| int | selectSite (int siteNum) |
| int | selectSubCatalog (int catalog, int subCatalog) |
| int | selectTrackingMode (int trackMode) |
| int | setAlignmentMode (unsigned int alignMode) |
| int | setCalenderDate (int dd, int mm, int yy) |
| int | setCommandInt (int data, const char *cmd) |
| int | setCommandXYZ (int x, int y, int z, const char *cmd) |
| int | setFocuserMotion (int motionType) |
| int | setFocuserSpeedMode (int speedMode) |
| int | setMaxElevationLimit (int max) |
| int | setMaxSlewRate (int slewRate) |
| int | setMinElevationLimit (int min) |
| int | setObjAlt (double alt) |
| int | setObjAz (double az) |
| int | setObjectDEC (double dec) |
| int | setObjectRA (double ra) |
| int | setSiteLatitude (double Lat) |
| int | setSiteLongitude (double Long) |
| int | setSiteName (char *siteName, int siteNum) |
| int | setSlewMode (int slewMode) |
| int | setStandardProcedure (char *writeData) |
| int | setTrackFreq (double trackF) |
| int | setUTCOffset (double hours) |
| int | Slew () |
| int | Sync (char *matchedObject) |
| int | testAP () |
| int | testTelescope () |
| int | updateSkyCommanderCoord (double *ra, double *dec) |
Define Documentation
| #define activateAltDecAntiBackSlash | ( | ) | portWrite("#$BAdd#") |
Definition at line 96 of file lx200driver.h.
| #define activateAzRaAntiBackSlash | ( | ) | portWrite("#$BZdd#") |
Definition at line 97 of file lx200driver.h.
| #define alignGPSScope | ( | ) | portWrite("#:Aa#") |
Definition at line 87 of file lx200driver.h.
| #define APPark | ( | ) | portWrite("#:KA#") |
Definition at line 113 of file lx200driver.h.
| #define APUnpark | ( | ) | portWrite("#:PO#"); |
Definition at line 114 of file lx200driver.h.
| #define decreaseReticleBrightness | ( | ) | portWrite("#:B-#") |
Definition at line 103 of file lx200driver.h.
| #define disableDecAltPec | ( | ) | portWrite("#:QA-#") |
Definition at line 93 of file lx200driver.h.
| #define disableRaAzPec | ( | ) | portWrite("#:QZ-#") |
Definition at line 95 of file lx200driver.h.
| #define enableDecAltPec | ( | ) | portWrite("#:QA+#") |
Definition at line 92 of file lx200driver.h.
| #define enableRaAzPec | ( | ) | portWrite("#:QZ+#") |
Definition at line 94 of file lx200driver.h.
| #define getFullVersion | ( | x | ) | getCommandString(x, "#:GVF#") |
Definition at line 64 of file lx200driver.h.
| #define getLocalTime12 | ( | x | ) | getCommandSexa(x, "#:Ga#") |
Definition at line 54 of file lx200driver.h.
| #define getLocalTime24 | ( | x | ) | getCommandSexa(x, "#:GL#") |
Definition at line 55 of file lx200driver.h.
| #define getLX200Alt | ( | x | ) | getCommandSexa(x, "#:GA#") |
Definition at line 57 of file lx200driver.h.
| #define getLX200Az | ( | x | ) | getCommandSexa(x, "#:GZ#") |
Definition at line 58 of file lx200driver.h.
| #define getLX200DEC | ( | x | ) | getCommandSexa(x, "#:GD#") |
Definition at line 51 of file lx200driver.h.
| #define getLX200RA | ( | x | ) | getCommandSexa(x, "#:GR#") |
Definition at line 50 of file lx200driver.h.
| #define getMaxElevationLimit | ( | x | ) | getCommandInt(x, "#:Go#") |
Definition at line 71 of file lx200driver.h.
| #define getMinElevationLimit | ( | x | ) | getCommandInt(x, "#:Gh#") |
Definition at line 72 of file lx200driver.h.
| #define getObjectDEC | ( | x | ) | getCommandSexa(x, "#:Gd#") |
Definition at line 53 of file lx200driver.h.
| #define getObjectInfo | ( | x | ) | getCommandString(x, "#:LI#") |
Definition at line 61 of file lx200driver.h.
| #define getObjectRA | ( | x | ) | getCommandSexa(x, "#:Gr#") |
Definition at line 52 of file lx200driver.h.
| #define getProductName | ( | x | ) | getCommandString(x, "#:GVP#") |
Definition at line 66 of file lx200driver.h.
| #define getSDTime | ( | x | ) | getCommandSexa(x, "#:GS#") |
Definition at line 56 of file lx200driver.h.
| #define getUTCOffset | ( | x | ) | getCommandInt(x, "#:GG#") |
Definition at line 70 of file lx200driver.h.
| #define getVersionDate | ( | x | ) | getCommandString(x, "#:GVD#") |
Definition at line 62 of file lx200driver.h.
| #define getVersionNumber | ( | x | ) | getCommandString(x, "#:GVN#") |
Definition at line 65 of file lx200driver.h.
| #define getVersionTime | ( | x | ) | getCommandString(x, "#:GVT#") |
Definition at line 63 of file lx200driver.h.
| #define gpsRestart | ( | ) | portWrite("#:I#") |
Definition at line 90 of file lx200driver.h.
| #define gpsSleep | ( | ) | portWrite("#:hN#") |
Definition at line 88 of file lx200driver.h.
| #define gpsWakeUp | ( | ) | portWrite("#:hW#") |
Definition at line 89 of file lx200driver.h.
| #define increaseReticleBrightness | ( | ) | portWrite("#:B+#") |
Definition at line 102 of file lx200driver.h.
| #define MaxFocuserSpeed 4 |
Definition at line 47 of file lx200driver.h.
| #define MaxReticleDutyCycle 15 |
Definition at line 46 of file lx200driver.h.
| #define seekHomeAndSave | ( | ) | portWrite("#:hS#") |
Definition at line 106 of file lx200driver.h.
| #define seekHomeAndSet | ( | ) | portWrite("#:hF#") |
Definition at line 107 of file lx200driver.h.
| #define SelenographicSync | ( | ) | portWrite("#:CL#") |
Definition at line 98 of file lx200driver.h.
| #define setFocuserSpeed | ( | x | ) | setCommandInt(x, "#:F") |
Definition at line 77 of file lx200driver.h.
| #define setLocalTime | ( | x, | |||
| y, | |||||
| z | ) | setCommandXYZ(x,y,z, "#:SL") |
Definition at line 81 of file lx200driver.h.
| #define setReticleDutyFlashCycle | ( | x | ) | setCommandInt(x, "#:BD") |
Definition at line 75 of file lx200driver.h.
| #define setReticleFlashRate | ( | x | ) | setCommandInt(x, "#:B") |
Definition at line 76 of file lx200driver.h.
| #define setSDTime | ( | x, | |||
| y, | |||||
| z | ) | setCommandXYZ(x,y,z, "#:SS") |
Definition at line 82 of file lx200driver.h.
| #define setSlewSpeed | ( | x | ) | setCommandInt(x, "#:Sw") |
Definition at line 78 of file lx200driver.h.
| #define slewToAltAz | ( | ) | setStandardProcedure("#:MA#") |
Definition at line 100 of file lx200driver.h.
| #define slewToPark | ( | ) | portWrite("#:hP#") |
Definition at line 110 of file lx200driver.h.
| #define toggleTimeFormat | ( | ) | portWrite("#:H#") |
Definition at line 101 of file lx200driver.h.
| #define turnFanOff | ( | ) | portWrite("#:f-#") |
Definition at line 105 of file lx200driver.h.
| #define turnFanOn | ( | ) | portWrite("#:f+#") |
Definition at line 104 of file lx200driver.h.
| #define turnFieldDeRotatorOff | ( | ) | portWrite("#:r-#") |
Definition at line 109 of file lx200driver.h.
| #define turnFieldDeRotatorOn | ( | ) | portWrite("#:r+#") |
Definition at line 108 of file lx200driver.h.
| #define turnGPS_StreamOn | ( | ) | getCommandString(x, "#:gps#") |
Definition at line 67 of file lx200driver.h.
| #define turnGPSOff | ( | ) | portWrite("#:g-#") |
Definition at line 86 of file lx200driver.h.
| #define turnGPSOn | ( | ) | portWrite("#:g+#") |
Definition at line 85 of file lx200driver.h.
| #define updateGPS_System | ( | ) | setStandardProcedure("#:gT#") |
Definition at line 91 of file lx200driver.h.
Enumeration Type Documentation
| enum DeepSkyCatalog |
Definition at line 42 of file lx200driver.h.
| enum StarCatalog |
| enum TAlign |
Definition at line 27 of file lx200driver.h.
| enum TCatalog |
| enum TDirection |
Definition at line 29 of file lx200driver.h.
| enum TFocusMotion |
| enum TFocusSpeed |
Definition at line 36 of file lx200driver.h.
| enum TFormat |
| enum TFreq |
Definition at line 44 of file lx200driver.h.
| enum TSlew |
Definition at line 25 of file lx200driver.h.
| enum TTimeFormat |
Function Documentation
| int abortSlew | ( | ) |
| char ACK | ( | ) |
| int checkLX200Format | ( | ) |
| int Connect | ( | const char * | device | ) |
| void Disconnect | ( | ) |
| int getCalenderDate | ( | char * | date | ) |
| int getCommandInt | ( | int * | value, | |
| const char * | cmd | |||
| ) |
| int getCommandSexa | ( | double * | value, | |
| const char * | cmd | |||
| ) |
| int getCommandString | ( | char * | data, | |
| const char * | cmd | |||
| ) |
| int getHomeSearchStatus | ( | int * | status | ) |
| int getNumberOfBars | ( | int * | value | ) |
| int getOTATemp | ( | double * | value | ) |
| int getSiteLatitude | ( | int * | dd, | |
| int * | mm | |||
| ) |
| int getSiteLongitude | ( | int * | ddd, | |
| int * | mm | |||
| ) |
| int getSiteName | ( | char * | siteName, | |
| int | siteNum | |||
| ) |
| int getTimeFormat | ( | int * | format | ) |
| int getTrackFreq | ( | double * | value | ) |
| int HaltMovement | ( | int | direction | ) |
| int LX200readOut | ( | int | timeout | ) |
| int MoveTo | ( | int | direction | ) |
| int openPort | ( | const char * | portID | ) |
| int portRead | ( | char * | buf, | |
| int | nbytes, | |||
| int | timeout | |||
| ) |
| int portWrite | ( | const char * | buf | ) |
| int selectAPTrackingMode | ( | int | trackMode | ) |
| int selectCatalogObject | ( | int | catalog, | |
| int | NNNN | |||
| ) |
| int selectSite | ( | int | siteNum | ) |
| int selectSubCatalog | ( | int | catalog, | |
| int | subCatalog | |||
| ) |
| int selectTrackingMode | ( | int | trackMode | ) |
| int setAlignmentMode | ( | unsigned int | alignMode | ) |
| int setCalenderDate | ( | int | dd, | |
| int | mm, | |||
| int | yy | |||
| ) |
| int setCommandInt | ( | int | data, | |
| const char * | cmd | |||
| ) |
| int setCommandXYZ | ( | int | x, | |
| int | y, | |||
| int | z, | |||
| const char * | cmd | |||
| ) |
| int setFocuserMotion | ( | int | motionType | ) |
| int setFocuserSpeedMode | ( | int | speedMode | ) |
| int setMaxElevationLimit | ( | int | max | ) |
| int setMaxSlewRate | ( | int | slewRate | ) |
| int setMinElevationLimit | ( | int | min | ) |
| int setObjAlt | ( | double | alt | ) |
| int setObjAz | ( | double | az | ) |
| int setObjectDEC | ( | double | dec | ) |
| int setObjectRA | ( | double | ra | ) |
| int setSiteLatitude | ( | double | Lat | ) |
| int setSiteLongitude | ( | double | Long | ) |
| int setSiteName | ( | char * | siteName, | |
| int | siteNum | |||
| ) |
| int setSlewMode | ( | int | slewMode | ) |
| int setStandardProcedure | ( | char * | writeData | ) |
| int setTrackFreq | ( | double | trackF | ) |
| int setUTCOffset | ( | double | hours | ) |
| int Slew | ( | ) |
| int Sync | ( | char * | matchedObject | ) |
| int testAP | ( | ) |
| int testTelescope | ( | ) |
| int updateSkyCommanderCoord | ( | double * | ra, | |
| double * | dec | |||
| ) |
KDE 3.5 API Reference