hey all,
I have an interface for communicating with an instruement, which work great.
it is programed as an infinite while loop, in which there are event case for different functions.
when it is in a single fron panel - everything is OK. but I want is to work in tabs!
for example: one tab should have COM selection and serail data inputs, another tab should have operaion function only, etc.
so I divided the events, put some in the first tab (for example stop button for the program) and another event in different tabs,
and now it working only till I change tabs and do some action - when did is done the front panel is locked.
I know thats mean that the event in not yet completed - by I don't know why this is the case and how to solve it?
I attaced two imaged for example:
In both event I only press a button i.e. do some boolean operation. I can do them when I start the program from their tabs, but once I switch tabs and press the other - I can't go back and press the first one again.
what could be the problem?