LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Want a subVI to open only when requested by the user

I am trying to modify the 'Notification with SubVIs' program by having the subVI not appear immediately, but only when requested by the user. This would be for an example where the main VI has a tank showing the level, and the subVI has the graph of data vs. time for the tank.
The NI example of course opens the main VI and all subVIs immediately. I want it to have a drill-down feel.
So my question is how do I program hte logic so the notify only occurs on a pressed button (Graph)?
0 Kudos
Message 1 of 2
(2,507 Views)
See the "Dialog Box Demo" from "Examples\general\viopts.llb". You'll see there the options for displaying front panels programatically.
But is better to take a look at vicontrl.llb too.
Good Luck
NB
0 Kudos
Message 2 of 2
(2,507 Views)