SYSTem:ERRor?
SYSTem:ERRor?
The
SYSTem:ERRor?
query returns the existing error numbers with
the error messages for the errors in the HP 4284A's error queue.
The HP 4284A's error queue stores errors generated by the
HP 4284A. As errors are generated, they are placed in the error
queue which stores up to ve errors. This is a rst in, rst out queue
(
fifo
).
If the error queue overows, the last error in the queue is replaced
with error
0
350,
"Too many errors"
.Anytime the queue overows,
the least recent errors remain in the queue, and the most recent
errors are discarded.
When all errors have b een read from the queue, further
SYSTem:ERRor?
queries will return error 0,
"no errors"
. Reading
an error from the queue removes that error from the queue, op ening
a position in the queue for a new error, if one is subsequently
generated.
Query Syntax
SYSTem:ERRor?
Query Response
Returned Format is :
<
number
>
,"
<
message
>
"
Where,
<
number
>
NR1 format : error number
For details, refer to Appendix B.
<
message
>
ASCII string : error message
For details, refer to Appendix B.
Example
10 DIM A$[50]
20 FOR I=1 to 5
30 OUTPUT 717;"SYST:ERR?"
40 ENTER 717;A$
50 PRINT A$
60 NEXT I
70 END
Command Reference 8-77