User`s manual

288 Chapter 8
O:\Manuals\E6380A_Progguid\Book\Ibasic.fm
IBASIC Controller
PROGram Subsystem
Example 8-52 Example
OUTPUT 714;"PROG:EXEC ’30 PRINT ""TEST""’"
Editing an existing IBASIC program line
Existing IBASIC program lines which are resident in the Test Set’s
RAM memory can be edited, one line at a time, from an external
controller using the PROGram:EXECute command as follows:
Example 8-53 Example
PROG:EXEC ’<existing program line number/modified program line>’
where <existing program line number/modified program line>
represents an existing IBASIC program line.
For example, to edit the following existing program line in the Test Set.
Example 8-54 Example
30 OUTPUT 814;"AFAN:DEMP:GAIN 20 dB"
to
30 OUTPUT 814;"AFAN:DEMP:GAIN 10 dB"
execute the following command from the external controller:
Example 8-55 Example
OUTPUT 714;"PROG:EXEC ’30 OUTPUT 814;""AFAN:DEMP:GAIN 10 dB""’"
Quoted strings, such as those used in OUTPUT commands, must use
double quotes.
Listing A Program
Execute the following command on the external controller to list an
IBASIC program that is resident in the Test Set to the currently
specified IBASIC Controller LIST device.
Example 8-56 Example
OUTPUT 714;"PROG:EXEC ’LIST’"