![Rigol DP2000 Series Programming Manual Download Page 36](http://html1.mh-extra.com/html/rigol/dp2000-series/dp2000-series_programming-manual_1461089036.webp)
Return Format
None.
Examples
*SAV 5 /*Saves the current instrument state to the internal memory
with the filename RIGOL5.RSF.*/
4.3.11
*SRE
Syntax
*SRE
<
enable_value>
*SRE?
Description
Enables bits in the enable register of the Status Byte register.
Queries the enabled bits in the enable register of the Status Byte register.
Parameter
Name
Type
Range
Default
<enable_value>
Discrete
Refer to
-
Remarks
•
The <enable value> is a decimal value, which corresponds to the binary-
weighted sum of the bits to be enabled in the enable register of the Status Byte
register. For the definitions of the bits in the Status Byte register and their
corresponding decimal values, please refer to
For example, to enable the bit3 (QUES) and bit4 (MAV) in the Status Byte enable
register, set <enable_value> to 24 (2
3
+2
4
).
•
After the bits are enabled, the system sends service request via the bit6 (service
request bit) in the Status Byte register.
•
When <enable_value> is set to 0, executing this command will clear the enable
register of the Status Byte register. You can also send
(*PSC 1) to clear the
enable register of the Status Byte register at the next power-on.
Return Format
The query returns a decimal value, which corresponds to the binary-weighted sum of
the bits to be enabled in the enable register of the Status Byte register. For example,
the query might 24.
Command System
28
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
Summary of Contents for DP2000 Series
Page 1: ......
Page 137: ...d Exit Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 129...
Page 145: ......