SCPI Error/Event Queue
M370046-01 5-51
5
Examples:
SYST:ERR?
SYST:ERR:EVENT?
Responses might be:
-102, "syntax error;”
0, "No Error;"
Querying For the Error Code OnlyIt is possible to query for only the error code. When querying the error
code only the response will be the numeric error code only, no additional
description will be given. The error queried will be removed from the
queue.
Command:
[:]SYSTem:ERRor:CODE[:EVENt]?
Example:
:SYST:ERR:CODE?
SYST:ERR:CODE:EVENT?
Responses might be:
-102
0
Querying For the Number of Errors in the QueueTo query the device for the number of errors currently stored in the error
queue you should use the following command.
Command:
[:]SYSTem:ERRor:COUNt?
Example:
:SYST:ERR:COUN?
Response might be:
3