User manual
Chapter 2 Command System RIGOL
MSO5000 Programming Guide 2-73
*ESR?
Syntax
*ESR?
Description
Queries and clears the event register of the standard event status register.
Remarks
Bit 1 and Bit 6 in the standard event status register are not used and are always treated
as 0; therefore, the range of the returned value is a decimal number corresponding to a
binary number X0XXXX0X (X is 1 or 0).
Return
Format
The query returns an integer. The integer equals to the binary-weighted sum of all the
bits set in the register.
*IDN?
Syntax
*IDN?
Description
Queries the ID string of the instrument.
Return
Format
The query returns RIGOL TECHNOLOGIES,<model>,<serial number>,<software
version>.
Wherein,
<model>: indicates the model number of the instrument.
<serial number>: indicates the serial number of the instrument.
<software version>: indicates the software version of the instrument.
*OPC
Syntax
*OPC
*OPC?
Description
The *OPC command sets bit 0 (Operation Complete, OPC) in the standard event status
register to 1 after the current operation is finished. The OPC? command queries
whether the current operation is finished.
Return
Format
The query returns 1 after the current operation is finished; otherwise, the query returns
0.
*SAV
Syntax
*SAV <value>
Description
Saves the current instrument state to the selected register.
Parameter
Name
Type
Range
Default
<value>
Integer
0 to 49
0
Example
*SAV 1 /*Saves the current instrument state to Register 1.*/
*RCL
Syntax
*RCL
Description
Recalls the instrument state in the specified location.