Instructions
RIGOL  Chapter 2 Command Systems for GPSA and RTSA Modes 
2-86  RSA3000E Programming Guide 
*STB? 
Syntax
*STB? 
Description
Queries the event register for the status byte register. 
Remarks
Bit 0 and Bit 1 in the status byte register are not in use, and are regarded as 0. The query returns a decimal 
value that corresponds to the binary values ranging from 00000000 (0 in decimal) to 11111111 (255 in 
decimal) and of which Bit 0 and Bit 1 are 0.  
Return Format 
The query returns an integer. The integer equals to the binary-weighted sum 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 following query returns 24 (bit 3 and bit 4 have been set). 
*STB? 
*TRG 
Syntax
*TRG 
Description
Triggers a sweep or measurement immediately. 
*TST? 
Syntax
*TST? 
Description 
Queries whether the self-check operation is finished. 
Remarks
The query returns 0 or 1. A zero is returned if the test is successful, 1 if it fails. 
*WAI 
Syntax 
*WAI 
Description
Wait for the operation to finish. 










