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

Lagging Timed Loop + Waveform Charts not Working

$
0
0

Hi Everyone,

 

So I have two issues with this program (I am fairly new to Labview and have been struggling). 

1.) I am obtaining data from two different DAQs, the task is started in the for loop and the aquistion is done in the timed loop. I want to get data once a second and then after one minute, it is averaged and written to an external file. As it is set up, after a while of running it begins to lag and starts taking data about once every three seconds, even though the timed loop is set to complete once a second. Why is it doing this? Do I need to change the outer for loop to a timed loop as well that executes every one minute? It just seems strange that it would begin to get slower and slower, as a rate of 1 hz is slow already.

 

2.) And the other issue is that all the waveform charts inside the timed loop do not graph anything! the numeric indicators are working, and the Y axis scales itself on the chart, but nothing is plotted and the x axis does not scale itself. I am aware there is no time stamp, as I have not worked that in anywhere to start the charts at, but why would it not be graphing at all?

 

Thank you, and any help is much appreciated!!

-Lori


Viewing all articles
Browse latest Browse all 66720

Trending Articles



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