221
Common Command Descriptions
*OPC? (Operation Complete Query)
The *OPC? query allows for synchronization between the Test Set and an external
controller by reading the Output Queue or by polling the Message Available
(MAV) bit in the Status Byte Register. The *OPC? query causes the Test Set to
place an ASCII character, 1, into its Output Queue when the Test Set completes
all pending operations. A consequence of this action is that the MAV bit in the
Status Byte Register is set to the 1 state.
NOTE:
The Test Set contains signal generation and signal measurement instrumentation. The
instrument control processor is able to query the signal measurement instrumentation to
determine if a measurement cycle has completed. However, the instrument control
processor is not able to query the signal generation instrumentation to determine if the
signal(s) have settled. In order to ensure that all signals have settled to proper values, the
instrument control processor initiates a one-second delay upon receipt of the *OPC, *OPC?
and *WAI commands. In parallel with the one-second timer the instrument control
processor commands all active measurements to tell it when the measurement(s) are done.
When all active measurements are done and the one-second timer has elapsed, the *OPC,
*OPC? and *WAI commands are satisfied.
If the *OPC, *OPC? or *WAI common commands are used to determine when a
measurement has completed and the measurement is either in the OFF State or unavailable
( four dashed lines on CRT display “- - - -” ), the *OPC, *OPC? or *WAI command will
never complete.
CAUTION:
The *OPC? command should not be used for determining if a Call Processing Subsystem
state command has completed successfully. Call Processing Subsystem states do not
complete, a state is either active or not active. Using the *OPC? command with a Call
Processing Subsystem state command results in a deadlock condition. The control program
will continuously query the Output Queue for a 1 but the 1 will never be placed in the
Output Queue because the command never ‘completes’.
For example, the following command sequence should not be used:
OUTPUT 714;"CALLP:ACTive;*OPC?"
The *OPC? command should not be used with any of the following Call Processing
Subsystem commands: :ACTive, :REGister, :PAGE, :HANDoff, :RELease.
The Call Processing Subsystem Status Register Group should be used to control program
flow. Refer to
chapter 8, "Programming The Call Processing Subsystem"
for
information on controlling program flow using the Call Processing Subsystem Status
Register Group.
Содержание 8921A
Страница 14: ...14 ...
Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...
Страница 24: ...Contents 24 9 Error Messages ...
Страница 25: ...Contents 25 Index 593 ...
Страница 26: ...Contents 26 ...
Страница 27: ...27 1 Using HP IB ...
Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...
Страница 59: ...59 2 Methods For Reading Measurement Results ...
Страница 71: ...71 3 HP IB Command Guidelines ...
Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 95: ...95 4 HP IB Commands ...
Страница 100: ...100 Adjacent Channel Power ACP ...
Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...
Страница 236: ...236 Triggering Measurements ...
Страница 237: ...237 5 Advanced Operations ...
Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...
Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...
Страница 361: ...361 7 IBASIC Controller ...
Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...
Страница 563: ...563 9 Error Messages ...
Страница 592: ...592 ...