LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

case structure

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?

0 Kudos
Message 1 of 4
(993 Views)

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

0 Kudos
Message 2 of 4
(992 Views)

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

Redhawk
Test Engineer at Moog Inc.

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.

0 Kudos
Message 3 of 4
(984 Views)

@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.

0 Kudos
Message 4 of 4
(967 Views)