System Commands 5
STATUS
*ESR?
Query
DESCRIPTION
QUERY SYNTAX
Response format
EXAMPLE (GPIB)
RELATED COMMANDS
The * ESR? query reads and clears the contents of the Event Status
Register (ESR). The response represents the sum of the binary
values of the register bits 0 to 7. Refer to Table 5, page 82 for an
overview of the ESR register structure.
*ESR?
*ESR <value>
<value> := 0 to 255
The following instruction reads and clears the contents of the ESR
register.
CMD$="*ESR?": CALL IBWRT(SCOPE%,CMD$)
CALL IBRD(SCOPE%,RSP$):
PRINT RSP$
Response message
*ESR 0
ALL_STATUS?, *CLS,*ESE
81