06-27-2012 05:59 PM
Hi,
When I want to load 'NIDAQmx.h' in matlabusing this command
loadlibrary('nicaiu.dll','NIDAQmx.h','alias','myni')
I encounter the following Warning and Error:
Warning: Warnings messages were produced while parsing. Check the functions you intend to use for
correctness. Warning text can be viewed using:
[notfound,warnings]=loadlibrary(...)
> In loadlibrary at 344
Warning: The data type 'error' used by function DAQmxGetTaskAttribute does not exist.
> In loadlibrary at 403
Warning: The data type 'FcnPtr' used by function DAQmxRegisterEveryNSamplesEvent does not exist.
.
.
.
I have put both 'nicaiu.dll' and 'NIDAQmx.h' in the same folder that I am running my m-file. And I have added it to my Matlab path. I also have downloaded Windows SDK 7.1 for compiling Mex files and Perl software as is mentioned in the "loadlibrary" function help of Matlab. All the matlab Help examples for "loadlibrary" are working good without any warning. But I am stuck with loading NIDAQmx. I am stucked with this.
PS: I am using a R2012a 32 bit matlab on a 32 bit Windows 7 OS.
I would be really appreciative if you guys can help me in this.
06-28-2012 12:11 PM
Lissa,
Could you please refrain from double posting on the forums it makes posting the information more difficult. I'll post any responses I have to the other forum since this is a general DAQmx question not just digital IO.