EasyManua.ls Logo

Agilent Technologies VEE Pro

Agilent Technologies VEE Pro
577 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
420 Chapter 11
Optimizing Agilent VEE Programs
Using Dynamic Link Libraries
Figure 11-8. A Program Using a DLL (MANUAL49)
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.

Table of Contents

Related product manuals