Technical data

1 Introduction to SCPI
14 U2761A Programmer’s Reference
Standard Event register
The Standard Event register group reports the following types of
instrument events: power on detected, command syntax errors, command
execution errors, device errors (self-test or calibration), query errors, or
when an *OPC command is executed. All of these conditions can be
reported in the Standard Event summary bit through the 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 event register in the Standard Event 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 Not Used 0 is returned
2 Query Error 4 The U2761A 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 Error 8 A self-test, calibration, or other device-specific error has occurred
4 Execution Error 16 A command execution error occurred
5 Command Error 32 A command syntax error occurred
6 Not Used Not Used 0 is returned
7 Power On 128 Power has been turned off and on since the last time the event
register was read or cleared
NOTE
When the command, execution, device, and query errors occurred, the related error
messages will be generated.
For a complete listing of the error messages, refer to Chapter 16, “Error Messages” on
page 141.