Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

64-bit lib for NI-DAQmx C

I am using MS V C++ 2005, a NI DIO-96 board, MS Vista 64. I am trying to do simple digital i/o. It appears that the DIO works fine on the 64-bit system, the SignalExpress seems to access the board, and my 32-bit C++ programs access the board. I want to use 64-bit C++ code.

The lib file for the NI-DAQ \DAQmx Ansi C Dev\Lib is apparently a 32-bit library (C++ 32 bit). Is there a 64-bit lib available?

Thanks, John
0 Kudos
Message 1 of 4
(4,640 Views)
 

Hi John,

Currently, there is not a 64 bit library available. Future versions of the driver may include this support - you can find the latest release here. I would encourage you to put in a product suggestion for this if you are interested in this functionality.

Is there a specific need for the 64 bit code? There really wouldn't be a performance increase as far as the DIO-96 is concerned...

Cheers,

Andrew S

0 Kudos
Message 2 of 4
(4,619 Views)

Hello NI Support,

Just curious if anyone knows if NI is going to release 64-bit NI-DAQmx lib? I have PCI-6602 hardware

My test tool is linking to NI-DAQmx lib and needs to be compiled into 32 bit and 64 bit ( for use in 64 bit OSes, Vista 64 and XP 64 ).

When I compile with VS2005 (C++) for 64-bit I am getting a lot of link errors looking like this:

error LNK2019: unresolved external symbol DAQmxSetCIDataXferMech referenced in function ....

Is this because there I don't have a 64-bit NI-DAQmx lib?

Can anyone suggest another way for my 64-bit test tool to run on 64 bit OS using NI-DAQmx functions? Other threads mention a DAQmx.dll which can be dynamically loaded into application, but I could not find on my system. Where should it be? Traditional DAQ had the nidaq32.dll which we can load the export functions. Does NI-DAQmx have something similar? 

Thanks,

Geoff

 

0 Kudos
Message 3 of 4
(4,404 Views)
 
 

Hello Geoff,

There is not a 64 bit library currently available for DAQmx.  Future versions of the DAQmx driver could include this support.  The DAQmx library for Vistax64 is a 32 bit library.  Since there is not a 64 bit library for DAQmx, it will be necessary to develop the code in 32 bits. 

Windows XP 64 is not supported by any version of DAQmx.  If you have a strong desire to use National instruments hardware on 64-bit versions of Windows XP, consider one of the NI Driver Development Kits or contact your NI Sales Representative. 

Message Edited by BrowningG on 10-31-2007 03:01 PM

Regards,
Browning G
FlexRIO R&D
0 Kudos
Message 4 of 4
(4,374 Views)