08-08-2016 03:32 PM
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.
08-09-2016 10:05 AM
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.
08-09-2016 10:49 AM
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