295
S:\HP8924C\USRGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 6, 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"
:STATe? The STATe? query command is used to query, from an external
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$
:STRing <varname>{,<svalues>} The :STRing command is used to set, from an
external controller, the value of string variables or string arrays in an IBASIC
program in the Test Set. <varname> is the name of an existing string variable or
string array in the IBASIC program. <svalues> is a list of comma-separated
quoted strings which are used to set the value of <varname>.