222
Common Command Descriptions
Using the *OPC? query by reading Output Queue
Bit 4 in the Service Request Enable Register is set to a value of zero (disabled).
The *OPC? query is sent to the Test Set at the end of a command message data
stream. The application program then attempts to read the *OPC? query response
from the Test Set’s Output Queue. The Test Set will not put a response to the
*OPC? query into the Output Queue until the commands have all finished.
Reading the response to the *OPC? query has the penalty that both the HP-IB bus and the
Active Controller handshake are in temporary holdoff state while the Active Controller
waits to read the *OPC? query response from the Test Set.
Example BASIC program
10 INTEGER Output_que_val
20 OUTPUT 714;"*SRE 0"! Disable Service Requests
30 OUTPUT 714;"DISP RFG;RFG:OUTP ’Dupl’;AMPL 0 dBm;FREQ 320
MHz;*OPC?"
40 ENTER 714;Output_que_val
50 !Program will wait here until all operations complete
60 PRINT "All operations complete."
70 END
Using the *OPC? query using the MAV bit in the Status Byte
Bit 4 in the Service Request Enable Register is set to a value of 1 (enabled). The
*OPC? query is sent to the Test Set at the end of a command message data stream.
The Test Set will request service when the MAV bit in the Status Byte register is
set to the TRUE, logic 1, state. After the service request is detected the application
program can take appropriate action. Refer to the
for further information.
Содержание 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 ...