Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66787

High sample rate for 18 channels in single task - DAQmx

$
0
0

Hi there

 

My current experiments require acquisition of 18 channels (6 AI Custom Voltage with Excitation, 12 AI Voltage) of data at a sample rate of 50kHz. My question is if this is faesible using a single cDAQ-9172 chassis. The modules being used are 2 x NI 9237 and 4 x NI 9215.

 

The previous researcher on this project used 2 different DAQs to do this, but I was hoping I could reduce it down to a single DAQ to simplify synchronisation of all the channels. 

 

I have written a *.vi (attached) to do this and write to a TDMS file using a producer-consumer structure; however, when I run the *.vi, I can leave it to run for minutes, but the number of samples recorded to the TDMS are rarely more than 100k. Eventually a buffer size error occurs (trying to read samples that have been overwritten) with less than 200k samples ever recorded. I checked the max sample rate (using a timing property node) with the task configured as in the *.vi, and it indicates a max of 235kHz. 

 

I cannot tell whether I am just doing the producer consumer structure incorrectly or if I am asking too much of the single cDAQ-9172?

 

Any help would be very much appreciated.

 

Cheers

Bart

 

 


Viewing all articles
Browse latest Browse all 66787

Trending Articles



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