Technical data

2 SCPI Status Registers
12 U2751A Programmer’s Reference Guide
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 (an error in the
–400 range has been generated).
3 Device Error 8 A self-test or device error occurred (an error in the –300 range or
any positive error has been generated). For a complete listing of the
error messages, refer to Chapter 7, “Error Messages” on page 47.
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.
NOTE
Please refer to Chapter 6, “IEEE-488.2 Common Commands” on page 29 for more details of
the common IEEE commands mentioned above.