10-01-2006 08:53 AM
10-01-2006 01:03 PM - edited 10-01-2006 01:03 PM
An easy approach would be to call a sub-vi whose front panel appears if selected.
You create a sub vi. When placed in the main or calling vi, you right-click the sub-vi and select "Sub-VI Node Setup" and choose "Show Front Panel When Called" and also "Close afterwards if originally closed".
There are other methods, but this may be the simplest.
You can find examples, depending on the LV version that you are using, under the Help Menu. Select "Find Examples". In the NI Example finder, look under "Building User Interfaces" and "Controlling Front Panel Objects Programmatically", there are ~18 examples for LV7.0.
RayR
Message Edited by JoeLabView on 10-01-2006 02:06 PM