RIGOL Chapter 2 Command System
2-34 DS1000Z Programming Guide
*ESR?
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. The range of the return 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
The query returns an integer between 0 and 255.
*IDN?
Query the ID string of the instrument.
Return
The query returns the ID string of the instrument, such as RIGOL
TECHNOLOGIES,DS1104Z,DS1T00000006,00.02.00.
*OPC
Syntax *OPC?
Description The *OPC? command is used to query whether the current operation is finished. The
*OPC command is used to set the Operation Complete bit (bit 0) in the standard event
status register to 1 after the current operation is finished.
Return
Format
The query returns 1 if the current operation is finished; otherwise, returns 0.
*RST
Restore the instrument to the default state.
*SRE
Syntax *SRE <value>
Set or query the enable register for the status byte register set.
Parameter
Explanation The bit 0 and bit 1 of the status byte 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 0 and bit 1 are 0.
Return
The query returns an integer which equals the sum of the weights of all the bits that
have already been set in the register.
Example *SRE 16 /*Enable the bit 4 (16 in decimal) of the status byte register*/
*SRE? /*The query returns 16*/