LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to measure/plot data, and logg it on the different time intervals?

Solved!
Go to solution

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!

 

0 Kudos
Message 1 of 6
(873 Views)
Solution
Accepted by topic author YePererva

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)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(847 Views)

Would it be still possible to bound those intervals with inputs to change those on the lfy?

0 Kudos
Message 3 of 6
(829 Views)

Hi Ye,

 


@YePererva wrote:

Would it be still possible to bound those intervals with inputs to change those on the lfy?


Yes.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(823 Views)

I found storing timestamp of the previous log and comparing with desired time interval to work better and give some flexibility.

Message 5 of 6
(764 Views)

@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. 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 6
(747 Views)