LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

custom vi panel doesn't show in panel

Hello,
 
I inserted a custom vi that I created into another vi.  The problem is that the panel of the custom vi doesn't show on the new vi panel.  What do I need to do to get the custom vi panel to show in the new vi panel.
 
Thanks,
Steve
0 Kudos
Message 1 of 5
(2,842 Views)
Hello,
 
I've discovered the solution to my problem:  Right click on the VI and select SubVI Node Setup.  Then, select either show front panel when called or show front panel when loaded.
 
Steve 
0 Kudos
Message 2 of 5
(2,835 Views)
OK, I'll admit it, I'm a bit confused.

What exactly do you mean by, "
I inserted a custom vi". Did you place it as a subVI on another VI?

Unless you're using the subpanels feature of LabVIEW, the font panel of a subVI will not show on the panel of the top level VI. If you want the panel of the subVI to show, you can make it open when it's called, or you can recreate it on the top level panel and pass the data to the indicators.


Can you give any more details?

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 3 of 5
(2,834 Views)

Hello Ed,

Thanks for the reply.

I created the attached VI  and saved it to the user.lib directory.  Then, I inserted that VI on another VI diagram (Functions Palete -> Select a VI and choose select_channel.vi in the open dialog box) .

What do you mean by the subpanel feature of Labview?  Also, what do you mean by recreating the subVI on the top level panel?

In My Application,  I will probably have a main panel that opens the select_channel.vi's panel when the user pushes a button (named "select channels").

Steve

 

0 Kudos
Message 4 of 5
(2,830 Views)
For some reason I can't open your VI. I'm getting a daq dll error. I'm sure it's something on my end as I just got a new laptop and just reinstaled everything and something probably didn't go right.

Subpanels are a feature that was added in 7.0 that let's you embed the front panel of a subVI into the panel of its top level VI. The subVI panel shows up in a container on the other front panel. This allows you to switch between several panels, but have them constrained inside the top level VI. Nice little feature, but since you're running 6.1, it's not available to you.

Recreating the subVI on the top level VI would be just duplicating all the controls and indicators from the subVI to the panel of the top level. Probably not what you should be doing.

It sounds like you found the "Open front panel when Called" option and that should do the trick for you want.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 5 of 5
(2,819 Views)