67
Piranha 2 User’s Manual
03-032-00493-14
Teledyne DALSA
C5 Error Handling
Use the
gps
com m an d to read the statu s of the last com m and execu ted . Retu rn valu es
com e in the follow ing ord er:
• Decimal number representing the code of the last comm and.
• Decimal number representing the error code for last command executed.
• Decimal value representing sum of all inform al message codes caused by last
com m and execu ted .
• Decimal number representing sum of all pending warning values from all
m onitoring tasks.
Example: value returned following a ccf command
gps
2 0 192 33
The retu rned valu e, 2 0 192 33, read s as follow s:
Returned value
Description
2
Com m and cod e: correction_calibrate_fp n
0
Error cod e: su ccessfu l
192
Inform al m essage: cod e 64 + cod e 128
33
Monitoring task m essage: cod e 1 + cod e 32
The follow ing tables list the cod es for errors, inform al m essages, and m onitoring task
m essages. (Refer to section E7 for a list of all available com m and s.)
Error Codes
Code Description
Suggested Cause
0
Com m and execu ted su ccessfu lly
Com m and execu ted w ithou t m ajor error
d etected
1
Internal cam era error (PIXEL
IN DEX)
Internal softw are error trap
2
Internal cam era error (RESULT
CODE)
Internal softw are error trap
3
Invalid com m and
Com m and not recognized
4
Com m and p aram eters incorrect
or ou t of range
Com m and p aram eters are invalid or ou t of
range
5
Com m and not available in
cu rrent exp osu re m od e
ssf
and
set
are allow ed only in m od e 2
(
ssf
and
set
) and in m od e 6 (
set
)
6
Com m and available in
CALIBRATED m od e only
ccf
,
ccp
7
Com m and available in
UN CALIBRATED m od e only
cao
,
cag
8
Com m and not available in
VIDEO TEST m od e
sao
,
sg
9
Start valu e m u st be an od d
nu m ber less than the even
nu m bered end valu e
roi
: invalid starting or end ing p ixel ind ex
10
Cam era m em ory check failu re
Mem ory test of external RAM failed
All manuals and user guides at all-guides.com