SCPI Error/Event Queue
Examples:
SYST:ERR?
SYST:ERR:EVENT?
Responses might be:
Querying For the Error Code Only
It 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:
| |
0 | 5 |
Querying For the Number of Errors in the Queue |
To 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