Solved! Go to Solution.
Since the Start/stop button is latch action, its new value will be different, so use that.
You can also increment an integer in a shift register to count how many time an event has occurred, then decide what to do based on that value.
All other buttons should probably be latch action.
(Your property nodes belong after the case structure to avoid all that duplicate code. Your timeout case has no purpose. You should also make sure that all disabled properties are as needed when the program starts. You need an event for the stop button)
See if this can give you some ideas....
Hello altenbach :),
Please never (ever!) attach a modified VI with the same filename of one of my earlier VIs!
Your wire in the shift register should be wired across all events, of course. Instead of the boolean, you can wire the shift register value to the case structure.
You can increment the value inside the start/stop event and decide what to depending if the value is even or odd.