Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI9219 - Possible to read one sample per read? (ADCTimingMode set to High Frequency)

Solved!
Go to solution

I'm trying to take samples every 0.1 seconds from an NI9219.

 

I set up then converted a DAQ Assistant to code, because I had to change the AI.ADCTimingMode to High Speed. Sample rate is set to 10 Hz, and the samples to read are set to 1. This is all in a while loop. However, each iteration through the loop is returning 10 samples every one second, not 1 sample every 0.1 second.

 

The VIs are attached if it will help, LV2011 format.

 

Thanks in advance to any who take a stab at enlightening me as to why this is!

Download All
0 Kudos
Message 1 of 2
(2,831 Views)
Solution
Accepted by topic author Xooch

Ack, had the "number of sample" input of the DAQmx Read VI wired up inadvertantly. Disregard! Smiley Sad

0 Kudos
Message 2 of 2
(2,824 Views)