438
Chapter 7, IBASIC Controller
PROGram Subsystem
The program execution states are defined as follows:
• RUNNING, the program is currently executing.
• PAUSED, the program has reached a break in execution but can be continued.
• STOPPED, program execution has been terminated.
Syntax
PROGram[:SELected]:STATe RUN|PAUSe|STOP|CONTinue
Example
OUTPUT 714;"PROGram:SELected:STATe RUN"
or
OUTPUT 714;"PROG:STAT RUN"
Table 42 Effect of STATe Commands
Desired State of
IBASIC Program
(STATe command
sent to Test Set)
Current State of IBASIC Program
RUNNING PAUSED STOPPED
RUN HP-IB Error: -221
Settings conflict
RUNNING RUNNING
CONT HP-IB Error: -221
Settings conflict
RUNNING HP-IB Error: -221
Settings conflict
PAUSE PAUSED PAUSED STOPPED
STOP STOPPED STOPPED STOPPED