09-14-2008 11:24 PM
Hi there
I'm trying to use an event structure to toggle between two 'modes of operation'
Two different pieces of code exist to toggle between the two modes of operation, and the code to change the mode of operation must only be run once (at the event where the switch is pressed).
Using the 'value change' event allows me to toggle to one mode of operation, but what about toggling back to the other?
Any help here would be appreciated.
09-14-2008 11:35 PM - edited 09-14-2008 11:36 PM
Hi Yush,
If you're using one button to switch between modes, then you probably want to put a case structure inside the event-case which is handling the button value-change. See example attached.
Cheers!
09-15-2008 12:19 AM
Thanks for the quick reply tbd, that's exactly what I needed.