The STATe? query command is used to query, from an external
:STATe?
controller, the current execution state of the IBASIC program in the Test Set. The
return data (RUN, STOP, or PAUS) is sent as a series of ASCII characters.
The program execution states are defined as follows:
•
RUN, the program is currently executing.
•
PAUS, the program has reached a break in execution but can be continued.
•
STOP, program execution has been terminated.
Syntax
PROGram[:SELected]:STATe?
Example
OUTPUT 714;"PROGram:SELected:STATe?"
ENTER 714;State$
or
OUTPUT 714;"PROG:STAT?"
ENTER 714;State$
Chapter 7, IBASIC Controller
PROGram Subsystem
439