Sre - Rigol MSO2000A Series Programming Manual

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

Advertisement

RIGOL

*SRE

Syntax
*SRE <mask>
*SRE?
Description
Set or query the enable register for the state byte register set.
Parameter
Name
Type
<mask>
Integer
Explanation
<mask> is the sum of the binary weights (expressed in decimal) of all the bits between bit 0 and bit
7 that have already been set. If the bit has already been set, the corresponding binary bit is 1;
otherwise, it is 0.
Definitions of the bits of SRE register:
Bit
Weights
7
128
6
64
5
32
4
16
3
8
2
4
1
2
0
1
Return Format
The query returns an integer between 0 and 255 which equals the sum of the binary weights (expressed
in decimal) of all the bits that have already been set in the register. For example, the query returns 144 if
bit 4 (16 in decimal) and bit 7 (128 in decimal) are enabled.
Example
*SRE 16
/*Bit 4 is enabled*/
*SRE?
/*The query returns 16*/
2-8
Range
0 to 255
Name
Enable
OPER
Operation Status Reg
--
Not used
ESB
Event Status Bit
MAV
Message Available
--
Not used
MSG
Message
USR
User
TRG
Trigger
Default
0
MSO2000A/DS2000A Programming Guide
2 Command System

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents