Quantcast
Viewing latest article 5
Browse Latest Browse All 652

high speed acquisition in c++

Hello, I have developed a code in C++ to acquire data on an NI USB 6212 card, in my application I have to acquire 4 parameters at 100kHz for 1 hour maximum;

on lab view there are solutions for high speed acquisition,Is there a possibility to do the same thing in C++?

I do a dynamic allocation on an array data ( DAQmxReadAnalogF64(taskHandle, numSamplesToRead, acquisitionTime * 6, DAQmx_Val_GroupByChannel, data, numSamplesToRead * 4, &numSamplesRead, NULL);)

so when I enter the frequency and the acquisition duration that I want I get an error that I cannot make this allocation.

Do you have any solutions to offer me?
thanks in advance.


Viewing latest article 5
Browse Latest Browse All 652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>