299
S:\HP8924C\USRGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 6, IBASIC Controller
PROGram Subsystem
CAUTION: The Test Set will continue to process HP-IB commands into the HP-IB input buffer
up to the point that the buffer is full. If the external controller attempts to send
more commands than can fit into the HP-IB input buffer before the IBASIC
program is PAUSED or STOPPED, the HP-IB bus will appear to be locked up.
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 HP-IB input buffer to empty.
If a query command is sent to the Test Set while the IBASIC program is under the
influence of a :WAIT command, no data will be put into the Test Set’s Output Queue until
the IBASIC program is either PAUSED or STOPPED. If the external controller attempts
to enter the queried data before the IBASIC program is PAUSED or STOPPED, the HP-
IB bus will appear to be locked up. 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 data to be put
into the Output queue to satisfy the enter command.
Syntax
PROGram[:SELected]:WAIT
Example
OUTPUT 714;"PROGram:SELected:WAIT"
or
OUTPUT 714;"PROG:WAIT"
: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.