![Agilent Technologies 8712ES Programmer'S Manual Download Page 33](http://html.mh-extra.com/html/agilent-technologies/8712es/8712es_programmers-manual_2867956033.webp)
Programmer’s Guide
2-7
Synchronizing the Analyzer and a Controller
Controlling Execution of Overlapped Commands
NOTE
*OPC
only informs you when all currently executing commands have
completed execution. It does not hold off the processing of subsequent
commands. No commands should be sent to the analyzer between
sending the
*OPC
command and receiving the service request. Any
commands sent will be executed and may affect how the instrument
responds to the previously sent
*OPC
.
The
*CLS
and
*RST
commands cancel any preceding
*OPC
? or *
OPC
.
Executing overlapped commands are still completed, but their
completion is not reported in either the status register or the output
queue. Two GPIB bus management commands — Device Clear (DCL)
and Selected Device Clear (SDC) — also cancel any preceding
*OPC? or
*OPC.
NOTE
Use
*WAI
,
*OPC?
or
*OPC
whenever overlapped commands are used. A
recommended technique is to send
*OPC?
at the end of each group of
commands.
CAUTION
ALWAYS trigger an individual sweep (using
*OPC?
and waiting for the
reply) before reading data over the bus or executing a marker function.
The analyzer has the ability to process the commands it receives faster
than it can make a measurement. If the measurement is not complete
when the data is read or a marker search function is executed, the
results are invalid.
The command to use (in an IBASIC
OUTPUT
statement) is:
OUTPUT @Hp8711;"ABOR;:INIT:CONT OFF;:INIT;*OPC?"
ENTER @Hp8711;Opc_done
or another form of the
INITiate[1|2][:IMMediate]
command
combined with the
*OPC?
query.
Refer to “Taking Sweeps” in the Example Programs Guide for more
information.
Summary of Contents for 8712ES
Page 11: ...1 1 1 Introduction to GPIB Programming ...
Page 27: ...2 1 2 Synchronizing the Analyzer and a Controller ...
Page 36: ...3 1 3 Passing Control ...
Page 39: ...4 1 4 Data Types and Encoding ...
Page 46: ...5 1 5 Using Status Registers ...
Page 71: ...6 1 6 Trace Data Transfers ...
Page 98: ...6 28 Programmer sGuide Trace Data Transfers Internal Measurement Arrays ...
Page 99: ...7 1 7 Using Graphics ...
Page 105: ...8 1 8 Front Panel Keycodes ...
Page 111: ...9 1 9 Introduction to SCPI ...
Page 129: ...10 1 10 Menu Map with SCPI Commands ...
Page 268: ...12 1 12 SCPI Conformance Information ...
Page 290: ...13 1 13 SCPI Error Messages ...