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 Quote 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. Quote 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 Quote 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. Quote 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 Quote 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? Quote 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? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.