User manual

RIGOL Chapter 2 Command System
2-80 MSO1000Z/DS1000Z Programming Guide
*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. The range of the return value are the decimal numbers corresponding to
the binary numbers X0XXXX0X (X is 1 or 0).
Return
Format
The query returns an integer which equals the sum of the weights of all the bits in the
register.
*IDN?
Syntax
*IDN?
Description
Query the ID string of the instrument.
Return
Format
The query returns RIGOL TECHNOLOGIES,<model>,<serial number>,<software
version>.
Whererin,
<model>: the model number of the instrument.
<serial number>: the serial number of the instrument.
<software version>: the software version of the instrument.
*OPC
Syntax *OPC
*OPC?
Description
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. The *OPC? command is
used to query whether the current operation is finished.
Return
Format
The query returns 1 if the current operation is finished; otherwise, returns 0.
*RST
Syntax
*RST
Description
Restore the instrument to the default state.