2 SCPI Status Registers
24 Keysight U2722A/U2723A Programmer’s Reference
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. All of
these conditions can be reported in the Standard Event summary bit through
enable register. To set the enable register mask, key in a decimal value to the
register using the event status enable (*ESE)command.
Bit Definitions: Standard Event Register
The Standard Event register is cleared when:
– you execute the clear status (*CLS)command
– querying the event register using the event status register (*ESR?) command
The Standard Event Enable register is cleared when you execute the *ESE 0
command.
Bit number Decimal value Definition
0 Operation Complete 1 All commands prior to and including *OPC have been executed.
1 Not Used 2 Always zero.
2 Query Error 4 The instrument tried to read the output buffer but it was empty. Or, a new
command line was received before a previous query has been read. Or,
both the input and output buffers are full.
3 Device-Dependent Error 8 A self-test or calibration error occurred. For a complete listing of the
error messages, refer to Chapter 14, “Error Messages” on page 130.
4 Execution Error 16 An execution error occurred (an error in the –200 range has been
generated).
5 Command Error 32 A command syntax error occurred (an error in the –100 range has been
generated).
6 Not Used 64 Always zero.
7 Power On 128 Power has been turned off and on since the last time the event register
was read or cleared.