Agilent Technologies 86121A User Manual page 121

Wdm channel analyzer
Table of Contents

Advertisement

5-6
Common Commands
*OPC
*OPC?
Description
Query Response
Example
*RCL <integer>
Description
*RST
Description
The *OPC (operation complete) command sets the
operation complete bit in the 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 fin-
ished.
This command is useful when the computer is sending
commands to other instruments. The computer can poll
the event status register to check when the
Agilent 86121A has completed the operation. Use the
*OPC? query to ensure all operations have completed
before continuing the program. By following a com-
mand with an *OPC? query and an ENTER statement,
the program will pause until the response (ASCII "1") is
returned by the instrument.
Be sure the computer's timeout limit is at least two sec-
onds, since some of the 86121A commands take
approximately one second to complete.
1
OUTPUT 720;"*OPC?"
ENTER 720;Op$
This command recalls a saved instrument state.
<integer> range is 1 to 4.
For a description of an instrument state, see *SAV com-
mand.
The *RST (reset) command returns the Agilent 86121A
to a known condition.
For a listing of reset conditions, refer to the following
table. This command cannot be issued as a query. Since
this command places the instrument in single measure-
ment acquisition mode, any current data is marked as
invalid and a measurement query such as :FETCh?

Advertisement

Table of Contents
loading

Table of Contents