LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to prevent popup windows when opening the main.vi with menu in use?

Hi I have a problem with the pop up windows.  I have 3 programs - main, entry and realtest.
Entry and realtest are in main.vi. Entry and realtest are called to open and run by programmatically in main.vi. There's one problem with entry. I cannot understand how it could have happened. There's a menu bar used with 2 items that open up the pop window when selecting one of the items in the menu. I open up entry.vi and it itself opened up with 2 pop-up windows altogether. Of course, I linked the 2 pop up windows to entry by by use of menu. So I have to close the 2 pop up windows and run entry.vi alone. I can open up one of the pop up windows and It worked fine.
 
However, after I compiled main.vi together with two and tested it. Funny,  after running the main.vi, the entry is also opened. It is correct as I expected it but why do the 2 pop up windows also opened up suddenly too? it looks like the same thing happened during the development time. I never use the menu bar to open them up initally!
 
So how do I do to prevent the pop up windows when opening entry.vi during the development or run-time environment?
 
regards,
Clement
0 Kudos
Message 1 of 3
(2,391 Views)
And I am using event structure for menu.
 
regards,
Clement
0 Kudos
Message 2 of 3
(2,387 Views)
Hi astroboy,
can you post a simple example VI, just to show the priciple.
Greets, Dave
Greets, Dave
0 Kudos
Message 3 of 3
(2,375 Views)