HP (Hewlett-Packard) Drive Network Card User Manual


 
24
Chapter 2
10 Expand “Configuration Properties”
11 Expand “Linker”
12 Select Input. In the Additional Dependencies field, type
“hp34401a.lib”
13 Select OK.
14 To add the hp34401a instrument driver header file to your program, type the
following statement following the existing header file reference:
#include “hp34401a.h”
15 From the Main Menu, select Build and click Build IVIDemo.
Declare Variables
1 You will need to declare some variables that will be used in your program. Type
the following lines after the { in the int main () statement:
ViSession session;
ViStatus error = VI_SUCCESS;
ViReal64 reading;