DSA800 series programming guide - Page 95

For DSA815.

Loading ...
Loading ...
Loading ...
Chapter 2 Command System RIGOL
DSA800 Programming Guide 2-73
*OPC
Syntax
*OPC
*OPC?
Description
The *OPC command sets bit 0 of the standard event status register to 1 after the current operation is
finished.
The *OPC? command queries whether the current operation is finished.
Return Format
The query returns 1 if the current operation is finished, otherwise returns 0.
*RST
Syntax
*RST
Description
Restore the instrument to its default state.
*SRE
Syntax
*SRE <value>
*SRE?
Description
Set the enable register for the status byte register.
Query the enable register for the status byte register.
Parameter
Name Type Range Default
<value> Integer Refer to Explanation 0
Explanation
The bit 0 and bit 1 of the status byte register are not used and are always treated as 0; therefore, the range
of <value> are the decimal numbers corresponding to the binary numbers ranging from 00000000 (0 in
decimal) to 11111111 (255 in decimal) and of which the bit 0 and bit 1 are 0.
Return Format
The query returns an integer which equals the sum of the weights 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
The command below sets the enable register of the status byte register to 16.
*SRE 16
The query below returns 16.
*SRE?
Loading ...
Loading ...
Loading ...