IBM ECS-320A 사용자 설명서

다운로드
페이지 63
S
ERIAL 
I
NTERFACE 
D
EVELOPERS 
G
UIDE
 
 
/* Calibration and Defect Communication Status Enumerations */ 
enum 

 
HOST_READY = 0xFFFF, 
 
BEGIN_PROCESS = 0, 
 CAL_PLACE_COLD_REF, 
 CAL_COLD_REF_IN_PLACE, 
 CAL_PLACE_HOT_REF, 
 CAL_HOT_REF_IN_PLACE, 
 CAL_DELTA_TOO_SMALL, 
 CAL_COMPLETED, 
 CAL_CALC_COEFFICIENTS, 
 DEFECT_TOO_MANY, 
 DEFECT_ERASE_FLASH, 
 DEFECT_ERASE_ACK, 
 DEFECT_COMPLETED, 
 UNIFORMITY_TEST_IN_PROGRESS, 
 NUC_FLASH_PROGRAMMED, 
 
 HOST_UNDEFINED 
}; 
7.1 One Point Refresh Calibration (Internal Flag): 
(A) 
T
Send 
T
CMD_ONE_PT_REFRESH
T
 command with argument for using internal calibration flag. 
(B) 
T
Embedded application will set the 
T
status code to BEGIN_PROCESS, and then begin execution of 
the calibration.
T
 
(C)  Host may monitor (periodically read) the status code data member until it is set by the embedded 
application to CAL_COMPLETED. 
(D)  Calibration is complete 
7.2 One Point Refresh Calibration (External Flag): 
(A)  Send CMD_ONE_PT_REFRESH command with argument for using external calibration flag. 
(B)  Embedded application will set the status code to BEGIN_PROCESS, and then begin execution of 
the calibration. 
(C)  Host will monitor (periodically read) the status code data member until it is set by the embedded 
application to CAL_PLACE_COLD_REF. 
(D)  Host/User automatically or manually places the cold reference in the sensor field of view. 
(E)  Host application sets the status code to CAL_COLD_REF_IN_PLACE. 
(F)  Host will monitor the status code data member until it is set by the embedded application to 
CAL_CALC_COEFFICIENTS or CAL_COMPLETED. 
(G) The host/user may now remove the cold reference if desired. 
(H)  Calibration is complete 
7.3 One Point Update Calibration (Internal Flag): 
(A)  Send CMD_ONE_PT_UPDATE command with argument for using internal calibration flag. 
(B)  Embedded application will set the status code to BEGIN_PROCESS, and then begin execution of 
the calibration. 
(C)  Host will monitor (periodically read) the status code data member until it is set by the embedded 
application to CAL_COMPLETED. 
(D)  Read the “CameraConfig.camStats.HostData” member to retrieve number of defects if desired. 
39