LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panels of multiple processes called do not overlap as expected

Hello-  

 

I'm hoping this solution is simple, but who knows. 

My situation is as follows:

 

I have a Main.vi that calls 2 processes (Remote.vi and Motion.vi) via 'start async call', right after the Main.vi calls them, it calls UI.vi via 'call by reference'.

 

the remote and motion vis are supposed to be entirely background processes, no visual presence at all.  The UI, is the user interface that's supposed to take up the whole screen.

 

The problem is that the motion vi's front panel is coming up in front of the UI (how rude of it... vi has no manners).  

 

I'm not quite sure why this is happening, seeing as they are called in that order...

 

any help is greatly appreciated.

 

thanks

 

 

0 Kudos
Message 1 of 4
(2,371 Views)

Simple question: do you have "VI properties \ Appearance \ Customize\ Show front panel when called?" check mark? Simple start asynchronous call does not show front panel.

Message 2 of 4
(2,356 Views)

It is unchecked, I atually just fond my issue- I didn't realize it but in the depths of the queue the vi was actually opening its own front panel, I asked the mods if they would delete my orig post.  Thanks for the reply though!

 

-pat

0 Kudos
Message 3 of 4
(2,354 Views)

If you want a launcher that start-up stuff and then closes itself and lets them run, then opening a ref to it's own FP is a method that will keep the VI in mmemory and thereby avoiding the LV clean-up tossing the launched when the launcher exits.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 4
(2,340 Views)