Crossrulz I have used the sub panel to insert the sub vi but it is not a good way to make presentable gui because on the front panel of main vi it just displays the vi front panel completely. But I need a pop up window to run the sub vi.how can I do this.
Dave Brandt can you give me the front panel view of above block diagram?
If you need a pop up, then you just simply call the VI with it configured to display when called in the VI properties.
Brandt! I have done this. But in this case nothing appears on front panel.I need subvi window on front panel.
Run the main vi. Browse to any vi path in the path control. and select ok This will put the front panel of the selected vi into the subpanel control. You have to make you vi front panel size and subpanel container compatible for sizing. These are some advanced labview programing techniques and maybe you should get training.
Crossrulz! here is my main vi. I want an icon like subvi onmain vi front panel.how can i do this.
So you want a button that looks like a VI icon on your front panel? And when you click the button, that VI opens up?
Drop down a button, right-click on it, and select Advanced->Customize. That will open up the control editor. In here, you can add images to the button and some other stuff. Once you have it looking the way you want, just use an Event Structure to wait for the button to be pressed and directly call the VI you want to open up.