08-07-2023 11:39 PM
I can not find the other discussions but James Powell talks about the advantages/disadvantages of single/multiple loops at this link https://devs.wiresmithtech.com/blog/qmhs-hidden-secret/
He has other good discussions just cannot find them.
08-08-2023 02:20 AM
Hello,
Time ago I was thinking about a solution of a similar problem. I was stuck because I could not find a way to stop the flow of my project without really stop the execution of he project. First, I used the Elapsed Time function, than return you if the time than you insert into it was elapsed or not by a boolean. But I prefear a more scalability solutions. For this rason I created a FGV than return if the time has elapsed by using the Get Date/Time In Seconds function.
08-08-2023 02:41 AM - edited 08-08-2023 03:14 AM
You can use the elapsed time function, which returns true or false when the target time elapses. Here is an example.
What I do is to check in the Timeout if it comes from Heat, and in affirmative case it returns to that case until the desired time elapses. You can stop the VI whenever you want.
You can control the Timeout's time with the same maethod of Heat (inside timeout).
Tell me if u don't understand something.