Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-77
*SRE
*SRE <maskargument>
*SRE?
Sets or queries the enable register of the status byte register set.
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).
The query returns an integer. The integer equals to the binary-weighted sum of all the
bits set in the register.
*SRE 16 /*Enable the bit 4 (16 in decimal) in the register.*/
*SRE? /*The query returns the enable value of the register 16.*/
*STB?
Queries the event register for the status byte register. After executing the command, the
value in the status byte register is cleared.
Bit 0 and Bit 1 in the status byte register are not used and are always treated as 0;
therefore, the range of the returned value is a decimal number corresponding to a binary
number X0XXXX0X (X is 1 or 0).
The query returns an integer. The integer equals to the binary-weighted sum of all the bits
set in the register.
*TST?
Performs a self-test and queries the self-test result.
The query returns a decimal integer.
*WAI
Waits for all the pending operations to complete before executing any additional
commands.
This operation command does not have any functions, only to be compatible with other
devices.