LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sequencing buttons to start task

Solved!
Go to solution

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.

0 Kudos
Message 1 of 2
(1,951 Views)
Solution
Accepted by topic author sherzaad

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(1,946 Views)