User`s guide

456 VEE User’s Guide
12 Optimizing Agilent VEE Programs Chapter
Figure 259 A Program Using a DLL (MANUAL49)
Table 4 9 Elements of Figure 259
Element Description
Import Library Before the first call to the compiled function Call Function,
the DLL must be loaded using the Import Library object (in
the Device menu).
Call Function MANUAL49 calls a compiled function called myFunc.
MyFunc requires a C datatype called long, which is the
same as a VEE Int32. This number specifies the size of an
array. The second input parameter is a pointer to an array of
reals. The definition file is located in
MANUAL49.H, and
the source file for the C code is located in MANUAL49.C.
MyFunc adds
1 to every element of the array.
Function
Generator
The Function Generator is used to create a waveform,
which is output to the array pin on the Call myFunc object.