Technical data

6 IEEE-488.2 Common Commands
34 U2751A Programmer’s Reference Guide
*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.
Remarks
The following table lists the bit definitions for the Standard Event
register.
NOTE
For more information on the system registers, refer to Chapter 2, “SCPI Status
Registers” on page 9.
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.