AerosdkError.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. //============================================================================//
  2. // ProjectName : AeroSDK
  3. // FileName : AerosdkError.h
  4. // Outline : Error Code
  5. // Copyright (C) 2011 KONICA MINOLTA, INC. All rights reserved.
  6. //============================================================================//
  7. // Warnning Error
  8. #define AEROSDK_WARN_RETRY 101 // Start the connection retry
  9. // Error Code of AeroSDK Common
  10. #define AEROSDK_ERROR_PARAM 40001 // [User-induced] Bad parameter - Invalid argument value
  11. #define AEROSDK_ERROR_NOOPEN 40002 // [User-induced] SDK is not opened
  12. #define AEROSDK_ERROR_OPEN_ALREADY 40003 // [User-induced] SDK open error - multiple SDK open
  13. #define AEROSDK_ERROR_NOOPENPANEL 40004 // [User-induced] Panel is not opened
  14. #define AEROSDK_ERROR_NOOPENXGBOX 40005 // [User-induced] XGBOX is not opened
  15. #define AEROSDK_ERROR_UNSUPPORT 40006 // [User-induced] Function is not supported
  16. #define AEROSDK_ERROR_VERSION 40007 // [Hard-induced] F/W version mismatch
  17. #define AEROSDK_ERROR_AEROSDKINIFILE_NOTFOUND 40008 // [Setup-induced] File not found (AerosdkSetting.ini)
  18. #define AEROSDK_ERROR_AEROSDKINIFILE_GENERAL 40009 // [Setup-induced] Parameter read error - AerosdkSetting.ini:"General"(General timeout value)
  19. #define AEROSDK_ERROR_AEROSDKINIFILE_WIREPORTNO 40010 // [Setup-induced] Parameter read error - AerosdkSetting.ini:"WirePortNo"(Port number for Auto Tracking Info)
  20. #define AEROSDK_ERROR_AEROSDKINIFILE_SAMETIMECONNECTCOUNT 40011 // [Setup-induced] Parameter read error - AerosdkSetting.ini:"SameTimeConnectionCount"(Max No. of simultaneous Panel connections in Auto Tracking mode)
  21. #define AEROSDK_ERROR_IMAGENO_INCOMPATIBLE 40012 // [Setup-induced] Image number mismatch
  22. #define AEROSDK_ERROR_AEROSDKINIFILE_FILEPATH 40013 // [User-induced] File open error (AerosdkSetting.ini) - requires full path name
  23. #define AEROSDK_ERROR_SDKLOG_FILEPATH 40014 // [User-induced] File open error (Aerosdk log file) - requires full path name
  24. #define AEROSDK_ERROR_AUTOTRACKING_NOOPEN 40015 // [User-induced] GetPeripheralId() or SetSsid() was called in the auto-tracking mode OFF
  25. #define AEROSDK_ERROR_AUTOTRACKING_NO_PANELID 40016 // [User-induced] GetPeripheralId() or SetSsid() was called using a bad panel ID
  26. #define AEROSDK_ERROR_EXCEPTION 40017 // [User-induced] Exception Error
  27. #define AEROSDK_ERROR_UNAVAILABLE 40018 // [User-induced] API is unavailable
  28. // Error Code of AeroSDK PANEL Control
  29. #define AEROSDK_ERROR_CREATEOBJECT 50001 // [SDK-induced ] Memory allocation failure
  30. #define AEROSDK_ERROR_INITIALIZEOBJECT 50002 // [SDK-induced ] Internal error
  31. #define AEROSDK_ERROR_SEQUENCE_NOT_READY 50003 // [User-induced] This API function cannot be called in current sequence
  32. #define AEROSDK_ERROR_IMAGEDATA_EXIST 50004 // [User-induced] Failed to start sequence - Image data remains in the panel
  33. #define AEROSDK_ERROR_IMAGEDATA_NOT_EXIST 50005 // [User-induced] No image data in the panel or inside the SDK
  34. #define AEROSDK_CALLBACK_TIMEOUT 50006 // [SDK-induced ] Panel timeout error - no response from the Panel
  35. #define AEROSDK_ERROR_GET_PANEL_ID 50007 // [SDK-induced ] Internal error
  36. #define AEROSDK_ERROR_PANEL_INIFILE_NOTFOUND 50008 // [Setup-induced] File open error (AerosdkPanelSetting.ini)
  37. #define AEROSDK_ERROR_PANEL_INIFILE_WIRE_IP 50009 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wired IP address
  38. #define AEROSDK_ERROR_PANEL_INIFILE_WIRE_PORT 50010 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wired Port number
  39. #define AEROSDK_ERROR_PANEL_INIFILE_WIRELESS_IP 50011 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wireless IP address
  40. #define AEROSDK_ERROR_PANEL_INIFILE_WIRELESS_PORT 50012 // [Setup-induced] Parameter read error - AerosdkPanelSetting.ini: Wireless Port number
  41. #define AEROSDK_ERROR_REQUESTBUSY_SEQUENCE 50013 // [User-induced] Bad timing - API function cannot be called because a sequence is currently being executed
  42. #define AEROSDK_ERROR_PANEL_CONNECT_COUNT_MAX_OVER 50014 // [User-induced] Panel open error - maximum number of simultaneous panel connections was exceeded
  43. #define AEROSDK_ERROR_PANEL_OPEN_ALREADY 50015 // [User-induced] Panel open error - panel is already open
  44. #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
  45. #define AEROSDK_ERROR_KMFLOG_FILEPATH 50017 // [User-induced] File open error (Panel log file) - requires full path name
  46. #define AEROSDK_ERROR_PANEL_DATAFILE_FILEPATH 50018 // [User-induced] File open error (Config.ini) - requires full path name
  47. #define AEROSDK_ERROR_PANEL_SETTING_FILEPATH 50019 // [User-induced] File open error (AerosdkPanelSetting.ini) - requires full path name
  48. #define AEROSDK_ERROR_PANEL_FWLOG_FILEPATH 50020 // [User-induced] File open error (Panel F/W log file) - requires full path name
  49. #define AEROSDK_ERROR_PANEL_FWUPDATE_FILEPATH 50021 // [User-induced] File open error (Panel F/W update file) - requires full path name
  50. #define AEROSDK_ERROR_PANEL_FWUPDATE_ERROR 50022 // [User-induced] Panel F/W update error - error detected during the update sequence
  51. #define AEROSDK_ERROR_ATTRIBUTE 50023 // [Setup-induced] Panel open error - attribute mismatch
  52. #define AEROSDK_ERROR_PANEL_READY_TIMEOUT 50024 // [Operate-induced] Panel timeout error - too long in status "Ready"
  53. #define AEROSDK_ERROR_PANEL_IMAGE_TRANSFER 50025 // [Hard/Operate-induced] Image data transfer error
  54. #define AEROSDK_ERROR_PANEL_HARD_TROUBLE 50026 // [Hard-induced] Panel H/W error
  55. #define AEROSDK_ERROR_PANEL_STATUS_UNKNOWN 50027 // [Hard-induced] Panel status unknown
  56. #define AEROSDK_ERROR_PANEL_DISCONNECT 50028 // [User-induced] Panel is disconnected
  57. #define AEROSDK_ERROR_PANEL_NO_IMAGE 50029 // [Hard-induced] No image data in the panel or exposure mode changed
  58. #define AEROSDK_ERROR_PANEL_STATUS 50030 // [User-induced] Panel Status Error
  59. #define AEROSDK_ERROR_PANEL_KMF_COMMUNICATION 50031 // [Hard-induced] KMF communication error
  60. // Error Code of AeroSDK XGBOX Control
  61. #define AEROSDK_ERROR_XGBOX_INIFILE_FILENAME 60001 // [Setup-induced] File open error (XgboxSetting.ini) - full path name is too long
  62. #define AEROSDK_ERROR_XGBOX_INIFILE_READ 60002 // [Setup-induced] File open error (XgboxSetting.ini)
  63. #define AEROSDK_ERROR_XGBOX_INIFILE_IP 60003 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX IP address
  64. #define AEROSDK_ERROR_XGBOX_INIFILE_PORT 60004 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX Port number
  65. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER1 60005 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer1
  66. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER2 60006 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer2
  67. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER3 60007 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer3
  68. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER4 60008 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer4
  69. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER5 60009 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer5
  70. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER6 60011 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer6
  71. #define AEROSDK_ERROR_XGBOX_FWLOG_FILENAME 60012 // [User-induced] File open error (XGBOX F/W log file) - full path name is too long
  72. #define AEROSDK_ERROR_XGBOX_CREATE_ECB 60013 // [SDK-induced ] Memory allocation failure for XGBOX
  73. #define AEROSDK_ERROR_XGBOX_FW_FILE 60014 // [User-induced] File open error (XGBOX F/W update file) - full path name is too long
  74. #define AEROSDK_ERROR_XGBOX_UPGRADE 60015 // [Hard-induced] XGBOX F/W update error - failed to update F/W
  75. #define AEROSDK_ERROR_XGBOX_FW_FILE_OPEN 60016 // [User-induced] File open error (XGBOX F/W update file) - failed to open
  76. #define AEROSDK_ERROR_XGBOX_CONNECT 60017 // [Hard-induced] XGBOX connection error - failed to open AeroSDK/XGBOX connection
  77. #define AEROSDK_ERROR_XGBOX_DISCONNECT 60018 // [Hard-induced] XGBOX connection error - failed to close AeroSDK/XGBOX connection
  78. #define AEROSDK_ERROR_XGBOX_SETINITIAL 60019 // [Hard-induced] XGBOX initialize error
  79. #define AEROSDK_ERROR_XGBOX_GETINFO 60020 // [Hard-induced] XGBOX information acquisition failure
  80. #define AEROSDK_ERROR_XGBOX_SET_CONSOLEREADY 60021 // [Hard-induced] XGBOX Console Ready / Console Busy failed
  81. #define AEROSDK_ERROR_XGBOX_FPDCONNECT 60022 // [Hard-induced] XGBOX connection error - failed to open Panel/XGBOX connection
  82. #define AEROSDK_ERROR_XGBOX_FPDDISCONNECT 60023 // [Hard-induced] XGBOX connection error - failed to close Panel/XGBOX connection
  83. #define AEROSDK_ERROR_XGBOX_SETDRMODE 60024 // [Hard-induced] XGBOX cannot be configured to DR mode
  84. #define AEROSDK_ERROR_XGBOX_SETCRMODE 60025 // [Hard-induced] XGBOX cannot be configured to CR mode
  85. #define AEROSDK_ERROR_XGBOX_SETSHUTDOWN 60026 // [Hard-induced] XGBOX shutdown failure
  86. #define AEROSDK_ERROR_XGBOX_UNIT_OVER 60027 // [User-induced] XGBOX open error - maximum number of simultaneous XGBOX connections was exceeded
  87. #define AEROSDK_ERROR_XGBOX_DOUBLE_OPEN 60028 // [User-induced] XGBOX open error - XGBOX is already open
  88. #define AEROSDK_ERROR_XGBOX_ID 60029 // [User-induced] XGBOX Bad parameter - Invalid XgboxID
  89. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER1_2 60030 // [User-induced] XGBOX Bad parameter - ExposureTimer1 must be less than ten times of ExposureTimer2
  90. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER2_3 60031 // [User-induced] Internal error
  91. #define AEROSDK_ERROR_XGBOX_GET_FWLOG 60032 // [User-induced] XGBOX F/W log acquisition failure
  92. #define AEROSDK_ERROR_XGBOX_INIFILE_PATH 60033 // [User-induced] File open error (XgboxSetting.ini) - requires full path name
  93. #define AEROSDK_ERROR_XGBOX_FWLOGFILE_PATH 60034 // [User-induced] File open error (XGBOX F/W log) - requires full path name
  94. #define AEROSDK_ERROR_XGBOX_FIRMFILE_PATH 60035 // [User-induced] File open error (XGBOX F/W update file) - requires full path name
  95. #define AEROSDK_ERROR_XGBOX_UPGRADE_TIMEOUT 60036 // [User-induced] XGBOX F/W Update Hardware Error - Timeout error
  96. #define AEROSDK_ERROR_XGBOX_UPGRADE_VERSION_UP 60037 // [User-induced] XGBOX F/W Update Hardware Error - Update failure
  97. #define AEROSDK_ERROR_XGBOX_UPGRADE_READ_FILE 60038 // [User-induced] XGBOX F/W Update Hardware Error - File read error
  98. #define AEROSDK_ERROR_XGBOX_UPGRADE_CRC 60039 // [User-induced] XGBOX F/W Update Hardware Error - CRC check error
  99. #define AEROSDK_ERROR_XGBOX_UPGRADE_PROGRAM_SET 60040 // [User-induced] XGBOX F/W Update Hardware Error - Program writing error
  100. #define AEROSDK_ERROR_XGBOX_UPGRADE_RESET 60041 // [User-induced] XGBOX F/W Update Hardware Error - Reset error
  101. #define AEROSDK_ERROR_XGBOX_SETINFO 60042 // [User-induced] Internal error
  102. #define AEROSDK_ERROR_XGBOX_SETLOGLEVEL 60043 // [User-induced] XGBOX log level cannot be changed
  103. #define AEROSDK_ERROR_XGBOX_SETLOGTIME 60044 // [User-induced] Internal error
  104. #define AEROSDK_ERROR_XGBOX_EXPOSUREON_TIMEOUT 60045 // [Operate-induced] XGBOX timeout error - too long in SW1 ON
  105. #define AEROSDK_ERROR_XGBOX_EXPOSUREOFF_TIMEOUT 60046 // [Operate-induced] XGBOX timeout error - too long in SW2 ON after exposure completion
  106. #define AEROSDK_ERROR_XGBOX_PREPAREOFF_TIMEOUT 60047 // [Operate-induced] XGBOX timeout error - too long in SW1 ON after exposure completion
  107. #define AEROSDK_ERROR_XGBOX_SWITCH_SEQUENCE 60048 // [Operate-induced] XGBOX SW1 became OFF without exposure
  108. #define AEROSDK_ERROR_XGBOX_HARD_TROUBLE 60049 // [Hard-induced] XGBOX H/W error
  109. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER7 60050 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer7
  110. #define AEROSDK_ERROR_XGBOX_INIFILE_EXPOSURE_TIMER8 60051 // [Setup-induced] Parameter read error - XgboxSetting.ini: XGBOX ExposureTimer8
  111. #define AEROSDK_ERROR_PANEL_GAIN_CALIB_FILE_IO 70001 // [User-induced] Gain Calibration data files update failure
  112. #define AEROSDK_ERROR_PANEL_GAIN_CALIB_ABNORMAL_XRAYFIELD 70002 // [Operate-induced] Exposure field is too narrow or a foreign object is present
  113. #define AEROSDK_ERROR_PANEL_GAIN_CALIB_SIGNAL_LOW 70003 // [Operate-induced] Signal value [mAs] is too low
  114. #define AEROSDK_ERROR_PANEL_GAIN_CALIB_SIGNAL_HIGH 70004 // [Operate-induced] Signal value [mAs] is too high
  115. #define AEROSDK_ERROR_PANEL_DARK_CALIB 70101 // [User-induced] Error detected during Dark Calibration sequence
  116. // Error Code of AeroSDK Etcetra Control
  117. #define AEROSDK_ERROR_ILLEGALSEQUENCE 100001 // [SDK-induced ] Internal error
  118. #define AEROSDK_ERROR_ENTRY_QUEUE 100002 // [SDK-induced ] Internal error
  119. #define AEROSDK_ERROR_QUEUE_DELETE 100003 // [SDK-induced ] Internal error
  120. #define AEROSDK_ERROR_CREATE_EVENT 100004 // [SDK-induced ] Internal error
  121. #define AEROSDK_ERROR_EXECUTE_THREAD 100005 // [SDK-induced ] Internal error
  122. #define AEROSDK_ERROR_WAITEVENT_TIMEOUT 100006 // [SDK-induced ] Internal error
  123. #define AEROSDK_ERROR_WAITEVENT_CREATE 100007 // [SDK-induced ] Internal error
  124. #define AEROSDK_ERROR_INITIALIZE_TIMER 100008 // [SDK-induced ] Internal error
  125. #define AEROSDK_ERROR_OVERFLOW_TIMERID 100009 // [SDK-induced ] Internal error
  126. #define AEROSDK_ERROR_DUAL_TIMERID 100010 // [SDK-induced ] Internal error
  127. #define AEROSDK_ERROR_SOCKET_CREATE 100011 // [SDK-induced ] Internal error
  128. #define AEROSDK_ERROR_SEMAPHORE_CREATE 100012 // [SDK-induced ] Internal error
  129. #define AEROSDK_ERROR_PANEL_CALIBRATION_COUNT_MAX_OVER 100013 // [SDK-induced ] Internal error
  130. #define AEROSDK_ERROR_OTHERS 100014 // [SDK-induced ] Internal error