Specifications

2 Command System RIGOL
DS2000 Programming Guide
2-13
*ESR?
Syntax
*ESR?
Description
Query the current value of the event status register for the standard event register
set.
Explanation
Definitions of the bits of ESE register:
Bit Weights Name Enable
7 128 PON Power On
6 64 URQ User Request
5 32 CME Command Error
4 16 EXE Execution Error
3 8 DDE Dev. Dependent Error
2 4 QYE Query Error
1 2 RQL Request Control
0 1 OPC Operation Complete
Return Format
The query returns an integer between 0 and 255 which equals the sum of the
weights of all the bits that have already been set in the register.
For example, the query returns 144 if bit 4 (16 in decimal) and bit 7 (128 in decimal)
are enabled.
Example
*ESR?
The query returns 32 (bit 5 is enabled).