Instructions

RIGOL Chapter 2 Command System
2-26 DG2000 Programming Guide
You can send the *RCL command to recall the state file stored in the internal non-volatile memory of
the instrument.
Example
*SAV 1 /*Stores the current instrument state in storage location 1 in the internal non-volatile
memory of the instrument with the filename Scpi1.RSF.*/
*SRE
Syntax
*SRE <value>
*SRE?
Description
Enables the bits in the status byte register to generate the service request.
Queries the bits enabled in the status byte register.
Parameter
Name
Type
Range
Default
<value>
Integer
Refer to "Remarks".
None
Remarks
The parameter <value> is a decimal value corresponding to the binary-weighted sum of the bits
enabled in the status byte register. The selected bits are summarized in the "master summary" bit (bit6)
of the status byte register. If any of the selected bits change from 0 to 1, the instrument generates a
Service Request signal.
When <value> is set to 0, executing this command will clear the enable register of the status byte
register.
If you have configured the instrument by using the *PSC
1 command, the enable register of the
standard event register will be cleared at the next power-on of the instrument. If you have configured
the instrument by using the
*PSC 0 command, the enable register of the standard event register will
not be cleared at the next power-on of the instrument.
Return Format
The query returns a decimal value that corresponds to the binary-weighted sum of the bits enabled in the
status byte register.
*STB?
Syntax
*STB?
Description
Queries the status register of the status byte register.
Remarks
This command cannot clear the service request. Bit6 (master summary bit) of the status byte register will
not be cleared as long as the condition that generates the service request is still in effect.
Return Format
The query returns a decimal value that corresponds to the binary-weighted sum of all the bits in the status
register of the status byte register.