SYSTem:ERRor?
Returned Data
Comments
Reset Condition
Related
Commands
144 Programming the Enhanced Monitor
returns the error number and corresponding error message string
SYStem:ERRor?
from the error queue.
Type
Range
int16
-32768 through 32767
string
•
The response format is:
error_number, "error description string"
•
Error Numbers/Message in the Error Queue: Each error generated by this
instrument driver stores an error number and corresponding error message in
the error queue. The error message can be up to 255 characters long.
•
Clearing the Error Queue: An error number/message is removed from the
queue each time the SYSTem:ERRor? command is sent. The errors are cleared
on a first-in, first-out basis. When the queue is empty, SYSTem:ERRor?
returns 0, "No error". To clear all error number/messages in the queue, execute
the *CLS command.
•
Maximum Error Numbers/Message in the Error Queue: The queue holds a
maximum of 30 error numbers/messages. If the queue overflows, the last error
number/message in the queue is replaced by -350, "Too many errors". The
least recent error number/message remains in the queue and the most recent
are discarded.
*RST does not affect the status system, use *CLS to clear the error queue.
*CLS
Default
none
Error number
none
Error message
Description
.
Chapter 3