EasyManuals Logo
Home>Rigol>Measuring Instruments>DL3000

Rigol DL3000 Programming Guide

Rigol DL3000
96 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 #25 background imageLoading...
Page #25 background image
Chapter 2 Command System RIGOL
DL3000 Programming Guide 2-7
*SRE
Syntax *SRE <enable value>
*SRE?
Description Enables bits in the enable register part of the status byte register.
Queries the bit enabled in the enable register part of the status byte register.
Remarks
The parameter <enable value> is a decimal value. It corresponds to the
binary-weighted sum of the bit enabled in the enable register part of the status byte
register. For the definitions for the bits in the status byte register and the decimal
value that corresponds to the value, refer to Table 1-3.
For example, to enable Bit 3 (QUES, questionable data summary bit) and Bit 4 (MAV,
message available) in the enable register part of the standard event status register,
set the parameter <enable value> to 24 (based on the formula: 2
3
+ 2
4
= 24).
After the bits are enabled, the system sends the service request through Bit 6 (RQS,
request service bit) of the status byte register.
When the parameter <enable value> is set to 0, you can run the command to clear
the enable register part of the standard event status register. You can also send the
*PSC
command (*PSC 1) to clear the enable register part of the status byte register
once the instrument is turned on next time.
Return
Format
The query returns a decimal value. It corresponds to the binary-weighted sum of the bit
enabled in the enable register part of the status byte register. For example, 24.
Example *SRE 24 /*Enables Bit 3 (QUES) and Bit 4 (MAV) in the enable register part of the
status byte register. Enables the service request.*/
*SRE? /*Queries the bit enabled in the enable register part of the status byte
register. The query returns 24.*/
Related
Command
*PSC
*STB?
Syntax
*STB?
Description
Queries the condition register of the current status byte register.
Remarks The query returns a decimal value. It corresponds to the binary-weighted sum of all the
bits in the register, but the command does not clear the register. For the definitions for the
bits in the status byte register and the decimal value that corresponds to the value, refer to
Table 1-3.
For example, if the current instrument produces questionable results and requests service
for disruption, then Bit3 (QUES) and Bit6 (RQS) in the condition register of the status byte
register will be set to 1. Then, run the command and the query command returns 72. (It is
calculated based on the formula: 2
3
+ 2
6
= 72).
Return
Format
The query returns a decimal value. It corresponds to the binary-weighted sum of all the
bits in the condition register of the status byte register. For example, 72.
Example *STB? /*Queries the condition register of the current status byte register. The query
returns 72.*/

Table of Contents

Other manuals for Rigol DL3000

Questions and Answers:

Question and Answer IconNeed help?

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

Rigol DL3000 Specifications

General IconGeneral
BrandRigol
ModelDL3000
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals