EasyManua.ls Logo

HP 8924C - Page 301

HP 8924C
350 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
301
S:\HP8924C\USRGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 6, IBASIC Controller
PROGram Subsystem
Using the EXECute Command
The PROGram:EXECute command can be used to list, edit and control IBASIC
programs in the Test Set from an external controller. This eliminates having to use
the cursor control knob and provides a more efficient way of making small
changes to programs. The full range of IBASIC program commands can be
executed from an external controller using the PROGram:EXECute command.
The following operations are given as typical examples of using the
PROGram:EXECute command.
NOTE: The program commands and syntax used to send data from the external controller to the Test
Set will depend upon the programming language used in the external controller. The
examples which follow represent the capabilities of HP Rocky Mountain BASIC
programming language running on an HP 9000/300 Series Controller.
When a PROGram Subsystem command is sent to the Test Set through HP-IB
from an external controller the Test Set is put into REMOTE mode. The Test Set
must be put in LOCAL mode to use the front panel keys or to use the serial ports
to input data into the IBASIC Command line.
Entering a new IBASIC program line
IBASIC program lines can be entered directly into the Test Set’s RAM memory,
one line at a time, from an external controller using the PROGram:EXECute
command as follows:
PROG:EXEC ’<new program line number/program line>’
where <new program line number/program line> represents a valid IBASIC
program line.
For example, to enter the following new program line into the Test Set,
20 A=3.14
execute the following command from the external controller:
OUTPUT 714;"PROG:EXEC ’20 A=3.14’"
Quoted strings, such as those used in PRINT commands, must use double quotes.
For example,
OUTPUT 714;"PROG:EXEC ’30 PRINT ""TEST""’"

Table of Contents

Related product manuals