EasyManuals Logo
Home>Rigol>Test Equipment>DS2000E Series

Rigol DS2000E Series Programming Guide

Rigol DS2000E Series
365 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #24 background imageLoading...
Page #24 background image
RIGOL 2 Command System
2-8 DS2000E Programming Guide
*SRE
Syntax
*SRE <mask>
*SRE?
Description
Set or query the enable register for the state byte register set.
Parameter
Name Type Range Default
<mask> Integer 0 to 255 0
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 Name Enable
7 128 OPER Operation Status Reg
6 64 -- Not used
5 32 ESB Event Status Bit
4 16 MAV Message Available
3 8 -- Not used
2 4 MSG Message
1 2 USR User
0 1 TRG Trigger
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*/

Table of Contents

Other manuals for Rigol DS2000E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rigol DS2000E Series and is the answer not in the manual?

Rigol DS2000E Series Specifications

General IconGeneral
BrandRigol
ModelDS2000E Series
CategoryTest Equipment
LanguageEnglish

Related product manuals