User manual

RIGOL Chapter 2 Command System
2-74 MSO5000 Programming Guide
*RST
Syntax
Description
*SRE
Syntax
*SRE <maskargument>
*SRE?
Description
Sets or queries the enable register of the status byte register set.
Parameter
Name
Type
Range
Default
<maskargument>
Integer
0 to 255
0
Remarks
This command queries the standard event enable register value. Bit 3 and Bit 6 in the
standard event status register are not used and are always treated as 0. Therefore, the
range of <maskargument> is a decimal that corresponds to a binary number
X0XX0XXX (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.
Example
*SRE 16 /*Enables the bit 4 (16 in decimal) in the register.*/
*SRE? /*The query returns the enable value of the register 16.*/
*STB?
Syntax
Description
Remarks
Return
Format
*TST?
Syntax
Description
Return
Format
*WAI
Syntax
Description
Remarks