User`s guide

352 VEE User’s Guide
9 Using Agilent VEE Functions Chapter
3 Open the object menu and select Load Lib to import the
library immediately instead of waiting until runtime. This
command is very useful in the development stage. (In the
next step, you will notice that when choosing Select Function
in the Call object, the functions are designated with the
library handle first, such as myLib.BuildRecAry.)
To display the library of imported functions, use the Program
Explorer.
Table 3 8 Import Library Fields
Import Library
Fields
Description
Library Type The menu in the Library Type field allows you to select a
UserFunction, a Compiled Function, or a Remote Function.
In this case you want a UserFunction library, so leave the
default.
Library Name The Library Name shows
myLib as a default. This name is
used as a “handle” by the VEE program to distinguish
between different libraries being imported. The Delete
Library object uses this name to identify the library to be
deleted. You can use the default name.
File Name The File Name
field shows a dialog box for the user program
directory by default. Specify the file that holds the library of
functions.
Click the default name
myFile to get the list box. Select
RepGen.vee (from “Lab 9-2: Creating and Merging a
Library of UserFunctions" on page 344). This file will be in
the directory you specified for your programs during
installation.
NOTE
Because you have imported the library, you can only view the
UserFunction and set breakpoints for it. You cannot edit the UserFunction.
To add a UserFunction to a program that can be edited, use the Merge
Library... command.