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$)

6-26

Agilent E5250A User’s Guide, Edition 9

Page 162
Image 162
Agilent Technologies Agilent E5250A manual Before Executing Your Program