02-15-2007 01:54 AM
02-15-2007 02:17 AM
You go into the second subVI and select File>>VI Properties>>Window Appearance>>Customize and set the VI to be opened when called and closed when finished. You can then use an event structure in your caller to detect the value change event for the button and simply call the subVI.
This is really fairly basic stuff. To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).