And what is the problem....?;-)
Sub-Panels just show the front panel of the VI you choose to show. When the event that should show a certain VI fires just make your code so that it will run the VI in question...and then set the sub-panel to show that VI. In the VI you need a button and code that will make the VI run until the button is clicked.
That's it.
Now you may the VI or multiple VIs to run in parallell, or you may want to send a stop message to the main VI from the VI in the sub-panel when the button is hit...For the first problem, call the VIs using an invoke node and the wait until finished set to false. For the latter problem use e.g. a functional global, que, event, occurance or a notifier.
If there's a patricular part of this design that you h
ave a problem with, let us know. If you can upload example VIs we can edit to show the behaviour you need, include those.
Mads