Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture from the 6115 at 10MS/s/c on all 4 channels

I am trying to run a program to capture from NI's 6115 card using LabVIEW 9.0 and DAQmx 9.0. When i run example Con't Acq & Graph Voltage-Int Clk i will get error -200279.I am trying to capture at 10MS/s on all 4 channels. I can only get about a seconds worth of data. I am currently running this on a Vista Computer with 12GB Ram and a 2.67GHz i7 CPU. 

 

Thanks

Marcus 

0 Kudos
Message 1 of 3
(3,273 Views)

Marcus,

That error occurs because the buffer is filling up faster than your program is emptying it.  Here is a KnowledgeBase article with ideas that might help you out.  

 

-Christina

0 Kudos
Message 2 of 3
(3,250 Views)

Hi Marcus,

 

10 MHz * 4 channels * 2 bytes per sample  is going to be 80 Million bytes per second which is getting close to the practical limit of the PCI bus but should still be doable.  The issue you are seeing is that you are not pulling data from the buffer (on your PC) quickly enough, but with the large amount of data you are sampling we have to be efficient with our programming.

 

What do you need to do with all of this data? 

If you are logging to a file, the best way to do this is going to be with the new TDMS Logging features introduced in DAQmx 9.0.  This is assuming you have a RAID or Hard Drive capable of writing at least 80 MB/sec.

 

If you're processing the data in LabVIEW, you need to make sure that your loop rate can keep up with the data that is coming in.  I would suggest to NOT graph the data on the fly or to at least decimate before plotting.

 

I would suggest logging to the TDMS file if possible and post-processing the data, but we'd need more information about what you need to do exactly to confirm that this would be the best solution.

 

 

Best Regards,

John

John Passiak
Message 3 of 3
(3,245 Views)