08-10-2020 09:08 AM
is there any way to end the case structure if the true or false changed when the wait timer in the case structure is still running?
08-10-2020 09:10 AM
Each cycle is initiated by a switch. If the vehicle rolls off of the switch, the wash immediately pauses and illuminates an indication to the driver to re-position the vehicle. The amount of time that expires while the car is out of position should not count against the wash time. this is the question
08-10-2020 09:18 AM
Ah the age old Carwash CLD example... The simplest method of doing what you want is to create a Timer FGV with the functions being start, read, pause, resume. Learn more about FGVs here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000015BjzSAE&l=en-US
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
08-10-2020 09:31 AM
@benana wrote:
is there any way to end the case structure if the true or false changed when the wait timer in the case structure is still running?
It depends on how you have programmed it. There shouldn't be a wait time in the case structure - at least not one more than on the order of 100 ms. Perhaps if you shared your code you could get some guidance as to how to fix your program.