From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-19-2013 05:33 AM
I am using a case structure. For the event to be TRUE, the program should perform 3 Boolean operations TRUE condition I have made use of 3 elapsed time VIs. The 3 Boolean conditions have to executed in 2,5,8 seconds respectively. After 2 seconds, Boolean 1 should turn ON. After 5 seconds Boolean 1 should turn OFF and Boolean 2 should turn ON. After 8 seconds Boolean 2 should turn OFF and Boolean 3 should turn ON and must continue to remain ON unless the FALSE condition is executed.
During the FALSE condition, all 3 Boolean indicators must turn OFF and all 3 timers have to be reset.
While executing from TRUE to FALSE there is no problem,but while executing from FALSE to TRUE, the 3rd Boolean continues to remain in ON state rather than OFF state because the timer starts off from the point where it last was instead of resetting.
How do I correct this problem so that the timers start from 0 second everytime the TRUE case is executed?
Solved! Go to Solution.
04-19-2013 07:15 AM
connect the bool (reset and output) onto a shift register...
04-19-2013 07:21 AM
Please attach some simplified code. Your words are not sufficient to describe what you are actually doing.
04-19-2013 09:22 AM - edited 04-19-2013 09:29 AM
04-19-2013 09:52 AM - edited 04-19-2013 10:19 AM
04-20-2013 12:02 AM
Thanks a lot for the help. It worked perfectly.