Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

setting buffer for DMA channels manually

Is there a way to manually increase the buffer size for DMA channels? I want to collect 10 seconds of data on eight channels at 4000hz. I running mac osx and using a PCI mio 16E card. I keep getting error 42 (DMA buffer overflow) when increasing the sampling rate or the number of samples per channel.
0 Kudos
Message 1 of 2
(2,885 Views)
In LabVIEW with DAQmx Base 1.5, there is a VI that overrides the automatic buffer size allocation called DAQmx Base Configure Input Buffer. You can use this to set the number of samples per channel for the acquisition. Another solution to this issue, without increasing the buffer size, would be to read fewer samples more often by putting the DAQmx Base Read in a while loop, rather than trying to read all at once.

Regards,
Andy F.
Applications Engineer
National Instruments
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 2 of 2
(2,872 Views)