10-26-2018 10:53 AM
hello there,
i have attached my VI
can anyone help me fix this program to run the timer?
thanks in advance
10-26-2018 11:14 AM
Why are you doing some button handling via the event structure and not all of your buttons? Once you hit the start button you are waiting for an event to occur in your event structure. You will need to hit either the continue, pause or reset button in order to move on. Trying handling all of your buttons in the structure. Hint: you will need to manipulate the timeout value of the event structure.
10-26-2018 11:14 AM
Since your loop should be spinning at all times, get rid of the event structure and just poll the buttons. Currently, your event structure is buried deep inside a case structure and if start=false, none of the events can execute (dataflow!). You events are set to lock the front panel until they complete, and since the events cannot complete under many conditions, you are locked out permanently.
10-26-2018 11:20 AM
@akshay321 wrote:
hello there,
i have attached my VI
can anyone help me fix this program to run the timer?
thanks in advance
Watch your code in Execution Highlighting mode (click the light bulb on the block diagram).
Then poke at your buttons and watch what is going on when.
Some of the previous replies you have received above are clues into what the problems are.
Ben