LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loaded VI not visible in subpanel

Solved!
Go to solution

Hi

I am trying to load aa VI into a subpanel control. However the loaded VI is not visible. In the attached picture I have used Invoke method Open FP.. I have also tried the Run VI method and property node.

 any suggestions would help

 

0 Kudos
Message 1 of 9
(5,194 Views)

Open FP will not work as you cannot load a vi that is already open into s sub-panel. However, if the vi to be loaded into the subpanel is not open you shouldn't have any problems as long as the vi with the subpanel is running. It does not matter if the vi loaded into the subpanel is running or not, although it may be confusing if it isn't.

 

So make sure the vi to be loaded is not open, and the loading vi does not stop. See also http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/loading_panel_in_subpanel/



CLA
www.dvel.se
0 Kudos
Message 2 of 9
(5,158 Views)

Thanks for the link. But the VI is not properly loaded, the subpanel remains blank. There is no error, cannot figure out the reason

 

  

 

 

0 Kudos
Message 3 of 9
(5,144 Views)

Remove the Open FP invoke node.  You don't need that.  Also make sure your VI is set to not show the front panel when loaded or when ran.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 9
(5,135 Views)

Are you sure that the front panel of vi you want to load is not open before you load it?



CLA
www.dvel.se
Message 5 of 9
(5,133 Views)

I am trying to reload the currnet VI dsiplayed in the subpanel. The VI front panel is closed using Close FP before loading it in again. I have checked all the references, paths are correct. The attached image is the code for the event handler.

0 Kudos
Message 6 of 9
(5,112 Views)

I don't think this code can run without errors.

 

Instead of using the "FP.Open" try setting the FP State to "Hidden" and then insert.

 

Shane.

0 Kudos
Message 7 of 9
(5,098 Views)

How big is the panel you're trying to insert? The top left corner in the subpanel will be the top left corner of the opened VI, so if it's way bigger, it'll look blank.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 8 of 9
(5,081 Views)
Solution
Accepted by topic author Nustian

@Nustian wrote:

Thanks for the link. But the VI is not properly loaded, the subpanel remains blank. There is no error, cannot figure out the reason

 


When you say there is no error, are you sure? Normally trying to insert a VI with an open FP into a subpanel gives an error.  Place a probe on the error output of the "Insert" node and you'll most likely see an error resulting there.

 

Again, set the state of the FP to "Hidden" before inserting.

 

Shane.

Message 9 of 9
(5,076 Views)