Sarah83 Posted September 20, 2004 Report Share Posted September 20, 2004 Hi, my vi hang on everytime, how could I see that I have locked my vi unconsciously? The example Locking Front Panels don't gives me answers Link to comment
Michael Aivaliotis Posted September 20, 2004 Report Share Posted September 20, 2004 I'm not sure what you mean. Does your VI hang? Do you want to make the front panel controls "enabled"? You can use a property node to enable or disable any front panel control. Link to comment
Mikrobi Posted September 20, 2004 Report Share Posted September 20, 2004 Hi,my vi hang on everytime, how could I see that I have locked my vi unconsciously? The example Locking Front Panels don't gives me answers 1832[/snapback] If you use EVENT structure check if events don't lock panel during events service regards Mikrobi Link to comment
Sarah83 Posted September 21, 2004 Author Report Share Posted September 21, 2004 Yes, I use an event structure. In the event structures I have while loops (one in one event). And the while loops have a button for start and stop. In some cases I have a case structure in an event. I run my vi. Then I want to start one seperate case with a button. The programm works (numbers counting and the vi read out the serial number of the synchro card) but I can't press a button (stop/reset) or can't change the value of a controller. Everything you can activate is hanging. Link to comment
Mikrobi Posted September 21, 2004 Report Share Posted September 21, 2004 Yes, I use an event structure. In the event structures I have while loops (one in one event). And the while loops have a button for start and stop. In some cases I have a case structure in an event. I run my vi. Then I want to start one seperate case with a button. The programm works (numbers counting and the vi read out the serial number of the synchro card) but I can't press a button (stop/reset) or can't change the value of a controller. Everything you can activate is hanging. 1844[/snapback] Probably it is similar to that diagram: If you press 'generate!' button, panel will be locked and you will not be able to press 'stop' or 'main STOP' buttons Check outlined checkbox part of Events Editor ("Lock front panel...") - unselected should solve problem regards Mikrobi Link to comment
Sarah83 Posted September 21, 2004 Author Report Share Posted September 21, 2004 OK, I will try this. I heard also you shouldn't use while loops in a case of an event strucure, is this right? Link to comment
Mikrobi Posted September 21, 2004 Report Share Posted September 21, 2004 OK, I will try this.I heard also you shouldn't use while loops in a case of an event strucure, is this right? Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now