61 Spyder2 4k User’s Manual
03-032-10195-04 DALSA
C5 Error Handling
Use the gps command to read the status of the last command executed. Return values
come in the following order:
• Decimal number representing the code of the last command.
• Decimal number representing the error code for last command executed.
• Decimal value representing sum of all informal message codes caused by last
command executed.
• Decimal number representing sum of all pending warning values from all monitoring
tasks.
Example: value returned following a ccf command
gps
2 0 192 33
The returned value, 2 0 192 33, reads as follows:
Returned value Description
2 Command code: correction_calibrate_fpn
0 Error code: successful
192 Informal message: code 64 + code 128
33 Monitoring task message: code 1 + code 32
The following tables list the codes for errors, informal messages, and monitoring task
messages. (Refer to section E7 for a list of all available commands.)
Error Codes
Cod
e
Description Suggested Cause
0 Command executed successfully Command executed without major error
detected
1 Internal camera error (PIXEL
INDEX)
Internal software error trap
2 Internal camera error (RESULT
CODE)
Internal software error trap
3 Invalid command Command not recognized
4 Command parameters incorrect
or out of range
Command parameters are invalid or out of
range
5 Command not available in
current exposure mode
ssf and set are allowed only in mode 2
(ssf and set) and in mode 6 (set)
6 Command available in
CALIBRATED mode only
ccf, ccp
7 Command available in
UNCALIBRATED mode only
cao, cag
8 Command not available in
VIDEO TEST mode
sao, sg