LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Beginner question: how do I get while loop to stop when time changes?

Solved!
Go to solution

Im using a 'Format Date/Time String vi' with a time format string of %H:%M, I want the while to stop looping, when the minute changes. How do I do tjis?

 

Cheers,

Sam 

0 Kudos
Message 1 of 4
(2,850 Views)

Hi Sam,

 

 

I hope the following ex help you.

 

If this is not you want kindly explain it further so that we can help you.

 

Regards,

 

Shrek

Message 2 of 4
(2,838 Views)
Solution
Accepted by topic author ssteel

Hi Sam,

 

instead of shrek's fiddling with strings and locals (property node.value is kind of local!) you should use a shift register and integer numbers...

CheckTime.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(2,823 Views)

Hi GerdW,

 

Hey you got it better.

 

I appriciate it.

 

 

Regards,

 

Shrek

 

0 Kudos
Message 4 of 4
(2,788 Views)