:SYSTem:ERRor:ALL
Description
Queries the error/event queue for all the unread items and removes
them from the queue. The response is a comma separated list of number, string pairs in FIFO
order. If the queue is empty, the response is 0,"No erro".
Note
If the queue is not empty, the 0,"No error" is not sent.
Syntax
:SYSTem:ERRor:ALL?
| Command | Query | Query Response |
|---|---|---|
| No | Yes | <error 1>,...,<error N> |
N is related to the number of errors currently in the queue.
The errors <error 1> to <error N> itself have the same appearance as defined in :SYSTem:ERRor:NEXT.
Sample usage
response = visaSession.query(':SYST:ERR:ALL?\n')
print(response)
Output
0,"No error"
Related commands
:SYSTem:ERRor:ALL?
:SYSTem:ERRor[:NEXT]?
:SYSTem:ERRor:COUNt?