02-25-2010 10:55 PM
Hi,
I want to put some buttons on FP of my main VI, by clicking on that button, i want that it opens 2nd VI.
And in 2nd VI, there is one button,by clicking it, I want to reach to main VI.
Can anyone guide me?
Thanx,
02-25-2010 11:20 PM
Vaibhav,
This question has been posted several time in the forum.. Please please please search before posting.
How ever here it is...
1)Hit CTRL+I to luanch the VI properties
2) Select the "Window appearence" from the "Category" listbox
3)Click the Customize button and place the checkmarks as shown in the fig below
So when these changes are made save these changes for the subvi.
Now click the deired button in the main vi so that the subvi launches. When the stop or quit button (what ever button that will close this sub vi) is hot in the subvi, you can navigate back to the Main vi..
Guru
02-25-2010 11:21 PM
Hi,
For your main vi, create a event case that would wait for the click from the user. When the user click, the program will execute the subvi. For the subvi, you need to go to its vi proporties and set it up, so that it will open when it is executed. In the subvi, you need another event case that would wait for the user input. When the user generate the click, the program will continue and go back to the main vi.
Yik
11-16-2012 11:27 PM
I also want to use such buttons. I am new to labview, so please explain me detailed. For my project, in the main page, I want six buttons and by clicking each button will direct to the respective VI. Want to know how to link VI and button, I need detailed explanation please.
Best regards.
11-17-2012 06:28 PM
First, work though the on-line tutorials on getting started with LV. They will help you with many of the basic questions.
Next, read the help files on the event structure. This will be a component you will use, so learn about it before you get started. There are some examples with LV.
After that, if you have other, specific questions, come back here and ask. Post the VI you have tried along with explanations of what you want it to do and what it is not doing. The more explicit you are with your documentation and questions, the higher the probability you will get an appropriate answer.
Lynn
05-14-2014 06:20 AM
Helo All...
Can I able to call a subvi on a button click ,that is in non exicution mode.
Thanks.....
05-14-2014 06:21 AM
I mean the called subvi should be in non-exicution mode.