Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi,


My c complier cannot find any NIDAQ functions although i #inculde"nidaq.h" command, but it works with #include "C:\program files\national instruments\NIDAQ\include folder. Why is this so?




Your help will be greatly appreciated.............
0 Kudos
Message 1 of 3
(3,646 Views)
The quotes around the nidaq.h tell the compiler to search (in order) the current path, the command line path, the standard path. Angle brackets ( < and > )
around the nidaq.h the compiler will search (in order)
the command line path, the standard path ( will not search the current path).
If the path to the file is not in any of these search locations, you must specify the full path.

Kevin Kent
0 Kudos
Message 2 of 3
(3,646 Views)
try either nidaqex.h or dataacq.h, both of which can be located on the cd that contains the drivers for your hardware.
0 Kudos
Message 3 of 3
(3,646 Views)