LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NEED HELP QUICK-- Front Panel freezes when I run my program. I have all events allowing front panel interaction. I don't have a chance to initiate an event as I cannot even click on anything on the front Panel??????

Solved!
Go to solution

All,

 

I am pragmatically disabling most of the front panel with one particular event. This freezing happened when I initiated that event and then stopped the program in the middle of the event. Then the program was permanently frozen no matter how many times I turned my computer on and off and restarted labview. I tried pragmatically enabling some of these front panel objects before the event loop to no avail. What else could this be??? When I highlight execute the program stops at the event structure and waits. When I wire a finite number to the timeout terminal the timeout event executes and then waits at the event structure and I am still not allowed to do anything.

 

Aaron

Message Edited by WindNRG on 10-21-2008 08:16 AM
0 Kudos
Message 1 of 3
(2,627 Views)
Could you describe how you have used the event structure? Or better, post your code up
_____________________________
- Cheers, Ed
0 Kudos
Message 2 of 3
(2,618 Views)
Solution
Accepted by topic author WindNRG

Yenkip,

 

Ok, moral of the story when programatically disabling a front panel object ensure that you have code that enables everything at the beginning of the program, as altering it in the middle of the program permanently changes its enabled status. I had tried enabling some of the objects but not all. When I tried enabling all of them I realized that disabling the tab control disables everything in the tab control not just the ability to change the tab control. IT WASNT THE EVENT STRUCTURE. The NI help guy on the phone kept telling me that the event structure was obviously the issue. I am good now.

 

Thanks,


Aaron

0 Kudos
Message 3 of 3
(2,609 Views)