09-22-2010 10:31 PM
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
Solved! Go to Solution.
09-22-2010 10:36 PM
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.
09-22-2010 11:22 PM - edited 09-22-2010 11:24 PM
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.
09-22-2010 11:52 PM
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.
09-23-2010 12:58 AM
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.
09-23-2010 02:23 AM
Ahh, I get it and it worked!
Many thanks