LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show graph from subVI in calling VI's front panel

Solved!
Go to solution

I have a subVI that handles the XY graph of my main VI. How do I make the graph from the subVI show in the front panel of the calling VI? Thanks

0 Kudos
Message 1 of 3
(2,613 Views)
Solution
Accepted by topic author carlosbgois

Make an output terminal for your subVI graph.  Wire that output to a graph indicator on your main VI's block diagram.

 

Alternatively, use a subpanel on your main VI's front panel.  Load your subVI's front panel into the subpanel.

 

Or use the "CtlValue.Get" method and wire the output from the method to a graph indicator on your main VI's block diagram. 

 

You could also transfer the data to your main VI with a queue.

 

There are lots of ways to do it, as you can see.  Having precious little information about exactly what it is you really want to do, it's difficult to say which one is the best answer for you.  I'd go with my first suggestion, though, as much the simplest!

0 Kudos
Message 2 of 3
(2,603 Views)

Thanks! I'm gonna try some of the methods to decide wich one is better

0 Kudos
Message 3 of 3
(2,595 Views)