![Agilent Technologies 8712ES Скачать руководство пользователя страница 32](http://html.mh-extra.com/html/agilent-technologies/8712es/8712es_programmers-manual_2867956032.webp)
2-6
Programmer’s Guide
Synchronizing the Analyzer and a Controller
Controlling Execution of Overlapped Commands
Controlling Execution of Overlapped Commands
Each overlapped command is executed in two stages: initiation and
completion. When both stages are complete for a given command, the
command has “completed execution.”
*WAI
Holds off the processing of subsequent commands until
the initiation stage of all preceding commands is
finished. If used after each overlapped command, this
command ensures that commands in the analyzer’s
input queue complete initiation in the order received.
Use of the *WAI command is explained later in this
section and is demonstrated in the
SETUP
example
program.
*OPC?
Places a 1 in the analyzer's output queue when all
preceding commands have completed execution. If the
program reads the output queue before it continues,
this effectively pauses the controller until all executing
overlapped commands are completed. This command is
generally preferred to *WAI for control of command
execution.
Use of the
*OPC?
command is explained later in this
chapter and is demonstrated in the
TRANCAL
and
REFLCAL
example programs.
*OPC
Sets bit 0 of the Standard Event Status event register
to 1 when all preceding commands have completed
execution. The analyzer's status registers can then be
used to generate a service request when all overlapped
commands are completed. This synchronizes the
controller to the completion of an overlapped command,
but also leaves the controller free to perform other
tasks while the command is executing within the
analyzer.
Содержание 8712ES
Страница 11: ...1 1 1 Introduction to GPIB Programming ...
Страница 27: ...2 1 2 Synchronizing the Analyzer and a Controller ...
Страница 36: ...3 1 3 Passing Control ...
Страница 39: ...4 1 4 Data Types and Encoding ...
Страница 46: ...5 1 5 Using Status Registers ...
Страница 71: ...6 1 6 Trace Data Transfers ...
Страница 98: ...6 28 Programmer sGuide Trace Data Transfers Internal Measurement Arrays ...
Страница 99: ...7 1 7 Using Graphics ...
Страница 105: ...8 1 8 Front Panel Keycodes ...
Страница 111: ...9 1 9 Introduction to SCPI ...
Страница 129: ...10 1 10 Menu Map with SCPI Commands ...
Страница 268: ...12 1 12 SCPI Conformance Information ...
Страница 290: ...13 1 13 SCPI Error Messages ...