*ESR?
Reads and clears the Standard Event event register.
Query Syntax:
Example Statements:
Return Format:
Attribute Summary:
Description:
This query returns the current state of the Standard Event event register. The state is returned as a sum of
the decimal weights of all set bits. The decimal weight for each bit is assigned according to the following
formula:
with acceptable values for bit_number being 0 through 7.
The query clears the register after it reads the register.
A bit in this register is set to 1 when the condition it monitors becomes true. A set bit remains set,
regardless of further changes in the condition it monitors, until one of the following occurs:
You read the register with this query.
You clear all event registers with the *CLS command.
For more information on the Standard Event register set, see chapter 1.
*ESR?
OUTPUT 711;"*esr?"
OUTPUT 711;"*Esr?"
Integer
Option:
not applicable
synchronization Required:
Preset State:
+0
SCPI Compliance:
(bit_number)
2
no
confirmed
Common Commands
query
3-5