Introduction to Programming The Agilent 816x VXIplug&play Instrument Driver
Agilent 8163A/B, 8164A/B & 8166A/B Mainframes, Fifth Edition 233
Microsoft Visual Ba sic 4.0 (or higher)
Please refer to your Microsoft Visual Basic man ual for information on
calling DLLs.
The BASIC include file is hp816x.bas. You can find this file in the directory
~vxipnp\win95\include, where ~ is the directory in the VXIPNP variable.
By default, ~ is equivalent to C:\. This means that the file is in
C:\vxipnp\win95\include.
You may also need to include the file visa.bas. visa.bas is provided wi th your
VISA DLL.
Agilent VEE 5.01 (or higher)
Your copy of Agilent VEE for Windows contains a docu ment titled Using
VXIplug&play drivers with Agilen t VEE for Windows. This document
contains the detailed information you need for Agilent VEE applications.
LabWindows CVI/ (R) 4.0 (or higher)
The Agilent 816x VXIplug&play Instrument Driver is supplied as a Dynamic
Link Library (.DLL) file.
There are several advantages to using the .DLL form of the driver, including
those listed below:
transportability across different c omputer platforms,
a higher level of support for the compile d driver from Agilent
Technologies,
a faster load time for your project.
LabWindows/CVI (R) will attempt by defaul t to load the source version of
the instrument driver. To load the DLL, you must include the file hp816x.f p
in your project. hp816x.fp can be found in the directory vxipnp\win95\hp816x.
Do not include hp816x.C in your project.
You must provide an include file for hp816x.H. You do this by ensuring that
the directory ~vxipnp\win95\include is added to the include paths (CVI
Project Option menu).
~ is the directory in the VXIPNP variable . By default, ~ is equivalent to C:\.
This means that the file is in C :\vxipnp\win95\include.