User manual

Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-77
*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
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.
Example
*SRE 16 /*Enable 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