IEEE-488.2 Common Commands 13
Keysight U2722A/U2723A Programmer’s Reference 119
*OPC/OPC?
Syntax
*OPC 
The command is mainly used for program synchronization. It causes the 
instrument to set the OPC bit (bit 0) of the Standard Event Status register when 
the instrument has completed all pending operation sent before the *OPC 
command.
*OPC?
This query returns “1” to the output buffer at the completion of the current 
operation. *OPC? command does not suspend processing of commands. 
Remarks
Pending operation have completed when:
– all commands sent before *OPC, including paralleled commands, have 
completed. Most commands are sequential and will be completed before the 
next command is executed. Commands that affect the output voltage, current, 
or state, relays, and trigger actions are executed in parallel with subsequent 
commands. *OPC provides notification for the completion of the parallel 
commands
– all triggered actions have completed
*OPC does not prevent processing of subsequent commands, however, the OPC 
bit will not be set until all pending operation have completed.
Returned Query Format
<NR1>
The command returns “1” to the output buffer. 
See Also
*ESE/*ESE?
*ESR?