LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

project explorer multiple vi's open

Solved!
Go to solution

Hi.

I have a strange problem where if I open a VI from the project window another VI opens too.

How do I stop that from happening?

The hierarchy shows that the 2nd VI is below the first.

Thanks

UniSA, Mawson Lakes, South Australia - LV 8.6.1
0 Kudos
Message 1 of 6
(2,948 Views)

Find that subVI on your mainVI's block diagram.

 

Right click.  SubVI Node setup.  See if you have the option Open Front Panel when Loaded checked.  If so, uncheck it.

Message 2 of 6
(2,943 Views)
Solution
Accepted by mikie121

That setting could also be in the VI Properties dialog of the subVI that is opening up where "Show front panel when loaded" is checked.

 

I would look at this first.  It is under Windows Appearance then Customize.

Message 3 of 6
(2,937 Views)

But I need that VI to show its front panel when I run the program.

The problem is that the second VI opens when I open the first VI WITHOUT running anything, ie in EDIT mode. I have never seen this before and a PC restart doesn't fix it.

To be clear here are the steps that result in the problem:

1. Open my project file. This shows a list of about 20 VIs

2. Double click on the first VI (my main VI) and two VIs open, the one I want and another VI that's about 6 VIs down the list.

UniSA, Mawson Lakes, South Australia - LV 8.6.1
0 Kudos
Message 4 of 6
(2,931 Views)

Mikkie,

you are confused of  "Open front panel when loaded" and "show front panel when called"

 

In SubVI Node setup. 

If you enable the option "Open Front Panel when Loaded" , it will make that sub vi opens when you open the main vi.

If you enable the option "Show Front Panel when Called" , it will make that sub vi opens when the time of execution.

 

So Pls do as Ravens Fan said.

Message 5 of 6
(2,923 Views)

Ahh, I get it and it worked!

Many thanks

UniSA, Mawson Lakes, South Australia - LV 8.6.1
0 Kudos
Message 6 of 6
(2,907 Views)