SCPI Error/Event Queue
975-0200-01-01 5-47
5
Any time the queue overflows, the least recent errors/events remain in the
queue, and the most recent error/event is discarded. The error queue
implemented in the XTR is capable of holding 4 errors.
When the error queue is not empty the error queue bit in the Status
register will be set.
Querying For the Errors
Executing a query of the event queue will respond with the oldest error
currently on the queue. This error is removed. The response format is
discussed in the error/event queue description section.
Command:
[:]SYSTem:ERRor[:EVENt]?
Examples:
SYST:ERR?
SYST:ERR:EVENT?
Responses might be:
-102, "syntax error;”
0, "No Error;"
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:
-102
0