Opc - Agilent Technologies N1996A-503 User Reference

Csa spectrum analyzer
Table of Contents

Advertisement

IEEE and STATus Commands (Remote Commands Only)
Operation Complete
Operation Complete
The *OPC command sets bit 0 in the standard event status register (SER) to "1" when
pending operations have finished, that is when all overlapped commands are complete. It
does not hold off subsequent operations. You can determine when the overlapped
commands have completed either by polling the OPC bit in SER, or by setting up the
status system such that a service request (SRQ) is asserted when the OPC bit is set.
The *OPC? query returns a "1" after all the current overlapped commands are complete. So
it holds off subsequent commands until the "1" is returned, then the program continues.
This query can be used to synchronize events of other instruments on the external bus.
Mode
Remote Command
Example
SCPI Status Bits/OPC
Dependencies
348
All modes

*OPC

*OPC?
INIT:CONT 0 Selects single sweeping.
INIT:IMM Initiates a sweep.
*OPC? Holds off any further commands until the sweep is
complete.
Not global to all remote ports or front panel. *OPC only
considers operation that was initiated on the same port as
the *OPC command was issued from.
*OPC is an overlapped command, but *OPC? is sequential.
Chapter 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1996a-506

Table of Contents