From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(3,062 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
(3,060 Views)

Is there an example somewhere to see how this works ?

0 Kudos
Message 3 of 9
(3,058 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
(3,045 Views)

Thanks for the help!

 

Can you please downgrade them for me to LV 2009?

 

Thanks in advantage!

 

 

0 Kudos
Message 5 of 9
(3,040 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
(3,036 Views)

Thanks, that does exactly what I expected!

 

 

0 Kudos
Message 7 of 9
(3,031 Views)

Kudos are grateful!!!

 

Good work!

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
Message 8 of 9
(3,029 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
(3,007 Views)