Technical data
SYSTem Commands 11
U2761A Programmer’s Reference 113
SYSTem:ERRor?
Syntax
SYSTem:ERRor?
This query returns the next error number and its corresponding message
string from the error queue. The queue is a first-in, first-out (FIFO) buffer
that stores errors as they occur. Errors are cleared as you read them.
Remarks
• If more than 20 errors have occurred, the last error stored in the queue
(the most recent error) is replaced with –350,"Queue overflow".
• If no errors have occurred when you read the error queue, the U2761A
responds with +0,"No error".
• The error queue is cleared by the clear status (*CLS) command or when
power is cycled. The errors are also cleared when you read the queue.
• Refer to Chapter 16, “Error Messages” on page 141 for the error
messages.
Example
The following query reads and clears one error.
SYST:ERR?
Typical response:
–101,"Invalid character"
SYST :ERR ?