07-21-2020 03:41 AM
Hello !
So I have a VI with a while structure. I stop my while structure with a stop button.
I would like to set a Time out, if the program has been running for more than 5 minutes then it act like the stop button.
I know that I will need to use a OR gate but I don't know how I can make the Time out.
Thank you for your answers !
I link my VI.
Solved! Go to Solution.
07-21-2020 03:57 AM
07-21-2020 03:59 AM
Use Get Date/Time In Seconds before and during the loop. When the difference (current-before) - which is in seconds - exceeds 300, stop the loop.
I guess you have incredibly huge files to reach that limit.
07-21-2020 04:21 AM
Thank you I used it and it works !
07-21-2020 04:25 AM
Hello, ty for your answer !
My files are not that huge, the need of a time out was just asked in the specifications !