02-03-2015 02:30 PM
I have re-installed NIDAQ multiple times, making sure ANSI-C support was included. NIDAQmx.h is installed, but NIDAQmx.lib is not! Can I just download the .lib? I am running version 14.0 f1.
Solved! Go to Solution.
02-03-2015 03:39 PM
@Euticus wrote:
I have re-installed NIDAQ multiple times, making sure ANSI-C support was included. NIDAQmx.h is installed, but NIDAQmx.lib is not! Can I just download the .lib? I am running version 14.0 f1.
Windows 7 : C:\Program Files (x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\lib\msvc
02-03-2015 03:45 PM
Thank you! That was the most useful info I ever got off this website. For some reason, windows search did not find it.
05-19-2023 04:53 AM
hi, I work in W11 x64 PC. I'm working in MATLAB2023 a 64, developing some code written in ANSI C. When I link the header file NIDAQmx.h to NIDAmx.lib, it does not work: the functions of the library are not defined, the variable declared as float64 is not compatible with the argument float64, the library NIDAQmx.lib is created in x86 and is not compatible with x64 architecture. In Visual C the NIDAQmx.lib works fine. with minGw64 I have to link NIDAQmx.h to the C:\Windows\System32\nicaiu.dll directly.
MATLAB does not work code C linking header files to dynamic library, .dll. I think it should be nice can get the static library created under X64 architecture, .lib, but I don’t know so hard can be compile it. Is there any probability for obtain NIDAQmx.lib in 64 bits version?
P.S.: I think as you that this in no the best place to post this, but I didn’t find anyone better than this post.