LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

show / hide sub vi that keeps running on background

Solved!
Go to solution

Hello everyone,

 

I want to run a subvi on the background of my labview app.

In the frontpanel of the main VI I want a button to popup the frontpanel of the subvi.

In the subvi should be a button to hide the popup again. But when hided the subvi should continue running!

 

How to make this?

Making the popup is no problem, but how to hide and keep running and show up again when the button is hit again?

 

Thanks in advantage.

0 Kudos
Message 1 of 9
(4,286 Views)

You can refer to the VI open it by "Open by reference" function and then you can control the FP of your VI, show or hide it by clicking a button on the main pannel. The code of your VI will work even though your FP is close.

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
Message 2 of 9
(4,284 Views)

Is there an example somewhere to see how this works ?

0 Kudos
Message 3 of 9
(4,282 Views)
Solution
Accepted by topic author Patrick Kerstholt

Surely, here they are! look at the following....and enjoy yourself!

 

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
Message 4 of 9
(4,269 Views)

Thanks for the help!

 

Can you please downgrade them for me to LV 2009?

 

Thanks in advantage!

 

 

0 Kudos
Message 5 of 9
(4,264 Views)

Patrick Kerstholt ha scritto:

Thanks for the help!

 

Can you please downgrade them for me to LV 2009?

 

Thanks in advantage!

 

 



Yes of course!

Here the 2009 file.

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
Message 6 of 9
(4,260 Views)

Thanks, that does exactly what I expected!

 

 

0 Kudos
Message 7 of 9
(4,255 Views)

Kudos are grateful!!!

 

Good work!

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
Message 8 of 9
(4,253 Views)

All works fine in the VI itself, but when I try to create a sub vi and assign the two buttons as connectors of the subvi the popup doesn;t work anymore.

Why the popup doesn't show up?

 

I think it has got something to do with the eventbased structure.

 

Can anyone help fixing this problem ?

 

Thanks in advantage

0 Kudos
Message 9 of 9
(4,231 Views)