3- 6 Keysight B2961A/B2962A SCPI Command Reference, Edition 6
Common Commands
*ESR?
*ESR?
This query returns the present contents of the Standard Event Status register. The
event register is a read-only register, which stores (latches) all standard events.
Reading the Standard Event Status Enable register clears it. For the SCPI status
system, see
“Status System Diagram” on page 1-17.
Syntax *ESR?
Query response register <newline><^END>
register is the binary-weighted sum of all 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. Response data type is NR1.
Remarks Bit definitions of the Standard Event register are shown in Table 3-2.
To be reported to the Standard Event register, the corresponding bits in the event
register must be enabled using the
*ESE command.
Once a bit is set, it remains set until cleared by reading the event register or the
*CLS (clear status) command.
See Also *ESE