Discussion:
Call a subVI from the front panel
(too old to reply)
FElicia
2008-08-15 18:10:09 UTC
Permalink
 Hello! I've made part of my diagram into a sub VI. I also want to be able to open the parameter settings of the sub VI when I'm running the program. For example, if I click a button then the panel of the sub VI will open. The labview HELP talks things about pereference or property node but isn't clear about how to do it. Thanks so much!
JeffOverton
2008-08-15 20:10:04 UTC
Permalink
I'd look into Event Structures if you want it to happen on a button click.  Next, to make the front panel show, just drop your subvi like normal, right click on it, and select "SubVI Node Setup..." then check "Show Front Panel When Called" and "Close Afterwards if Originally Closed"
smercurio_fc
2008-08-15 22:10:06 UTC
Permalink
Open up the Example Finder (Help -> Find Examples), change to the "Search" tab and enter "event" in the search box. Open the example "New Event Handler". It should give you a good idea of how to do this. The individual subVIs that get opened are set up via their properties. In other words if you open the subVI and select File -> VI Properties, and change to the "Window Appearance" item you will see how it's set up to act as a popup.
Loading...