
RIGOL
VSA Programming Guide
2-33
Return Format
The query returns an integer. The integer equals to the binary-weighted sum of all the bits 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 following query returns 24 (Bit 3 and Bit 4 have been set).
*ESR?
*IDN?
Syntax
*IDN?
Description
Queries the ID string of the instrument.
Return Format
The query returns the ID string in the following format:
Rigol Technologies,<model>,<serial number>,XX.XX.XX
<model>: instrument model
<serial number>: serial number of the instrument
XX.XX.XX: software version of the instrument
Example
The following query returns Rigol Technologies,RSA5065,RSA5A010200001,00.02.00.
*IDN?
*OPC
Syntax
*OPC
*OPC?
Description
Sets Bit 0 (Operation Complete, OPC) in the standard event status register to 1 after the current operation
is finished.
Queries whether the current operation is finished.
Return Format
The query returns 1 after the current operation is finished; otherwise, the query returns 0.
*RCL
Syntax
*RCL <integer>
Description
Recalls the selected register.
Parameter
Name
Type
Range
Default
<integer>
Integer
1 to 16
--