:SYSTem:ERRor[:NEXT]
Description
This command gets the next error or event from the error event queue. If the queue is empty and therefore there is no error to load 0,"No error"
is returned. For further information about the error system please refer to the Error Info Page.
Syntax | Response |
---|---|
:SYSTem:ERRor[:NEXT]? |
<string 1 >,"<string 2 >[;<string 3 >]" |
Response value | meaning |
---|---|
<string 1 > |
error code |
<string 2 > |
error type name |
<string 3 > |
(optional) further error description |
Sample usage
Input:
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":SYST:ERR?\n"); Console.WriteLine(visaSession.RawIO.ReadString());
Output:
0,"No error"
Related commands
:SYSTem:ERRor[:NEXT]?