RIGOL Chapter 2 Command System
2-72 DSA800E Programming Guide
Return Format
The query returns an integer 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
The command below sets the enable register of the standard event status register to 16.
*ESE 16
The query below returns 16.
*ESE?
*ESR?
Syntax
*ESR?
Description
Query and clear the event register for the standard event status register.
Explanation
The bit 1 and bit 6 of the standard event status register are not used and are always treated as 0; therefore,
the range of <value> are the decimal numbers corresponding to the binary numbers ranging from
00000000 (0 in decimal) to 11111111 (255 in decimal) and of which the bit 1 and bit 6 are 0.
Return Format
The query returns an integer 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
The query below returns 24 (bit 3 and bit 4 have already been set).
*ESR?
*IDN?
Syntax
*IDN?
Description
Query the ID string of the instrument.
Return Format
The query returns the ID string in the format below.
Rigol Technologies,<model>,<serial number>,XX.XX.XX.XX.XX
<model>: instrument model
<serial number>: serial number of the instrument
XX.XX.XX.XX.XX: software version of the instrument
Example
The query below returns Rigol Technologies,DSA832E,DSA8A134400008,00.00.00.00.03.
*IDN?