User`s manual
286 Chapter 8
O:\Manuals\E6380A_Progguid\Book\Ibasic.fm
IBASIC Controller
PROGram Subsystem
Example 8-47 Example BASIC program without using the :WAIT? query
command
10 OUTPUT 714;"PROG:STAT RUN"
20 LOOP
30 OUTPUT 714;"PROG:STAT?"
40 ENTER 714;State$
50 EXIT IF State$="STOP" OR State$="PAUS"
60 END LOOP
70 DISP "IBASIC program not running."
80 END
Example 8-48 Example BASIC program using the :WAIT? query command
10 OUTPUT 714;"PROG:STAT RUN"
20 OUTPUT 714;"PROG:WAIT?"
30 ENTER 714;Dummy !Program will hang here until IBASIC
program stops
40 DISP "IBASIC program not running."
50 END