03-12-2007 08:50 PM
03-14-2007 04:01 AM
Hi Gavril,
The fastest way to collect data from DAQmx devices is through DAQmxReadRaw function.
You can find the function description under Start>>Programs>>National Instruments>>NI-DAQ>>NI-DAQmx C Reference Help.
This function does not perform typecasting leaving you the burden, you have to know very well how the xxBit of your ADC map your signal.
Unfortunately there aren't DAQmx functions that directly output single precision floating.
The link below briefly describe how DMA transfer take place maybe can help you figuring out the workload of your processor.
http://www.eventhelix.com/RealtimeMantra/FaultHandling/dma_interrupt_handling.htm
I'm pointing this 2 link out since you need to perform DMA transfer and DMA channel are limited on E series devices.
How Many DMA Channels Does My E Series Data Acquisition (DAQ) Device Have?
How Many DMA Channels Does My M Series Data Acquisition (DAQ) Device Have?
Hope this may help you.
Bye