X2 Standard  Version 1.28
Loading...
Searching...
No Matches
Error Handling

A list of Software Bisque error codes is found in the file sberrorx.h. More...

Macros

#define SB_OK   0
#define ERR_NOERROR   0
#define ERR_COMMNOLINK   200
#define ERR_COMMOPENING   201
#define ERR_COMMSETTINGS   202
#define ERR_NORESPONSE   203
#define ERR_MEMORY   205
#define ERR_CMDFAILED   206
#define ERR_DATAOUT   207
#define ERR_TXTIMEOUT   208
#define ERR_RXTIMEOUT   209
#define ERR_POSTMESSAGE   210
#define ERR_POINTER   211
#define ERR_ABORTEDPROCESS   212
#define ERR_AUTOTERMINATE   213
#define ERR_INTERNETSETTINGS   214
#define ERR_NOLINK   215
#define ERR_DEVICEPARKED   216
#define ERR_DRIVERNOTFOUND   217
#define ERR_LIMITSEXCEEDED   218
#define ERR_COMMANDINPROGRESS   219
#define ERR_CMD_IN_PROGRESS_MODELESSDLG   110
#define ERR_CMD_IN_PROGRESS_DBQRY   111
#define ERR_CMD_IN_PROGRESS_IMGSYS   112
#define ERR_CMD_IN_PROGRESS_FW   113
#define ERR_CMD_IN_PROGRESS_SATTRACK   114
#define ERR_CMD_IN_PROGRESS_CAL_RUN   115
#define ERR_CMD_IN_PROGRESS_THEATER   116
#define ERR_CMD_IN_PROGRESS_FOC   117
#define ERR_CMD_IN_PROGRESS_OTA   118
#define ERR_CMD_IN_PROGRESS_APR   119
#define ERR_CMD_IN_PROGRESS_CAM   120
#define ERR_CMD_IN_PROGRESS_MNT   121
#define ERR_CMD_IN_PROGRESS_CLS   122
#define ERR_CMD_IN_PROGRESS_DOME   123
#define ERR_CMD_IN_PROGRESS_ROT   124
#define ERR_WAITING_CAM_CMD   130
#define ERR_UNEXPECTED_CALLING_THREAD   131
#define ERR_WAITING_FOR_CAM_TEMP   132
#define ERR_EXITING_CAM   133
#define ERR_MISSED_CLOCK_SYNC_TIME   134
#define ERR_FOCUSERNOTHOMED   140
#define ERR_ROTATORNOTHOMED   141
#define ERR_DEVICENOTSUPPORTED   220
#define ERR_NOTPOINT   221
#define ERR_MOUNTNOTSYNCED   222
#define ERR_USERASCLIENT   223
#define ERR_THESKYNOTRUNNING   224
#define ERR_NODEVICESELECTED   225
#define ERR_CANTLAUNCHTHESKY   226
#define ERR_NOTINITIALIZED   227
#define ERR_COMMANDNOTSUPPORTED   228
#define ERR_LX200DESTBELOWHORIZ   229
#define ERR_LX200OUTSIDELIMIT   230
#define ERR_MOUNTNOTHOMED   231
#define ERR_TPOINT_NO_MORE_SAMPLES   232
#define ERR_JOYSTICKING   233
#define ERR_NOPARKPOSITION   234
#define ERR_BADPOINTINGSAMPLE   235
#define ERR_DSSRXTIMEOUT   236
#define ERR_BADSYNCINTOMODEL   237
#define ERR_MOUNT1NOTPARKED   238
#define ERR_MOUNT2NOTPARKED   239
#define ERR_MOUNT3NOTPARKED   240
#define ERR_PROTRACK_REQUIRED   241
#define FLASH_REPROGRAMMED   3015
#define FLASH_NEEDSREPROGRAMMED   3016
#define FIRMWARE_NOT_SUPPORTED   3017
#define FLASH_IN_PROGRAM_MODE   3018
#define FLASH_NOT_IN_PROGRAM_MODE   3019
#define ERR_OBJECTNOTFOUND   250
#define ERR_OBJECTTOOLOW   251
#define ERR_MISSING_NIGHTVISIONMODE_THEME   252
#define ERR_DISPLAY_PROPS_ALREADY_RUNNING   253
#define ERR_THEME_NOT_SAVED   254
#define ERR_NOOBJECTSELECTED   255
#define ERR_BADDOMEGEOMETRY   256
#define ERR_BADPACKET   300
#define ERR_BADCHECKSUM   301
#define ERR_UNKNOWNRESPONSE   302
#define ERR_UNKNOWNCMD   303
#define ERR_BADSEQUENCENUM   304
#define ERR_ENCRYPTION   305
#define ERR_TASHIFT   400
#define ERR_TAACCUM   401
#define ERR_TACENTROID   402
#define ERR_TAREMOVEPEDESTAL   403
#define ERR_TASUBOFFSET   404
#define ERR_TARESIZEIMAGE   405
#define ERR_TACLEARBUF   406
#define ERR_TAFINDMINMAX   407
#define ERR_TASTARBRTDOWN50   408
#define ERR_TAUSERRECTNOTFOUND   409
#define ERR_COMBINE_BPP   500
#define ERR_COMBINE_FILETYPE   501
#define ERR_COMBINE_READTRKLST   502
#define ERR_OUTOFDISKSPACE   503
#define ERR_SATURATEDPIXELS   504
#define ERR_FILEAREREADONLY   505
#define ERR_PATHNOTFOUND   506
#define ERR_FILEMUSTBESAVED   507
#define ERR_FILEISSTALE   508
#define ERR_STARTOODIM1   550
#define ERR_STARTOODIM2   551
#define ERR_STARTOODIM3   552
#define ERR_STARTOODIM4   553
#define ERR_MOVEMENTTOOSMALL1   554
#define ERR_MOVEMENTTOOSMALL2   555
#define ERR_MOVEMENTTOOSMALL3   556
#define ERR_MOVEMENTTOOSMALL4   557
#define ERR_STARTOOCLOSETOEDGE1   558
#define ERR_STARTOOCLOSETOEDGE2   559
#define ERR_STARTOOCLOSETOEDGE3   560
#define ERR_STARTOOCLOSETOEDGE4   561
#define ERR_AXISNOTPERPENDICULAR1   562
#define ERR_AXISNOTPERPENDICULAR2   563
#define ERR_BOTHAXISDISABLED   564
#define ERR_RECALIBRATE   565
#define ERR_NOBRIGHTOBJECTFOUND   566
#define ERR_INSUFFICIENTCORRELATION   567
#define ERR_ROTATORCONNECTED   568
#define ENUM_ERR_ROTATORDISCONNECTED   569
#define ERR_IMAGESIZECHANGED   570
#define ENUM_ERR_PARAMOUNT_SYNC_NOT_REQ   572
#define ENUM_ERR_PEC_FIT   573
#define ENUM_ERR_PEC_AFTER_WORSE   574
#define ERR_DSSNAMETOLONG   600
#define ERR_DSSNOTINITED   601
#define ERR_DSSSYSERROR   602
#define ERR_DSSWRONGDISK   603
#define ERR_DSSNOIMAGE   604
#define ERR_DSSINVALIDCOORDINATE   605
#define ERR_DSSINVALIDSIZE   606
#define ERR_API_CPP_OLD   607
#define ERR_DSSCDROM   608
#define ERR_DSSHEADERSPATH   609
#define ERR_DSSNODSSDISK   610
#define ERR_DSSNOTINSURVEY   611
#define ERR_SE_INTERNAL_ERROR   612
#define ERR_SEC_KEY   613
#define ERR_ILINK_NOSCALE   650
#define ERR_ILINK_TOOFEWBMP   651
#define ERR_ILINK_TOOFEWSKY   652
#define ERR_ILINK_NOMATCHFOUND   653
#define ERR_ILINK_NOIMAGE   654
#define ERR_ILINK_ERR_ASTROM_SOLN_FAILED   655
#define ERR_ILINK_TOO_FEW_PAIRS   656
#define ERR_ILINK_INVALID_SCALE   657
#define ERR_ILINK_SOLN_QUESTIONABLE   658
#define ERR_ILINK_RMS_POOR   659
#define ERR_ILINK_WRITING_INTERMEDIATE_FILE   660
#define ERR_ILINK_TOO_MANY_OBJECTS   661
#define ERR_ILINK_REQUIRED   662
#define ERR_SKIPIMAGE   700
#define ERR_BADFORMAT   701
#define ERR_OPENINGFILE   702
#define ERR_FEATURENAINLEVEL   703
#define ERR_SOCKETEXCEPTION   704
#define ERR_CANTCREATETHREAD   705
#define ERR_F_DOESNOTEXIST   709
#define ERR_F_ACCESS_WRITE   707
#define ERR_F_ACCESS_READ   706
#define ERR_F_ACCESS_RW   708
#define ERR_OPENGL_NOT_COMPAT   711
#define ERR_CHANGE_PASSWORD   730
#define ERR_OP_REQUIRES_OPENGL   732
#define ERR_INDEX_OUT_OF_RANGE   733
#define ERR_TRIAL_EXPIRED   734
#define ERR_INVALID_SNUM   735
#define ERR_OP_REQUIRES_OPENGL2PLUS   736
#define ERR_BADWEATHER   737
#define ERR_WEATHERSTATION_NOT_READY1   738
#define ERR_WEATHERSTATION_NOT_READY2   739
#define ERR_WEATHERSTATION_NOT_READY3   740
#define ERR_WEATHERSTATION_NOT_READY4   741
#define ERR_SGSTARBRTDOWN50   800
#define ERR_SGNEXT   801
#define ERR_SGNEXT2   802
#define ERR_MM_DOME_NOT_CONNECTED   805
#define ERR_MM_DOME_NOT_OPEN   806
#define ERR_MNCPFIRSTERROR   900
#define ERR_MNCPLASTERROR   999
#define ERR_AUTOSAVE   1130
#define ERR_UPLOADNOTST6FILE   1150
#define ERR_NOHEADADJNEEDED   1151
#define ERR_NOTCFW6A   1152
#define ERR_NOINTERFACE   1153
#define ERR_CAMERANOTFOUND   1154
#define ERR_BAUDSWITCHFAILED   1155
#define ERR_CANNOTUPLOADDARK   1156
#define ERR_SKIPPINGDARK   1157
#define ERR_SKIPPINGLIGHT   1158
#define ERR_SELFGUIDENA   1159
#define ERR_TRACKLOGNA   1160
#define ERR_AOREQUIREST78   1161
#define ERR_CALIBRATEAONOTON   1162
#define ERR_WRONGCAMERAFOUND   1163
#define ERR_PIXEL_MATH_OPERAND   1164
#define ERR_IMAGE_SIZE   1165
#define ERR_CANNOT_COLORGRAB   1166
#define ERR_WRONGCFWFOUND   1167
#define FILTERNOTFOUND   1168
#define ERR_APOGEECFGNAME   1200
#define ERR_APOGEECFGDATA   1201
#define ERR_APOGEELOAD   1202
#define ERR_APOGEEOPENOFFSET   1220
#define ERR_APOGEEOPENOFFSET1   1221
#define ERR_APOGEEOPENOFFSET2   1222
#define ERR_APOGEEOPENOFFSET3   1223
#define ERR_APOGEEOPENOFFSET4   1224
#define ERR_APOGEEOPENOFFSET5   1225
#define ERR_APOGEEOPENOFFSET6   1226
#define ERR_APOGEEOPENOFFSET7   1227
#define ERR_APOGEEOPENOFFSET8   1228
#define ERR_APOGEEOPENOFFSET9   1229
#define ERR_APOGEEOPENOFFSET10   1230
#define ERR_APOGEEOPENOFFSET11   1231
#define ERR_APOGEEOPENOFFSET12   1232
#define ERR_APOGEEOPENOFFSET13   1233
#define ERR_APOGEEOPENOFFSET14   1234
#define ERR_APOGEEOPENOFFSET15   1235
#define ERR_GPSTFPNOTRUNNING   1300
#define ERR_APPXISRUNNING   1301
#define ERR_IMAGECALWRONGBPP   5000
#define ERR_IMAGECALWRONGSIZE   5001
#define ERR_IMAGECALWRONGBIN   5002
#define ERR_IMAGECALWRONGSUBFRAME   5003
#define ERR_IMAGECALGROUPINUSE   5004
#define ERR_IMAGECALNOSUCHGROUP   5005
#define ERR_IMAGECALNOFRAMES   5006
#define ERR_WRONGBPP   5020
#define ERR_WRONGSIZE   5021
#define ERR_WRONGTYPE   5022
#define ERR_NOIMAGESINFOLDER   5050
#define ERR_NOPATTERNMATCH   5051
#define ERR_NOTFITS   5070
#define ERR_KVW_NOMINIMA   6000
#define ERR_KVW_DETERMINANTZERO   6001
#define ERR_KVW_DIVISIONBYZERO   6002
#define ERR_KVW_NOTENOUGHPOINTS   6003
#define ERR_AF_ERRORFIRST   7000
#define ERR_AF_DIVERGED   7001
#define ERR_AF_UNDERSAMPLED   7003
#define ERR_LT_TARGET_LOST_DEC_TOO_HIGH   7500
#define ERR_LT_TARGET_LOST_CANNOT_TRACK   7501
#define ERR_LT_TARGET_LOST_BELOW_HORIZON   7502
#define ERR_LT_TARGET_NOT_A_SATELLITE   7503
#define ERR_FLICCD_E_FIRST   8000
#define ERR_FLICCD_E_NOTSUPP   8001
#define ERR_FLICCD_E_INVALID_PARAMETER   8002
#define ERR_FLICCD_E_INVALID_COMPORT   8003
#define ERR_FLICCD_E_COMPORT_ERROR   8004
#define ERR_FLICCD_E_FAILED_RESET   8005
#define ERR_FLICCD_E_COMMTIMEOUT   8006
#define ERR_FLICCD_E_BADDATA   8007
#define ERR_FLICCD_E_NOCALIBRATE   8008
#define ERR_FLICCD_E_DEVICE_NOT_CONFIGURED   8009
#define ERR_FLICCD_E_COMMWRITE   8010
#define ERR_FLICCD_E_INVALID_DEVICE   8011
#define ERR_FLICCD_E_FUNCTION_NOT_SUPPORTED   8012
#define ERR_FLICCD_E_BAD_BOUNDS   8013
#define ERR_FLICCD_E_GRABTIMEOUT   8014
#define ERR_FLICCD_E_TODATAHB   8015
#define ERR_FLICCD_E_TODATALB   8016
#define ERR_FLICCD_E_ECPNOTREADY   8017
#define ERR_FLICCD_E_ECPREADTIMEOUTHB   8018
#define ERR_FLICCD_E_ECPREADTIMEOUTLB   8019
#define ERR_FLICCD_E_ECPREADTIMEOUT   8020
#define ERR_FLICCD_E_ECPREVERSETIMEOUT   8021
#define ERR_FLICCD_E_ECPWRITETIMEOUTHB   8022
#define ERR_FLICCD_E_ECPWRITETIMEOUTLB   8023
#define ERR_FLICCD_E_ECPWRITETIMEOUT   8024
#define ERR_FLICCD_E_FORWARDTIMEOUT   8025
#define ERR_FLICCD_E_NOTECP   8026
#define ERR_FLICCD_E_FUNCTIONNOTSUPP   8027
#define ERR_FLICCD_E_NODEVICES   8028
#define ERR_FLICCD_E_WRONGOS   8029
#define ERR_TEMMA_RAERROR   8030
#define ERR_TEMMA_DECERROR   8031
#define ERR_TEMMA_TOOMANYDIGITS   8032
#define ERR_TEMMA_BELOWHORIZON   8033
#define ERR_TEMMA_STANDBYMODE   8034
#define ERR_AP_CLUTCHAWAREERROR   8040
#define ERR_ACLUNDEFINEDERR   1
#define ERR_ACLSYNTAX   2
#define ERR_ACLTYPEMISMATCH   10
#define ERR_ACLRANGE   11
#define ERR_ACLVALREADONLY   12
#define ERR_ACLCMDUNSUPPORTED   13
#define ERR_ACLUNSUPPORTID   14
#define ERR_ACLCMDINACTIVE   15
#define ERR_ACLGOTOILLEGAL   100
#define ERR_ACLGOTOBELOWHRZ   101
#define ERR_ACLGOTOLIMITS   102
#define ERR_NOT_IMPL   11000
#define ERR_NOT_IMPL_IN_MODEL   11001
#define ERR_OPENING_FOVI_FILES   11002
#define ERR_NO_IRIDIUM_SATELLITES   11003
#define ERR_ACCESS_DENIED   11004
#define ERR_ALL_TLES_DATE_REJECTED   11005
#define ERR_SBSCODEBASE   1000
#define ERR_SBIGST7FIRST   30000
#define ERR_SBIGCCCFWFIRST   31000
#define ENUM_ERR_CFISIOFIRST   33000
#define ERR_CUSTOMAPIFIRST   1400
#define ERR_CUSTOMAPILAST   1499
#define ERR_IPLSUITEERR   1500
#define ERR_GDIERR_BASE   1600
#define ERR_SBIGTCEEXTFIRST   1050
#define ERR_SBIGTCEEXTLAST   1099
#define ERR_SBIGSERIALFIRST   1100
#define ERR_SBIGSERIALLAST   1125
#define ERR_MKS_ERROR_FIRST   20000
#define ERR_MKS_ERROR_LAST   25000
#define ERR_SOCKET_ERROR_FIRST   27000
#define ERR_SOCKET_ERROR_LAST   27100
#define ERR_MKS_COMM_BASE   21000
#define ERR_MKS_COMM_OKPACKET   21000
#define ERR_MKS_COMM_NOPACKET   21001
#define ERR_MKS_COMM_TIMEOUT   21002
#define ERR_MKS_COMM_COMMERROR   21003
#define ERR_MKS_COMM_BADCHAR   21004
#define ERR_MKS_COMM_OVERRUN   21005
#define ERR_MKS_COMM_BADCHECKSUM   21006
#define ERR_MKS_COMM_BADLEN   21007
#define ERR_MKS_COMM_BADCOMMAND   21008
#define ERR_MKS_COMM_INITFAIL   21009
#define ERR_MKS_COMM_NACK   21010
#define ERR_MKS_COMM_BADID   21011
#define ERR_MKS_COMM_BADSEQ   21012
#define ERR_MKS_COMM_BADVALCODE   21013
#define ERR_MKS_MAIN_BASE   22000
#define ERR_MKS_MAIN_WRONG_UNIT   22001
#define ERR_MKS_MAIN_BADMOTORINIT   22002
#define ERR_MKS_MAIN_BADMOTORSTATE   22003
#define ERR_MKS_MAIN_BADSERVOSTATE   22004
#define ERR_MKS_MAIN_SERVOBUSY   22005
#define ERR_MKS_MAIN_BAD_PEC_LENGTH   22006
#define ERR_MKS_MAIN_AT_LIMIT   22007
#define ERR_MKS_MAIN_NOT_HOMED   22008
#define ERR_MKS_MAIN_BAD_POINT_ADD   22009
#define ERR_MKS_MAIN_INVALID_PEC   22010
#define ERR_MKS_SLEW_PAST_LIMIT   22011
#define ERR_MKS_MAIN_BAD_CONTROL_CODE   22020
#define ERR_MKS_MAIN_BAD_SYSTEM_ID   22021
#define ERR_MKS_FLASH_BASE   23000
#define ERR_MKS_FLASH_PROGERR   23001
#define ERR_MKS_FLASH_ERASEERR   23002
#define ERR_MKS_FLASH_TIMEOUT   23003
#define ERR_MKS_FLASH_CANT_OPEN_FILE   23004
#define ERR_MKS_FLASH_BAD_FILE   23005
#define ERR_MKS_FLASH_FILE_READ_ERR   23006
#define ERR_MKS_FLASH_BADVALID   23007
#define ERR_MKS_FLASH_INVALID_SECTION   23008
#define ERR_MKS_FLASH_INVALID_ADDRESS   23009
#define ERR_MKS_MOTOR_BASE   24000
#define ERR_MKS_MOTOR_OK   24000
#define ERR_MKS_MOTOR_OVERCURRENT   24001
#define ERR_MKS_MOTOR_POSERRORLIM   24002
#define ERR_MKS_MOTOR_STILL_ON   24003
#define ERR_MKS_MOTOR_NOT_ON   24004
#define ERR_MKS_MOTOR_STILL_MOVING   24005
#define ERR_MKS_MOTOR_FIELD_TIMEOUT   24006
#define ERR_MKS_MOTOR_BAD_CONTROL_STATE   24007
#define ERR_MKS_MOTOR_BAD_SERVO_STATE   24005
#define ERR_GEMINI_OBJECT_BELOW_HORIZON   275
#define ERR_GEMINI_NO_OBJECT_SELECTED   276
#define ERR_GEMINI_MANUAL_CONTROL   277
#define ERR_GEMINI_POSITION_UNREACHABLE   278
#define ERR_GEMINI_NOT_ALIGNED   279
#define ERR_GEMINI_OUTSIDE_LIMITS   280
#define ERR_GEMINI_VERSION_NOT_SUPPORTED   281
#define ERR_VIXEN_UNKNOWN   290
#define ERR_VIXEN_URLNOTSET   291
#define ERR_VIXEN_STATUSINVALID   292
#define ERR_VIXEN_STATUSNOTAVAILABLE   293
#define ERR_VIXEN_ILLEGALSTATE   294
#define ERR_VIXEN_SETRADECERROR   295
#define ERR_VIXEN_INVALIDFORMAT   296
#define ERR_VIXEN_BELOWHORIZON   297
#define ERR_VIXEN_HOMEERROR   298
#define ERR_OPEN_NV_THEME   11101
#define ERR_OPEN_STANDARD_THEME   11102
#define ERR_INVALID_DATA   11103
#define ERR_IOPTRON_SLEWERROR   310

Detailed Description

A list of Software Bisque error codes is found in the file sberrorx.h.

Under X2, all methods return an error code. Return a value of zero on success (no error), otherwise return an error code from the list that best matches the situation. Try to avoid overusing generic codes like ERR_CMDFAILED when possible.

X2 Examples
(C) 2026 Software Bisque, Inc. All rights reserved.