:SYSTem:ERRor:COUNt
Description
This command gets the the number of errors in the error queue. If the queue is empty zero will be retruned. Use :SYSTem:ERRor[:NEXT]? to read an error.
| Syntax | Response |
|---|---|
:SYSTem:ERRor:COUNt? |
<numeric> |
| Response value | meaning |
|---|---|
<numeric> |
the actual number of errors in the error queue |
Sample usage
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":SYST:ERR:COUN?\n"); Console.WriteLine(visaSession.RawIO.ReadString());
Output:
0
response = visaSession.query(':SYST:ERR:COUN?\n') print(response)
Output:
0