Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

sub millisecond resolution clock in labview

$
0
0

Labview_help.png

Hi,

 

I've a pretty simple data collection task. I'm using Ni Daq to collect data. Now, I'd like to collect my data every 100ms and store it in a file once the data collection task is done. So, I used 'wait until next ms multiple' clock feature to execute my while loop every 100ms. However, I'm getting a couple of extra data points in the file. I can see that the loop doesn't always execute at every 100ms, but it ranges from 98-102ms (I get it from relative clock feature I'm using to record time difference between two successive points collection). 

 

is there a way to make it execute every 100ms? I also tried 'high resolution wait time' but even then I'm getting a few extra points. My system runs on windows 11 if it helps to pin down the problem. Also, if I remove the wait time the loop takes about 7ms to execute. 


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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