Technical data
Agilent B1500A/B1505A Programming Guide, Edition 11 4-189
Command Reference
*STB?
*STB? 
The *STB? query command stores the decimal representation of the status byte in 
the output data buffer (query buffer).
The *STB? command is functionally identical to the SPOLL command of BASIC, 
however this command does not clear the status byte (the SPOLL command clears 
the status byte).
Syntax  *STB?
Example 
Statements 
OUTPUT @B1500;"*STB?"  
ENTER @B1500;A
Query Response  status_byte<CR/LF^EOI>
status_byte value is a decimal number that indicates which bits of the status byte are 
ON (“1”). See Table 4-29.
For example, if status_byte is 40 (8 + 32), then Bit 3 and 5 are set to 1.
STGP
This command specifies the trigger output timing for the specified SPGU channel. 
This setting applies commonly to all channels in the same SPGU module. See 
“SPGU Module” on page 2-53 for details on the SPGU trigger.
Syntax STGP chnum,state
Parameters chnum :  SPGU channel number. Integer expression. 1 to 10 or 101 to 1002. See 
Table 4-1.
state :  Trigger output state. Integer expression. Initial setting 0.
0  trigger output disabled.
1  Output trigger signals synchronized to the pulses (PG mode), or to 
the start of the ALWG sequence.
2  Output a trigger when the ALWG pattern changes, or at start of the 
first pattern.
3  Output triggers at the start of every ALWG pattern.
Example 
Statements 
OUTPUT @B1500;"STGP 101,1"










