LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2011 and the USB-845x

Hello there,

 

I was curious to see if anyone else had the same problem and a resolution to my issue. I have Windows 7 x64 and recently did a clean install of LabVIEW 2011 x64. I have a USB-8451 SPI/I2C card that I am trying to make available to use in LabVIEW. The newest drivers (2.0) say in the readme file that Windows 7 x64 is supported and that LabVIEW 2011 x86 is supported but not x64. I installed and tried it out to no avail. However upon copying and pasting from the Program Files x86 to the Program Files (64-bit) LabVIEW folder, I now have the 845x palette available under the Instrument I/O main palette but everytime I choose one for the block diagram it asks for the location for the ni845x.dll shared library file. The only one I found on the whole system was in C:/Windows/SysWOW64 and I link to that file and now the VI's error out saying the library wasn't found/loaded and am just stuck now. Any help would be greatly appreciated.

 

Thanks

0 Kudos
Message 1 of 2
(2,333 Views)

The issue has to do with being able to (or rather not being able to) load 32-bit DLLs into a 64-bit process. While the driver readme says that it's compatible for both Windows 7 32-bit and 64-bit, that's not the same thing as saying the DLL is 64-bit. And in order to be able to use it from LabVIEW 64-bit you need a 64-bit DLL. This is an operating system limitation, not a LabVIEW one. Thus, you have to use LabVIEW 32-bit. Your license allows you to install both 32-bit and 64-bit, so unless you have a specific reason to use 64-bit LabVIEW (like you're trying to manage gobs of memory), stick with 32-bit LabVIEW for now.

0 Kudos
Message 2 of 2
(2,329 Views)