01-30-2023 03:19 AM
Hello!
I wonder how to implement different time intervals for plotting data on the chart/graph, and for logging? Using LabView 2015 SP1 .
For example: plot measurements every 1 second, but record only every 1 minute? Any examples / KB to read?
Thank you!
Solved! Go to Solution.
01-30-2023 05:02 AM
Hi Ye,
@YePererva wrote:For example: plot measurements every 1 second, but record only every 1 minute?
Have your loop iterate once per second to plot measurement data.
On each 60th iteration you also record data: you just need a case structure and Q&R (quotient&remainder)…
01-30-2023 06:38 AM
Would it be still possible to bound those intervals with inputs to change those on the lfy?
01-30-2023 06:44 AM
Hi Ye,
@YePererva wrote:
Would it be still possible to bound those intervals with inputs to change those on the lfy?
Yes.
02-10-2023 03:05 AM
I found storing timestamp of the previous log and comparing with desired time interval to work better and give some flexibility.
02-10-2023 12:05 PM
@YePererva wrote:
I found storing timestamp of the previous log and comparing with desired time interval to work better and give some flexibility.
YES, this is the proper way to do something like this.