AFloriani
Industrial
- Jun 16, 2005
- 14
I have a front panel with 5 buttons and one combobox and some graph indicators.
In the block diagram I have the Event structures for 4 of the buttons and the combobox. The 5th button (let's call him the Stop Button) is a while loop stop control inside one of the events (let's call this event of the Start Button Event).
So, for better clearence of data: The Start Button event contain the Stop Button which is a While loop stop control.
I've placed the event structures along with the buttons controls inside a while loop (that involves the hole block diagram) not for the program to exit unless the user says so.
But after I run Start Button Event and then press the Stop Button, the other events stop responding as if the application where still executing the Start Event.
Maybe the problem is in involving events in a while loop. Is there another way I can keep the program from closing so that it will always be waiting for the events?
Or is there something else I'm not seeing here? I've tried to describe the problem as best as I can.
Any suggestions will be appreciated.
In the block diagram I have the Event structures for 4 of the buttons and the combobox. The 5th button (let's call him the Stop Button) is a while loop stop control inside one of the events (let's call this event of the Start Button Event).
So, for better clearence of data: The Start Button event contain the Stop Button which is a While loop stop control.
I've placed the event structures along with the buttons controls inside a while loop (that involves the hole block diagram) not for the program to exit unless the user says so.
But after I run Start Button Event and then press the Stop Button, the other events stop responding as if the application where still executing the Start Event.
Maybe the problem is in involving events in a while loop. Is there another way I can keep the program from closing so that it will always be waiting for the events?
Or is there something else I'm not seeing here? I've tried to describe the problem as best as I can.
Any suggestions will be appreciated.