Technical data

IEEE-488.2 Common Commands 6
U2751A Programmer’s Reference Guide 35
For any event to be reported on the Status Byte register group, the
corresponding bits in the event register must be enabled using the *ESE
command.
Once a bit is set, it will remain set until cleared by reading the event
register or the clear status (*CLS) command.
Returned Query Format
<NR1>
The query command reads the event register and returns a decimal value
that corresponds to the binary-weighted sum of all the bits set in the
register.
For example, if bit 3 (decimal value = 8) and bit 7 (decimal value = 128)
are enabled, the query command will return "+136".
Example
The following query returns the value of the event register (bit 4 is set).
*ESR?
Typical Response: +16
See Also
*ESE/*ESE?