08-14-2013 11:55 AM
Hi guys,
I just wondering at what condition, the second case structure will be true?
I tried couple of times will different values I gave to elapsed time, looks like no matter what, it always will be false and the true state in the second case sturcture never be executed. May I right?
Thanks
Solved! Go to Solution.
08-14-2013 12:34 PM
You need a while loop around the elapsed time VI so that it will continue to check. Otherwise it only checks one time (immediately after starting the timer).
08-14-2013 12:38 PM
The elasped time vi returns a true when a certain amount of time has elapsed...
The input determines how much time this is for or, if left unwired like in your screen shot, it defaults to 1 second.
08-14-2013 12:47 PM
Thanks for reply
I think I setup my Elapsed Time for 2 seconds in my case, so is that means every 2 seconds I suppose to get a True run once then if I do have a while loop?
08-14-2013 12:56 PM
@huskerli wrote:
I think I setup my Elapsed Time for 2 seconds in my case, so is that means every 2 seconds I suppose to get a True run once then if I do have a while loop?
I don't understand what you mean here...
08-14-2013 01:00 PM
Hi, altenbach
I just want to know what I need to do in order to see the True statement been executed in my case?
Thanks
08-14-2013 01:01 PM
You need to spin the loop until the time has elapsed.