User`s manual

Chapter 8 289
IBASIC Controller
PROGram Subsystem
Downloading An IBASIC Program Into the Test Set
The following procedure uses the PROGram Subsystem commands to
transfer an IBASIC program, which is resident in the memory of the
external controller, from the external controller to the Test Set. This
procedure assumes the Test Set’s HP-IB address is set to 14. The
example also assumes the external controller is an HP 9000 Series 300
Controller.
1. Access the Test Set’s TESTS (IBASIC Controller) screen.
2. Enter a program into the external controller. Use the sample
program below if no program is available. When run, the sample
program clears the Test Set’s IBASIC controller display area, and
prints a message indicating that the download procedure worked.
Example 8-57 Example
10 !THIS IS A SAMPLE PROGRAM
20 CLEAR SCREEN
30 PRINT "DOWNLOADING COMPLETED"
40 END
3. Execute the following commands on the external controller:
Example 8-58 Example
OUTPUT 714;"PROG:DEL:ALL"
OUTPUT 714;"PROG:DEF #0"
LIST #714
OUTPUT 714;" "END
4. To verify that the program was downloaded, execute the following
commands from the external controller:
Example 8-59 Example
OUTPUT 714;"PROG:EXEC ’LIST’"
The program should be listed on the Test Set’s TESTS (IBASIC
Controller) screen.
5. Run the program on the Test Set by first selecting the LOCAL key on
the front panel of the Test Set and then selecting the Run key on the
Test Set’s TESTS (IBASIC Controller) screen.