06-24-2011 03:34 AM
Hi, I've got a little problem.
I'd like to run a function with a controlButton "start", and stop the function with a controlButton "Stop". But While the function is running, I cannot click on any buttons of my panel.
Do you know how we can do this?
Thanks a lot.
Johan
06-24-2011 03:36 AM
do you mean you cannot click because the control is dimmed or an indicator, or do you mean that you can click but there is no response?
06-24-2011 03:58 AM
I have no response. I'm trying to launch my function as a thread, but I don't feel comfortable with it.
I think it's a good possibility.
06-24-2011 04:09 AM
Did you call RunUserInterface also in the new thread? You might want to have a look at the example MultiPanel that ships with CVI which demonstrates a second panel in its own thread.
06-24-2011 04:36 AM
Finally, using a thread for my function corrects my problem, all buttons are available now.
Thanks a lot for your fast answers, that why I didn't hesitate to send a post on this Forum. 🙂