431
Chapter 7, 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""’"
Содержание 8921A
Страница 14: ...14 ...
Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...
Страница 24: ...Contents 24 9 Error Messages ...
Страница 25: ...Contents 25 Index 593 ...
Страница 26: ...Contents 26 ...
Страница 27: ...27 1 Using HP IB ...
Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...
Страница 59: ...59 2 Methods For Reading Measurement Results ...
Страница 71: ...71 3 HP IB Command Guidelines ...
Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 95: ...95 4 HP IB Commands ...
Страница 100: ...100 Adjacent Channel Power ACP ...
Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...
Страница 236: ...236 Triggering Measurements ...
Страница 237: ...237 5 Advanced Operations ...
Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...
Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...
Страница 361: ...361 7 IBASIC Controller ...
Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...
Страница 563: ...563 9 Error Messages ...
Страница 592: ...592 ...