06-14-2010 07:10 AM
I have a programm that has 4 cases in Event handler. In third case there is a while loop, after that I can't klick the control elements any more. But I have tried that without this while loop the event handler worked well.Thanks in advance.
Regards
Guo Zhongge
Solved! Go to Solution.
06-14-2010 07:13 AM
06-14-2010 07:14 AM
Hi!
Posting the vi or an image will help those who want to help you.
What is happening, in my opinion, is that the Event structure is waiting for the while loop to finish before processing the next event.
Marco
06-14-2010 07:23 AM
06-14-2010 07:29 AM
As also pointed out by Broken Arrow,
your while loop keeps running, blocking the Event Strucure.
In order to solve the problem you have to split the different tasks of your code in parallel loops.
Marco
06-14-2010 07:34 AM
06-14-2010 07:36 AM
06-14-2010 07:45 AM
Look in the LabVIEW New file (File->new...) for the Producer Consumer structure.
Ton
06-14-2010 07:47 AM
06-14-2010 09:37 AM