Example
N/A
3.6.6
*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
0 to 255
0
Remarks
Bit 0 and Bit 1 are not used and are always treated as 0; therefore, the range of
<value> is a decimal number that corresponds to the binary numbers 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.
Example
*SRE 16 /*Enables the Bit 4 (16 in decimal) in the register.*/
*SRE? /*The query returns 16.*/
3.6.7
*STB?
Syntax
*STB?
Description
Queries the event register for the status byte register. After executing the command,
the value in the status byte register is cleared.
Parameter
N/A
Command System
110
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.