User manual

Table Of Contents
MAUI Oscilloscopes Remote Control and Automation Manual
*ESR?
Description
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. The following table provides an overview
of the ESR register structure.
Query Syntax
*ESR?
Response Format
*ESR <value>
<value> : = 0 to 255
Example (GPIB)
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
Related Commands
ALL_STATUS, *CLS, *ESE
6-130