Technical data
4-146 Agilent B1500A/B1505A Programming Guide, Edition 11
Command Reference
*OPC?
Example 
Statements 
OUTPUT @B1500;"ODSW? 101"
ENTER @B1500;A,B,C,D
*OPC?
The *OPC? command monitors the pending operations, and places ASCII character 
1 into the output queue when all pending operations are completed. Also this 
command sets/clears the operation complete (OPC) bit in the standard event status 
register as follows:
• If there are no pending operations, sets the OPC bit to 1.
• If there are any pending operations, sets the OPC bit to 0. 
The bit will be set to 1 when all pending operations are completed.
Syntax  *OPC?
Query Response  1<CR/LF^EOI>
No response will be returned until all pending operations are completed.
Example 
Statements 
OUTPUT @B1500;"*OPC?"  
ENTER @B1500;A
OS 
The OS command causes the B1500 to send a edge trigger from the Ext Trig Out 
terminal. To set the trigger logic (initial setting: negative), send the TGP command 
for the Ext Trig Out terminal.
Syntax  OS
Example 
Statements 
OUTPUT @B1500;"OS"
OSX
The OSX command causes the B1500 to send a trigger from a trigger output 
terminal specified by the port parameter. To set the trigger logic (initial setting: 
negative), send the TGP command for the specified port.
Syntax  OSX port[,level]
Parameters  port :  External trigger output port number. Integer expression. -2, or 1 to 16.
-2: Ext Trig Out terminal.










