beautypg.com

Before executing your program, Before executing your program -26 – Agilent Technologies Agilent E5250A User Manual

Page 162

background image

6-26

Agilent E5250A User’s Guide, Edition 11

Programming the E5250A
Using the VFP Data Upload Library

Before Executing Your Program

Before executing a program that uses subprograms from the VFP Data Upload
Library, do the following:

1. Link the library to your program:

Link the library as shown in the following example. The VFP Data Upload
Library is an ASCII file on the E5250A Program Disk.

a. GET the file UPLOAD from the E5250A Program Disk.

GET "UPLOAD"

b. RE-STORE the file.

RE-STORE "U_LIB"

c. LOAD your program.

d. Link the library to your program by using the LOADSUB statement:

LOADSUB ALL FROM "U_LIB"

2. Change the mass storage device

Before executing your program, you must set the mass storage device to the
device that has the file that will be loaded by Load_vfp_data subprogram.

For example, if the file is on the device ":CS80,701,1", you should change the
mass storage device by using the MSI statement:

MSI ":CS80,701,1"

Or you can specify the mass storage device as follows:

Load_vfp_data(Address_5250,"LOAD_FILE:CS80,701,1",Setup_data$)