Chapter 4 Remote Interface Reference
The SCPI Status Registers
105
4
The Standard Event Register
The Standard Event register reports the following types of instrument events:
power-on detected, command syntax errors, command execution errors, self-
test or calibration errors, query errors, or when an
*OPC
command is executed.
Any or all of these conditions can be reported in the standard event summary
bit (ESB, bit 5) of Status Byte register through the enable register. To set the
enable register mask, you write a decimal value to the register using the
*ESE
(Event Status Enable) command.
Table 4-4. Bit Definitions – Standard Event Register
An error condition (Standard Event register bit 2, 3, 4, or 5) will always
record one or more errors in the power supply’s error queue. Read the
error queue using the
SYST:ERR?
command.
Bit Decimal
Value
Definition
0OPC
1
Operation Complete. All commands prior to and
including an
*OPC command have been executed.
1 Not Used 0 Always set to 0.
2 QYE
4
Query Error. The power supply tried to read the output
buffer but it was empty. Or, new command line was
received before a previous query had been read. Or, both
the input and output buffers are full.
3 DDE
8
Device Error. A self-test or calibration error occurred
(see error numbers 601 through 750 in chapter 5).
4EXE
16
Execution Error. An execution error occurred (see error
numbers -211 through -224 in chapter 5).
5CME
32
Command Error. A command syntax error occurred (see
error numbers -101 through -178 in chapter 5).
6 Not Used 0 Always set to 0.
7PON
128
Power On. Power has been turned off and on since the
last time the event register was read or cleared.