09-21-2010 05:19 AM
Hi
In my project i used event structure it working fine.
Now i want to exit(close) the application when i press EXIT button on the front panel.
Here i attached my project give an idea.
Regards
hari
Solved! Go to Solution.
09-21-2010 05:45 AM
you can use the Exit or Stop functions available in the application palette... Exit will close the LabVEIW window and Stop will stop you code.. Create an event and place the function inside that...
09-21-2010 05:49 AM
Hi,
I have seen your code. It's Ok
You can stop the program in the same manner...
But if you want to completly close Labview, you can use.
Application Control --> quit Labview.
but it is not recommended. Otherwise you can use stop in the same menu...(to stop the VI).
09-21-2010 06:41 AM
Hi SAM
U saw my ok.i have one more problem when i run the program(main vi) all the remain sub vi's also opened.
i want open sub vi when i press a button on front panel.
i have made small changes to it.
Regards
hari
09-21-2010 07:33 AM
Hi thinnker,
You have to change the Sub VI node setup to do that... Do that then it will open whenever you call it..
09-21-2010 12:01 PM
Br.anand has the right idea. The same effect can be achieved by using the VI Properties dialog and setting the Window Appearance settings. Br.anand shows how to change the window behavior for one call to your subVI. Use the VI Properties to set the behavior for all calls to that subVI.
09-22-2010 06:59 AM
09-23-2010 04:45 AM
Hi
I want to assign a character(key board keys) to buttons in an event structure.
I don't want mouse for the participation u tell me an idea.
Regards
hari
09-23-2010 04:52 AM
Select the control which you want to control by using keyboard. right click >> properties>>Key navigation then assign the key you want ot use.
09-23-2010 05:42 AM
hi anand
it working with special function keys.
i want it alphabets,is it possiable.