RIGOL
2-34
VSA Programming Guide
Example
The following command recalls Register 1.
*RCL 1
*RST
Syntax
*RST
Description
Restores the instrument to its factory default settings.
*SAV
Syntax
*SAV <integer>
Description
Saves the current instrument state to the selected register.
Parameter
Name
Type
Range
Default
<integer>
Integer
1 to 16
--
Example
The following command saves the current instrument state to Register 1.
*SAV 1
*SRE
Syntax
*SRE <value>
*SRE?
Description
Sets the enable register for the status byte register.
Queries the enable register for the status byte register.
Parameter
Name
Type
Range
Default
<value>
Integer
Refer to
"
Remarks
"
0
Remarks
Bit 0 and Bit 1 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 Bit 0 and Bit 1 are 0.
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.