01-20-2014 03:30 PM
Hello,
I was wondering if any new information for building 64-bit applications using NI-CAN and NI-XNET CAN devices was available. The driver package supports 64-bit Windows, but the programming library/DLL are still 32-bit only.
Thank you.
01-21-2014
10:38 AM
- last edited on
11-14-2024
09:24 AM
by
Content Cleaner
JaremyP,
That is still the case. This white paper points out that the NI-CAN and NI-XNET drivers are supported on 64-bit Windows, only while using using 32-bit Software.
Thanks,
03-05-2015
10:16 AM
- last edited on
11-14-2024
09:25 AM
by
Content Cleaner
I have the same question a year later. I would like to build a 64-bit windows executable that uses CAN. The white paper https://www.ni.com/en/support/documentation/compatibility/09/national-instruments-product-compatibil... seems to say that full 64-bit software support has been available for NI-XNET since version 14.0. However, I have NI-XNET 14.1 installed with the CAN compatibility layer, and I can only find a 32-bit version of nicanmsc.lib.
03-06-2015 03:00 AM
there is no 64bit support for NI-CAN available so far.
If you want to use CAN under 64bit applications you need to move entirely using NI-XNET hardware and driver software.
03-06-2015 09:37 AM
It looks like I'll have the same problem trying to use XNET directly. My NI-XNET installation contains only one version of nixnet.lib in C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\lib32\msvc. How should I link my 64-bit executable?
03-06-2015 10:01 AM
I checked with NI-XNET 14.5 and there is a
Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\lib64\msvc\nixnet.lib
installed. Which XNET revision do you use?
03-06-2015 10:04 AM
I have NI-XNET 14.1 installed. I'll upgrade to 14.5 and see if I can find the 64-bit library. Thank you very much.