123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- //============================================================================//
- // ProjectName : AeroSDK
- // FileName : AerosdkError.h
- // Outline : Error Code
- // Copyright (C) 2011 KONICA MINOLTA, INC. All rights reserved.
- //============================================================================//
- // Warnning Error
- #define AEROSDK_WARN_RETRY 101 // Start the connection retry
- // Error Code of AeroSDK Common
- #define AEROSDK_ERROR_PARAM 40001 // [User-induced] Bad parameter - Invalid argument value
- #define AEROSDK_ERROR_NOOPEN 40002 // [User-induced] SDK is not opened
- #define AEROSDK_ERROR_OPEN_ALREADY 40003 // [User-induced] SDK open error - multiple SDK open
- #define AEROSDK_ERROR_NOOPENPANEL 40004 // [User-induced] Panel is not opened
- #define AEROSDK_ERROR_NOOPENXGBOX 40005 // [User-induced] XGBOX is not opened
- #define AEROSDK_ERROR_UNSUPPORT 40006 // [User-induced] Function is not supported
- #define AEROSDK_ERROR_VERSION 40007 // [Hard-induced] F/W version mismatch
- #define AEROSDK_ERROR_AEROSDKINIFILE_NOTFOUND 40008 // [Setup-induced] File not found (AerosdkSetting.ini)
- #define AEROSDK_ERROR_AEROSDKINIFILE_GENERAL 40009 // [Setup-induced] Parameter read error - AerosdkSetting.ini:"General"(General timeout value)
- #define AEROSDK_ERROR_AEROSDKINIFILE_WIREPORTNO 40010 // [Setup-induced] Parameter read error - AerosdkSetting.ini:"WirePortNo"(Port number for Auto Tracking Info)
- #define AEROSDK_ERROR_AEROSDKINIFILE_SAMETIMECONNECTCOUNT 40011 // [Setup-induced] Parameter read error - AerosdkSetting.ini:"SameTimeConnectionCount"(Max No. of simultaneous Panel connections in Auto Tracking mode)
- #define AEROSDK_ERROR_IMAGENO_INCOMPATIBLE 40012 // [Setup-induced] Image number mismatch
- #define AEROSDK_ERROR_AEROSDKINIFILE_FILEPATH 40013 // [User-induced] File open error (AerosdkSetting.ini) - requires full path name
- #define AEROSDK_ERROR_SDKLOG_FILEPATH 40014 // [User-induced] File open error (Aerosdk log file) - requires full path name
- #define AEROSDK_ERROR_AUTOTRACKING_NOOPEN 40015 // [User-induced] GetPeripheralId() or SetSsid() was called in the auto-tracking mode OFF
- #define AEROSDK_ERROR_AUTOTRACKING_NO_PANELID 40016 // [User-induced] GetPeripheralId() or SetSsid() was called using a bad panel ID
- #define AEROSDK_ERROR_EXCEPTION 40017 // [User-induced] Exception Error
- #define AEROSDK_ERROR_UNAVAILABLE 40018 // [User-induced] API is unavailable
- // Error Code of AeroSDK PANEL Control
- #define AEROSDK_ERROR_CREATEOBJECT 50001 // [SDK-induced ] Memory allocation failure
- #define AEROSDK_ERROR_INITIALIZEOBJECT 50002 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_SEQUENCE_NOT_READY 50003 // [User-induced] This API function cannot be called in current sequence
- #define AEROSDK_ERROR_IMAGEDATA_EXIST 50004 // [User-induced] Failed to start sequence - Image data remains in the panel
- #define AEROSDK_ERROR_IMAGEDATA_NOT_EXIST 50005 // [User-induced] No image data in the panel or inside the SDK
- #define AEROSDK_CALLBACK_TIMEOUT 50006 // [SDK-induced ] Panel timeout error - no response from the Panel
- #define AEROSDK_ERROR_GET_PANEL_ID 50007 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_PANEL_INIFILE_NOTFOUND 50008 // [Setup-induced] File open error (AerosdkPanelSetting.ini)
- #define AEROSDK_ERROR_PANEL_INIFILE_WIRE_IP 50009 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wired IP address
- #define AEROSDK_ERROR_PANEL_INIFILE_WIRE_PORT 50010 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wired Port number
- #define AEROSDK_ERROR_PANEL_INIFILE_WIRELESS_IP 50011 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wireless IP address
- #define AEROSDK_ERROR_PANEL_INIFILE_WIRELESS_PORT 50012 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wireless Port number
- #define AEROSDK_ERROR_REQUESTBUSY_SEQUENCE 50013 // [User-induced] Bad timing - API function cannot be called because a sequence is currently being executed
- #define AEROSDK_ERROR_PANEL_CONNECT_COUNT_MAX_OVER 50014 // [User-induced] Panel open error - maximum number of simultaneous panel connections was exceeded
- #define AEROSDK_ERROR_PANEL_OPEN_ALREADY 50015 // [User-induced] Panel open error - panel is already open
- #define AEROSDK_ERROR_IMAGENO_ERROR 50016 // [User-induced] Image acquisition error -Image number is 0 is specified, or no image data with that image number
- #define AEROSDK_ERROR_KMFLOG_FILEPATH 50017 // [User-induced] File open error (Panel log file) - requires full path name
- #define AEROSDK_ERROR_PANEL_DATAFILE_FILEPATH 50018 // [User-induced] File open error (Config.ini) - requires full path name
- #define AEROSDK_ERROR_PANEL_SETTING_FILEPATH 50019 // [User-induced] File open error (AerosdkPanelSetting.ini) - requires full path name
- #define AEROSDK_ERROR_PANEL_FWLOG_FILEPATH 50020 // [User-induced] File open error (Panel F/W log file) - requires full path name
- #define AEROSDK_ERROR_PANEL_FWUPDATE_FILEPATH 50021 // [User-induced] File open error (Panel F/W update file) - requires full path name
- #define AEROSDK_ERROR_PANEL_FWUPDATE_ERROR 50022 // [User-induced] Panel F/W update error - error detected during the update sequence
- #define AEROSDK_ERROR_ATTRIBUTE 50023 // [Setup-induced] Panel open error - attribute mismatch
- #define AEROSDK_ERROR_PANEL_READY_TIMEOUT 50024 // [Operate-induced] Panel timeout error - too long in status "Ready"
- #define AEROSDK_ERROR_PANEL_IMAGE_TRANSFER 50025 // [Hard/Operate-induced] Image data transfer error
- #define AEROSDK_ERROR_PANEL_HARD_TROUBLE 50026 // [Hard-induced] Panel H/W error
- #define AEROSDK_ERROR_PANEL_STATUS_UNKNOWN 50027 // [Hard-induced] Panel status unknown
- #define AEROSDK_ERROR_PANEL_DISCONNECT 50028 // [User-induced] Panel is disconnected
- #define AEROSDK_ERROR_PANEL_NO_IMAGE 50029 // [Hard-induced] No image data in the panel or exposure mode changed
- #define AEROSDK_ERROR_PANEL_STATUS 50030 // [User-induced] Panel Status Error
- #define AEROSDK_ERROR_PANEL_KMF_COMMUNICATION 50031 // [Hard-induced] KMF communication error
- // Error Code of AeroSDK XGBOX Control
- #define AEROSDK_ERROR_XGBOX_INIFILE_FILENAME 60001 // [Setup-induced] File open error (XgboxSetting.ini) - full path name is too long
- #define AEROSDK_ERROR_XGBOX_INIFILE_READ 60002 // [Setup-induced] File open error (XgboxSetting.ini)
- #define AEROSDK_ERROR_XGBOX_INIFILE_IP 60003 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX IP address
- #define AEROSDK_ERROR_XGBOX_INIFILE_PORT 60004 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX Port number
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER1 60005 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer1
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER2 60006 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer2
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER3 60007 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer3
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER4 60008 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer4
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER5 60009 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer5
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER6 60011 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer6
- #define AEROSDK_ERROR_XGBOX_FWLOG_FILENAME 60012 // [User-induced] File open error (XGBOX F/W log file) - full path name is too long
- #define AEROSDK_ERROR_XGBOX_CREATE_ECB 60013 // [SDK-induced ] Memory allocation failure for XGBOX
- #define AEROSDK_ERROR_XGBOX_FW_FILE 60014 // [User-induced] File open error (XGBOX F/W update file) - full path name is too long
- #define AEROSDK_ERROR_XGBOX_UPGRADE 60015 // [Hard-induced] XGBOX F/W update error - failed to update F/W
- #define AEROSDK_ERROR_XGBOX_FW_FILE_OPEN 60016 // [User-induced] File open error (XGBOX F/W update file) - failed to open
- #define AEROSDK_ERROR_XGBOX_CONNECT 60017 // [Hard-induced] XGBOX connection error - failed to open AeroSDK/XGBOX connection
- #define AEROSDK_ERROR_XGBOX_DISCONNECT 60018 // [Hard-induced] XGBOX connection error - failed to close AeroSDK/XGBOX connection
- #define AEROSDK_ERROR_XGBOX_SETINITIAL 60019 // [Hard-induced] XGBOX initialize error
- #define AEROSDK_ERROR_XGBOX_GETINFO 60020 // [Hard-induced] XGBOX information acquisition failure
- #define AEROSDK_ERROR_XGBOX_SET_CONSOLEREADY 60021 // [Hard-induced] XGBOX Console Ready / Console Busy failed
- #define AEROSDK_ERROR_XGBOX_FPDCONNECT 60022 // [Hard-induced] XGBOX connection error - failed to open Panel/XGBOX connection
- #define AEROSDK_ERROR_XGBOX_FPDDISCONNECT 60023 // [Hard-induced] XGBOX connection error - failed to close Panel/XGBOX connection
- #define AEROSDK_ERROR_XGBOX_SETDRMODE 60024 // [Hard-induced] XGBOX cannot be configured to DR mode
- #define AEROSDK_ERROR_XGBOX_SETCRMODE 60025 // [Hard-induced] XGBOX cannot be configured to CR mode
- #define AEROSDK_ERROR_XGBOX_SETSHUTDOWN 60026 // [Hard-induced] XGBOX shutdown failure
- #define AEROSDK_ERROR_XGBOX_UNIT_OVER 60027 // [User-induced] XGBOX open error - maximum number of simultaneous XGBOX connections was exceeded
- #define AEROSDK_ERROR_XGBOX_DOUBLE_OPEN 60028 // [User-induced] XGBOX open error - XGBOX is already open
- #define AEROSDK_ERROR_XGBOX_ID 60029 // [User-induced] XGBOX Bad parameter - Invalid XgboxID
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER1_2 60030 // [User-induced] XGBOX Bad parameter - ExposureTimer1 must be less than ten times of ExposureTimer2
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER2_3 60031 // [User-induced] Internal error
- #define AEROSDK_ERROR_XGBOX_GET_FWLOG 60032 // [User-induced] XGBOX F/W log acquisition failure
- #define AEROSDK_ERROR_XGBOX_INIFILE_PATH 60033 // [User-induced] File open error (XgboxSetting.ini) - requires full path name
- #define AEROSDK_ERROR_XGBOX_FWLOGFILE_PATH 60034 // [User-induced] File open error (XGBOX F/W log) - requires full path name
- #define AEROSDK_ERROR_XGBOX_FIRMFILE_PATH 60035 // [User-induced] File open error (XGBOX F/W update file) - requires full path name
- #define AEROSDK_ERROR_XGBOX_UPGRADE_TIMEOUT 60036 // [User-induced] XGBOX F/W Update Hardware Error - Timeout error
- #define AEROSDK_ERROR_XGBOX_UPGRADE_VERSION_UP 60037 // [User-induced] XGBOX F/W Update Hardware Error - Update failure
- #define AEROSDK_ERROR_XGBOX_UPGRADE_READ_FILE 60038 // [User-induced] XGBOX F/W Update Hardware Error - File read error
- #define AEROSDK_ERROR_XGBOX_UPGRADE_CRC 60039 // [User-induced] XGBOX F/W Update Hardware Error - CRC check error
- #define AEROSDK_ERROR_XGBOX_UPGRADE_PROGRAM_SET 60040 // [User-induced] XGBOX F/W Update Hardware Error - Program writing error
- #define AEROSDK_ERROR_XGBOX_UPGRADE_RESET 60041 // [User-induced] XGBOX F/W Update Hardware Error - Reset error
- #define AEROSDK_ERROR_XGBOX_SETINFO 60042 // [User-induced] Internal error
- #define AEROSDK_ERROR_XGBOX_SETLOGLEVEL 60043 // [User-induced] XGBOX log level cannot be changed
- #define AEROSDK_ERROR_XGBOX_SETLOGTIME 60044 // [User-induced] Internal error
- #define AEROSDK_ERROR_XGBOX_EXPOSUREON_TIMEOUT 60045 // [Operate-induced] XGBOX timeout error - too long in SW1 ON
- #define AEROSDK_ERROR_XGBOX_EXPOSUREOFF_TIMEOUT 60046 // [Operate-induced] XGBOX timeout error - too long in SW2 ON after exposure completion
- #define AEROSDK_ERROR_XGBOX_PREPAREOFF_TIMEOUT 60047 // [Operate-induced] XGBOX timeout error - too long in SW1 ON after exposure completion
- #define AEROSDK_ERROR_XGBOX_SWITCH_SEQUENCE 60048 // [Operate-induced] XGBOX SW1 became OFF without exposure
- #define AEROSDK_ERROR_XGBOX_HARD_TROUBLE 60049 // [Hard-induced] XGBOX H/W error
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER7 60050 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer7
- #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER8 60051 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer8
- #define AEROSDK_ERROR_PANEL_GAIN_CALIB_FILE_IO 70001 // [User-induced] Gain Calibration data files update failure
- #define AEROSDK_ERROR_PANEL_GAIN_CALIB_ABNORMAL_XRAYFIELD 70002 // [Operate-induced] Exposure field is too narrow or a foreign object is present
- #define AEROSDK_ERROR_PANEL_GAIN_CALIB_SIGNAL_LOW 70003 // [Operate-induced] Signal value [mAs] is too low
- #define AEROSDK_ERROR_PANEL_GAIN_CALIB_SIGNAL_HIGH 70004 // [Operate-induced] Signal value [mAs] is too high
- #define AEROSDK_ERROR_PANEL_DARK_CALIB 70101 // [User-induced] Error detected during Dark Calibration sequence
- // Error Code of AeroSDK Etcetra Control
- #define AEROSDK_ERROR_ILLEGALSEQUENCE 100001 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_ENTRY_QUEUE 100002 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_QUEUE_DELETE 100003 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_CREATE_EVENT 100004 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_EXECUTE_THREAD 100005 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_WAITEVENT_TIMEOUT 100006 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_WAITEVENT_CREATE 100007 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_INITIALIZE_TIMER 100008 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_OVERFLOW_TIMERID 100009 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_DUAL_TIMERID 100010 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_SOCKET_CREATE 100011 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_SEMAPHORE_CREATE 100012 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_PANEL_CALIBRATION_COUNT_MAX_OVER 100013 // [SDK-induced ] Internal error
- #define AEROSDK_ERROR_OTHERS 100014 // [SDK-induced ] Internal error
|