84
Programming Reference
SCPI Instrument Command List
Command
:SYST:ERR?
Long
:SYSTem:ERRor?
Form
Query
*RST value
Not Applicable
Description
Use this command to read the instrument error queue. The instrument
error queue can store up to 30 error codes on a first-in-first-out basis.
When you read the error queue, the error number and associated
message are put into the instrument's output buffer.
If the queue is empty, the value 0 is returned, meaning
No Error
. If the
queue overflows at any time, the last error code is discarded and
replaced with
-350
meaning
Queue overflow
.
Example
:SYS:ERR?
Query for errors
Output example:
-222 "Data out of range" overlap at output 1: Width>Period
The above message is an example of a customized description. Generic
descriptions are available in the SCPI 1995 Command Reference, items
21.8.4 to 21.8.11.
Send
":SYST:WARN:STR?"
. Alternatively, the HELP key shows the
current errors and warnings and their description on the instruments
display.
Command
:SYST:KEY
Long
:SYSTem:KEY
Form
Set & Query
Parameter
Numeric
Parameter suffix
No suffix allowed
*RST value
Not Applicable