Sre; Stb - Rigol DG800 Pro Series Programming Manual

Function/arbitrary waveform generator
Hide thumbs Also See for DG800 Pro Series:
Table of Contents

Advertisement

Command System
3.5.11

*SRE

Syntax
maskargument >
*SRE <
*SRE?
Description
Sets or queries the enable register of the status byte register set.
Parameter
Name
<maskargument>
Remarks
For the definitions of the bits in the status byte register, refer to
the Bit Definition of Status Byte Register
of the decimal values of all bits set in the status byte register. For example, to enable
Bit 2 (4 in decimal), Bit 3 (8 in decimal), and Bit 7 (128 in decimal), set the
<maskargument> to 140 (4+8+128).
Return Format
The query returns an integer. The integer equals to the decimal-weighted sum of all
the bits set in the register.
Example
*SRE 16 /*Enables Bit 4 (16 in decimal) in the register.*/
*SRE? /*The query returns the enable value of the register 16.*/
3.5.12

*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
None.
Remarks
Bit 0 and Bit 1 in the status byte register (
Status Byte Register
DG800 Pro/DG900 Pro Programming
Guide
32
Type
Integer
. The value of <maskargument> is the sum
Table 3.22 Table of the Bit Definition of
) are not used and are always treated as 0; therefore, the range of
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
Range
0 to 255
Table 3.22 Table of
Default
0

Advertisement

Table of Contents
loading

Table of Contents