LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing a SubVI appearance

Solved!
Go to solution

Hello,

 

I would like to run a subVI in the background (hidden) and I did this using SubVi's own File -> Properties, but I would like to add a possibility for users to click on a button to show the dialog what is going on at the other VI.

 

How can I do this? I could find the option to run another VI in property node.

 

Thank you for your response,

0 Kudos
Message 1 of 8
(3,274 Views)

Hi vgezer,

 

try the FPWindow.State property...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(3,273 Views)

Thank you for your reply,

 

but How to indicate which subVI will be considered?

0 Kudos
Message 3 of 8
(3,271 Views)

Hi vgezer,

 

don't you know the name of the VI you want to show?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 8
(3,268 Views)

Oww, OK. Creating a constant for reference pin, it let me choose the VI.

 

Thank you, problem solved 🙂

0 Kudos
Message 5 of 8
(3,266 Views)

Hello again,

 

Could you post a sample if possible? I think I failed again 🙂

 

For example:

 

There are first.vi and second.vi

 

From second.vi, File -> properties -> Window appearance, I choose Default. This is what I want (it is working in the background).

But I would like to add a checkbox, or a button on first.vi. and when user clicks on it I would like to pop it up as an application window or a dialog.

 

Thank you very much,

0 Kudos
Message 6 of 8
(3,258 Views)
Solution
Accepted by topic author vgezer

Hi,

 

Check the attached VIs. Open VI 1 and follow the instructions.


Regards,
Nitz

(Give kudos to Good Answers, Mark it as a Solution if your problem is Solved;)) 

Message 7 of 8
(3,245 Views)

Thank you 🙂

0 Kudos
Message 8 of 8
(3,240 Views)