ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time inside Timed Loop

Solved!
Go to solution

Hello,

 

I have a timed loop where I perform some calculations and events and then I save some data in a file, the loop is executed each 1 second.

What I want is to save the data I colected in the loop, each 10 seconds, but I am not able of achive it.

How could I do it?

 

I add an example of the problem I'm trying to describe. 

 

Example1Example1

 

 

0 Kudos
Message 1 of 3
(2,465 Views)

Hi yavs,

 

you might save the data on every 10th iteration. Or change the iteration time to 10s…

 

but I am not able of achive it.

What exactly have you tried?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,438 Views)
Solution
Accepted by yavs

You drew a decorative box around the code in question.  Imagine if you had draw a case structure instead?

 

That along with Gerd's advice will get you there.

Message 3 of 3
(2,429 Views)