HP (Hewlett-Packard) Drive Network Card User Manual


 
49
Chapter 5
• • • • • •
Using IVI with LabWindows
TM
/CVI
TM
The Environment
National Instruments LabWindows/CVI is an ANSI-C integrated development
environment that provides a comprehensive set of programming tools for creating
test and control applications. LabWindows/CVI combines the longevity and
reusability of ANSI-C with engineering-specific functionality designed for
instrument control, data acquisition, analysis, and user interface development.
Example Requirements
LabWindows/CVI 8.1
Agilent 34401A IVI-C specific driver, Version 4.1, October 2006 (from National
Instruments)
Download and Install the Driver
If you have not already installed the driver, go to the vendor Web site and follow the
instructions to download and install it. You can also refer to Chapter 1, Download
and Install IVI Drivers, for instructions.
This example uses an IVI-C driver. IVI-C is the preferred driver for
LabWindows/CVI.
Create a New Project and Add Instrument Driver Files
1 Launch LabWindows/CVI.
2 Select File, select New, and click Project.
3 To create a new C source file, select New and click Source (*.c). Save the file.
4 Select Edit and click on Add Files to Project to add the C source file to your
project.
5 Select Edit and click on Add Files To Project to add one of the following
instrument driver files to your project: hp34401a.fp, hp34401a.c, or
hp34401a.lib.