![background image](http://html.mh-extra.com/html/hp/81101a/81101a_reference-manual_163946078.webp)
78
Programming Reference
SCPI Instrument Command List
Command
:SYST:CHEC
Long
:SYSTem:CHECk[:ALL][:STATe]
Form
Set & Query
Parameter
OFF | ON
*RST value
ON
Description
Use this command to switch the instrument’s error checking on or off.
Switch off the error checking if you want to improve the programming
speed of the instrument, but remember that no invalid parameter or
mode settings will be detected and reported. Error checking is switched
off by the *RST command, or when default setting is invoked.
C A U T I O N
Error checking cannot be switched on from the front panel. Error
checking is
not
automatically re-enabled if you switch the instrument off
and on again. Therefore your test programs should send either *RST or
set default setting before ending.
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 N
O
E
RROR
. If the
queue overflows at any time, the last error code is discarded and
replaced with –350 meaning Q
UEUE
OVERFLOW
.
Example
To read the error queue:
Example Error
String
–222 "Data out of range" overlap at output 1: Width>Double
Delay
:SYS:ERR?
Query for errors