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

Time gap in simultaneous measurement and control loop

$
0
0

Hi everybody,

I just started to learn labview so please don't judge my messy programming ;)

 

I want to continously measure some values (humidity, temperature etc.) and once a certain threshold is crossed, i want to activate a device. Measuring and activating stuff works perfectly if used seperately. If i combine it and measure for some time (10 samples to read 100Hz continous mode) I get the Error 200279 "Attempted to read samples that are no longer available".

 

If I use (100 samples to read 100Hz n samples) It measures for quite some time (manually aborted it after 4 hours) but i recognized that there was a time gap of half an hour between the system timem and the "actual" time shown in the chart.

 

Ah, and the whole thing is not really time critical. It's enough if it measures one sample per 5 seconds or so!

 

Is there any quick and dirty solution for that?

 

Thank your very much in advance,

Hendrik


Viewing all articles
Browse latest Browse all 66786

Trending Articles



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