LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SubVI with Front Panel in another VI

Hi.  I have a VI that encapsulates some camera "Stuff" that I want to do.

 

I would like to use this stand alone VI in another VI that has a tab container on it. 

 

When I add the camera VI as a subVI I can see the icon in the block diagram but I can't find the Front Panel for the SubVI.  Any ideas what I'm doing wrong?

 

Thanks!

0 Kudos
Message 1 of 6
(2,267 Views)

http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/loading_panel_in_subpanel/

 

It's possible to do, but in my experience, it'll make the SubVi pretty slow.

 

You might consider redesigning the VI so that you can loop over the SubVI for updated information, and then use UI elements on the top level VI to display that VI.

 

Alernatively, you could open a VI reference and run it in another window.

 

Hope that helps!

 

- Chris

0 Kudos
Message 2 of 6
(2,261 Views)

Thanks Chris.

 

I will just put all the code in the same VI.  Is there a way to group a number of controls together so they 'act' as one when moving things around?

 

 

0 Kudos
Message 3 of 6
(2,259 Views)

Scroll down to creating clusters:

 

http://zone.ni.com/devzone/cda/tut/p/id/7571

0 Kudos
Message 4 of 6
(2,256 Views)

Or perhaps you are referring to simple grouping:

 

 

This and other interesting tidbits can be uncovered in that incredible document that rivals the Magna Carta. No, it's not War and Peace. It's the LabVIEW Manual.

0 Kudos
Message 5 of 6
(2,251 Views)

smercurio_Fc.... that's the trick!

 

0 Kudos
Message 6 of 6
(2,246 Views)