Sre; Stb; Tst; Wai - Rigol DS7034 User Programming Manual

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

Chapter 2 Command System

*SRE

Syntax
*SRE <maskargument>
*SRE?
Description
Sets or queries the enable register of the status byte register set.
Parameter
Name
<maskargument>
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
The query returns an integer. The integer equals to the binary-weighted sum of all the
Format
bits set in the register.
Example
*SRE 16
*SRE?

*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.
Remarks
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).
Return
The query returns an integer. The integer equals to the binary-weighted sum of all the bits
Format
set in the register.

*TST?

Syntax
*TST?
Description
Performs a self-test and queries the self-test result.
Return
The query returns a decimal integer.
Format

*WAI

Syntax
*WAI
Description
Waits for all the pending operations to complete before executing any additional
commands.
Remarks
This operation command does not have any functions, only to be compatible with other
devices.
MSO7000/DS7000 Programming Guide
Type
Integer
/*Enable the bit 4 (16 in decimal) in the register.*/
/*The query returns the enable value of the register 16.*/
Range
0 to 255
RIGOL
Default
0
2-77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents