13 IEEE-488.2 Common Commands
116 Keysight U2722A/U2723A Programmer’s Reference
*ESR?
Syntax
*ESR?
This query returns the value of the event register of the Standard Event Status
group. Once it is read, it will be cleared automatically. The event register is a
read-only register, which stores (latches) all standard events.
Remarks
– The following table lists the bit definitions for the Standard Event register.
– To be reported to the Standard Event register, the corresponding bits in the
event register must be enabled using the *ESE/*ESE? command.
– Once a bit is set, it will remain set until cleared by reading the event register or
the clear status (*CLS) 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.