From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Need DLL for Windows 7 64bit

Solved!
Go to solution

Hello,

 

I am using the USB-6501 to control an attenuator.  I have written the driver to work with WinXP, but now that I am trying to use it on Win 7 64 bit, it is causing an error.  At first it complained about not having C++ studio 2008 (we had 2010), and we have fixed that.  Now it seems to be complaining about the DLL.  I talked to NI, and they think that we need a different DLL for Win 7 64 bit.  Can anyone tell me where I can get the DLL?  Will it get installed in the System32 directory if I install the latest driver for Win 7?  Any help would greatly appreciated...

 

Thanks,

 

Steve

0 Kudos
Message 1 of 3
(3,902 Views)
Solution
Accepted by topic author Zot

I found the new version DLL (nicaiu.dll) in the System32 directory when I installed the updated driver for Win 7 64bit and copied over to my local directory.  I also copied the new nidaqmx.h file over to my local directory.  I am still getting the following error from MatLab:

 

Loading nicaiu.dll...

??? Error using ==> loadlibrary at 365

Failed to preprocess the input file.

 Output from preprocessor is:'cl' is not recognized as an internal or external command,

operable program or batch file.

 

 

Error in ==> USB_6501_driver at 38

        funclist = loadlibrary('nicaiu.dll','nidaqmx.h','alias','myni');

 

Any help would be greatly appreciated.

 

Thanks,

 

Steve

 

 

 

0 Kudos
Message 2 of 3
(3,897 Views)

Created new thread with better explanation...

0 Kudos
Message 3 of 3
(3,889 Views)