From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

keep subVi at front

Solved!
Go to solution

Is there a way of KEEPING a SubVI at front until its finished its job. I need this to be true even if the user accidently presses the Main VI (which would be at the back when Sub Vi is running).


 

 

Thanks 

 

Kas

 

Message Edited by zerotolerance on 04-05-2010 12:04 AM
Message Edited by zerotolerance on 04-05-2010 12:04 AM
Message Edited by zerotolerance on 04-05-2010 12:04 AM
Message Edited by zerotolerance on 04-05-2010 12:05 AM
0 Kudos
Message 1 of 9
(2,565 Views)
You can use an alt tab to bring the vi back to front of the main vi. You can also use invoke node "bring to front" option.
0 Kudos
Message 2 of 9
(2,549 Views)

I don't think I can see the "bring to front" option from an invoke node. I'm wiring VI's reference to the invoke node, but nada.

 

Kas

0 Kudos
Message 3 of 9
(2,541 Views)

Hey forget my above post you can do exactly what you want by using a vi reference and using a property node like this

 

Use this inside the subvi.

 

tr.JPG

Message 4 of 9
(2,540 Views)
pro_node.JPG
Message 5 of 9
(2,537 Views)
Solution
Accepted by topic author zerotolerance

You can use the window behaviour by changing it to "modal"

 

CTRL+I->Windows appearence (from the drop down ring)->hit the "Customize" boolean and select option "Modal" from

 

 

Guru

Regards
Guru (CLA)
Message 6 of 9
(2,536 Views)

Window behaviour "model" did it. I usually run my SubVi's through "VI preference". I tried muks idea and that worked just as well.

 

Thank you both.

 

Kas

Message Edited by zerotolerance on 04-05-2010 01:16 AM
0 Kudos
Message 7 of 9
(2,532 Views)

Its "MODAL" not "MODEL"

 

Guru

Regards
Guru (CLA)
Message 8 of 9
(2,525 Views)

haha. Sorry. Just noticed. :smileyvery-happy:

 

Thanks again.

 

Kas

0 Kudos
Message 9 of 9
(2,514 Views)