
325
Chapter 6, IBASIC Controller
PROGram Subsystem
:STATe RUN|PAUSe|STOP|CONTinue
The STATe command is used to set, from
an external controller, the execution state of the IBASIC program in the Test Set.
Table 35
defines the effect of setting the execution state of the IBASIC program to
a desired state from each of the possible current states.
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 35
Effect of STATe Commands
Desired State of
IBASIC Program
(STATe command sent
to Test Set)
Current State of IBASIC Program
RUNNING
PAUSED
STOPPED
RUN
GPIB Error: -221
Settings conflict
RUNNING
RUNNING
CONT
GPIB Error: -221
Settings conflict
RUNNING
GPIB Error: -221
Settings conflict
PAUSE
PAUSED
PAUSED
STOPPED
STOP
STOPPED
STOPPED
STOPPED
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com