Rst; Sre; Stb - Rigol DS4000E Series Programming Manual

Digital oscilloscope
Hide thumbs Also See for DS4000E Series:
Table of Contents

Advertisement

RIGOL
Return Format
The query returns 1 if the current operation is finished; otherwise, the query returns 0.

*RST

Syntax
*RST
Description
Restores the instrument to its factory default settings.

*SRE

Syntax
*SRE <mask>
*SRE?
Description
Sets or queries the enable register of the status byte register set.
Parameter
Name
Type
<mask>
Integer
Remarks
<mask> is the binary-weighted sum of all the bits from bit 0 to bit 7. "1" denotes enabling the
corresponding bit; and "0" denotes disabling the corresponding bit. The bits in the status byte register are
defined as follows:
Bit
Weight
7
128
6
64
5
32
4
16
3
8
2
4
1 (Not used)
2
0 (Not used)
1
Return Format
The query returns an integer (corresponds to the binary-weighted sum of all the bits) between 0 and 255.

*STB?

Syntax
*STB?
Description
Queries the condition register of the status byte register set.
Remarks
For the definitions of the bits in the status byte register, refer to the *SRE command.
2-102
Range
Default
0 to 255
0
Name
Enable
OPER
Operation Status Reg
--
Not used
ESB
Event Status Bit
MAV
Message Available
--
Not used
MSG
Message
USR
User
TRG
Trigger
Chapter 2 Command System
DS4000E Programming Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds4024eDs4014e

Table of Contents