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

Rate and samples to read when continuously acquiring data

$
0
0

I'm trying to understand the function of the parameters "rate" and "samples to read", when continuously acquiring data. I've made a simple VI where I'm continuously acquiring data from a simulated device (NI-9237) for a set amount of time (2 seconds). Initially I thought that the number of elements in the array would be equal to the rate * seconds that the VI is running. So if my sample rate is 2000 hz for 2 seconds I should have 4000 elements. Instead I'm seeing that the number of elements is equal to the value I set as the "number of samples". Can someone explain what I'm doing wrong? My end goal is I want to be able to acquire a pre-determined amount elements, thanks.

image.png

 

 


Viewing all articles
Browse latest Browse all 69543

Trending Articles



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