Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

64-bit acqusition buffers?

After a long time away, I'm back to programming with NI-DAQmx C interfaces! My project right now is to port our DAQ module to 64 bits.

 

I see that lots of the API's have 32-bit parameters for buffer sizes or SamplesWritten (or Read). For instance, DAQmxReadBinaryXXX() functions all have int32 for both the numSampsPerChannel and for sampsPerChanRead.

 

Is this a fundamental limitation of NI-DAQmx? Or are there newer API's with 64-bit specs?

 

Thanks!

John Weeks

WaveMetrics, Inc.

John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
0 Kudos
Message 1 of 3
(2,958 Views)

Hey John,

Check out this KB, it has the location of the 64-bit DAQmx library. Some of the parameters are still defined in 32-bit I believe.

 

Ren H.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(2,933 Views)

Thanks, Ren. I found that page. It has the *wrong* location. The driver I installed puts that "shared" folder in Program File (x86).

 

And sure enough, a lot of critical input parameters are still defined as 32-bit quantities. That makes it impossible to acquire data into huge buffers. My scientist customers will be disappointed. But at least it will work with our 64-bit application.

 

-John Weeks

John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
0 Kudos
Message 3 of 3
(2,929 Views)