236
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.
Содержание 8920B
Страница 10: ...10 ...
Страница 16: ...Contents 16 9 Error Messages Index 673 ...
Страница 17: ...17 1 Using HP IB ...
Страница 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Страница 49: ...49 2 Methods For Reading Measurement Results ...
Страница 61: ...61 3 HP IB Command Guidelines ...
Страница 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 85: ...85 4 HP IB Commands ...
Страница 90: ...90 Adjacent Channel Power ACP ...
Страница 116: ...116 Configure I O Configure ...
Страница 156: ...156 Call Processing ...
Страница 162: ...162 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Страница 242: ...242 Common Command Descriptions ...
Страница 251: ...251 5 Advanced Operations ...
Страница 377: ...377 7 IBASIC Controller ...
Страница 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 643: ...643 9 Error Messages ...
Страница 672: ...672 ...
Страница 682: ...Index 682 ...