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,570 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,554 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,546 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,545 Views)
pro_node.JPG
Message 5 of 9
(2,542 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,541 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,537 Views)

Its "MODAL" not "MODEL"

 

Guru

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

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

 

Thanks again.

 

Kas

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