: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 | Response |
---|---|
:SYSTem:ERRor:ALL |
<error 1 >,...,<error N > |
Response value | meaning |
---|---|
<error 1 >,... |
1st error |
<error N > |
Nth error |
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
Input:
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":SYST:ERR:ALL?\n"); Console.WriteLine(visaSession.RawIO.ReadString());
Output:
0,"No error"
Related commands
:SYSTem:ERRor[:NEXT]?