DSA800 series programming guide - Page 96

For DSA815.

Loading ...
Loading ...
Loading ...
RIGOL Chapter 2 Command System
2-74 DSA800 Programming Guide
*STB?
Syntax
*STB?
Description
Query the event register for the status byte register.
Explanation
The bit 0 and bit 1 of the status byte register are not used and are always treated as 0; therefore, the query
returns 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 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 query below returns 24 (bit 3 and bit 4 have already been set).
*STB?
*TRG
Syntax
*TRG
Description
Trigger a sweep or measurement immediately.
*TST?
Syntax
*TST?
Description
Query whether the self-check operation is finished.
*WAI
Syntax
*WAI
Description
Wait for the operation to finish.
Loading ...
Loading ...
Loading ...