![HP 8920B Programmer'S Manual Download Page 445](http://html.mh-extra.com/html/hp/8920b/8920b_programmers-manual_166189445.webp)
445
Chapter 7, IBASIC Controller
PROGram Subsystem
:WAIT?
The :WAIT? query command stops the Test Set from executing any
commands or queries received through HP-IB until after the IBASIC program
exits the RUN state, that is - the program is either PAUSED or STOPPED. A 1 is
returned in response to the :WAIT? query command when the IBASIC program is
either stopped or paused.
CAUTION:
When the :WAIT? query command is sent to the Test Set the program running on the external
controller will hang on the enter or input statement until the IBASIC program is either
STOPPED or PAUSED. This is due to the fact that the HP-IB bus and the external controller
will be in a temporary holdoff state while waiting for the Test Set to put a 1 into the Output
queue to satisfy the :WAIT? query command.
Syntax
PROGram[:SELected]:WAIT?
Example
OUTPUT 714;"PROGram:SELected:WAIT?"
ENTER 714;Dummy
or
OUTPUT 714;"PROG:WAIT?"
ENTER 714;Dummy
Consider the following example where the user wishes to determine, from an
external controller, if the IBASIC program running on the Test Set has finished
executing. The example programs show how this might be accomplished with and
without using the :WAIT? query command.
Summary of Contents for 8920B
Page 10: ...10 ...
Page 16: ...Contents 16 9 Error Messages Index 673 ...
Page 17: ...17 1 Using HP IB ...
Page 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Page 49: ...49 2 Methods For Reading Measurement Results ...
Page 61: ...61 3 HP IB Command Guidelines ...
Page 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Page 85: ...85 4 HP IB Commands ...
Page 90: ...90 Adjacent Channel Power ACP ...
Page 116: ...116 Configure I O Configure ...
Page 156: ...156 Call Processing ...
Page 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Page 242: ...242 Common Command Descriptions ...
Page 251: ...251 5 Advanced Operations ...
Page 377: ...377 7 IBASIC Controller ...
Page 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Page 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Page 643: ...643 9 Error Messages ...
Page 672: ...672 ...
Page 682: ...Index 682 ...