414 Chapter 11
Optimizing Agilent VEE Programs
Overview of Compiled Functions
Overview of Compiled Functions
You can use a compiled function in a VEE program, such as a DLL
(Dynamic Link Library). To do so, you must obtain the compiled function or
follow these steps to create it:
1. Write functions in C, C++, Fortran, or Pascal and compile them.
2. Write a definition file for the functions.
3. Create a shared library containing the compiled functions.
Benefits of Using Compiled Functions
Using compiled functions in a VEE program offers the following benefits:
n Faster execution speed
n Leveraging current test programs in other languages
n Developing data filters in other languages and integrating them into VEE
programs
n Securing proprietary routines
Note Adding compiled functions adds complexity to the development process.
Therefore, use a compiled function only when the capability or performance
that you need is not available with one of the following: a VEE
UserFunction, an Execute Program escape to the operating system, or
an ActiveX Automation call to another program.