User`s guide
4-15
Programming
*OPC (Operation Complete)
*OPC (Operation Complete)
The *OPC command sets the operation complete bit in the Standard Event
Status Register when all pending device operations have finished.
The *OPC query places an ASCII "1" in the output queue when all pending
device operations have finished.
Usage:
GPIB only
Command Syntax:
*OPC
Example: OUTPUT 711;"*OPC"
Query Syntax:
*OPC?
Returned Format:
1<NL>
Example: OUTPUT 711;"*OPC?"
ENTER 711;Op$
*RCL (Recall)
The *RCL command recalls the state of the instrument from the specified
instrument state register. If the instrument state register has not been previ-
ously stored, the *RCL command will restore the instrument to its power-on
state.
Usage:
GPIB and RS-232
NOTE
The *OPC command can be used to ensure all switch movement operations have com-
pleted before continuing the program. By following a ROUTE:LAYER:CHANNEL command
with an *OPC query and an ENTER statement, the program will pause until the response
(ASCII "1") is returned by the instrument.