07-05-2018 05:44 AM
Hi,
I am trying to create a 2 push button start sequence for a task but I'm not too sure what the best way to do it. I was thinking of using "event handler structure" but not sure how to got further.
The sequence I want to do is the following:
1. start
2. press 'OK1' button -> start a timeout timer
3. if 'OK2' pressed before timeout -> execute remaining task
else go back to 'start'
any guidance on how to proceed would be much appreciated.
Solved! Go to Solution.
07-05-2018 05:49 AM
Hi sherzaad,
you could use an event structure with event cases for your 2 buttons and a timeout event.
The first button will set the timeout for the timeout event: now one of two events will occur (button2 or timeout) and you can decide what to do in each of the events…