Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Large number of data points in a finite acquisition (DAQmx Error -200306)

I'm trying to capture a large number (30 million+) of finite samples using the LabVIEW example Acq&Graph Voltage -Int Clk.vi from a PCI 6115 and I get DAQmx error -200306.  This error states that Samples per Channel in DAQmx Timing.vi is limited to 16.7 million samples.  I haven't been able to find much on this error in the help files nor the support forums, so I'm having trouble trying to figure out a work around.  Perhaps I'm missing something fundamental.  Any help would be appriciated.  I've included my machine and software setup, in case its a bug that has been fixed in a new version of DAQmx or LabVIEW.

Software specs
Windows XP SP2
LabVIEW 8.2
DAQmx 8.6

Machine specs
Core 2 Quad 2.4 Ghz
4 Gb of System RAM


Thanks,
Chris Davis
0 Kudos
Message 1 of 2
(2,761 Views)

Hi CSD,

For that many samples I would recommend setting up a continuous acquisition and stopping the task once you have read the number of samples you need. Take a look at the Cont Acq&Graph Voltage – Int Clk.vi example. Each iteration of the loop the DAQmx Read vi will grab the number of samples to read from the buffer. You can use the loop iteration count times the number of samples to read to determine the number of samples you have read so far and then stop the loop once you have enough samples. Please let me know if you have any questions.

Thanks,

Nathan
NI Chief Hardware Engineer
0 Kudos
Message 2 of 2
(2,742 Views)