LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set two windows (two front panels) to appear on the same screen together, one behind another, during run mode?

Solved!
Go to solution

In Labview, is there any way to set two windows (two front panels) to appear on the same screen together, one behind another, during run mode?

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

Hi Jenjen,

 

yes. 😄

 

Spoiler
Use frontpanel window properties…
Best regards,
GerdW


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

Hi Jenjen,

 

Yes of course, you can do the thing you enumerate.

You should take a look at subpanels controls.

 

http://digital.ni.com/public.nsf/allkb/D587067E18E0E70186256D44007B91FE

 

Good luck.

 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 3 of 8
(3,199 Views)

Hi GerdW, thank you for the prompt reply. Would you mind to shed me more light on this method?

0 Kudos
Message 4 of 8
(3,190 Views)

Hi sabri.jatlaoui, thank you for your recommendation. I had used this subpanel control in one of my past projects. However, I hope to see if there is any other solution than using this subpanel control method or not.

0 Kudos
Message 5 of 8
(3,186 Views)
Solution
Accepted by topic author Jenjen

It's a pity,

 

Subpanel it's a great way to call subVIs and you only load code when you call him, so it's lighten your resources use.

Anyway, you could call Vi's as pop-up:

https://decibel.ni.com/content/docs/DOC-2064

 

You could split your FP using splitter.

http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/creating_splitter_bars_and_panes/

 

Or you could use tab control.

http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/creating_tab_controls/

 

Regars.

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 6 of 8
(3,173 Views)
Solution
Accepted by topic author Jenjen

Hi Jenjen,

 

LabVIEW provides properties and methods for all FP elements including the window itself.

You can set window positions and set the frontmost window using property nodes at runtime!

Best regards,
GerdW


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

Hi sabri.jatlaoui, I looked on the examples and description in the links given and I think calling a subvi as "pop-up" is the one that I'm looking for. I will try this methodology in my project (which involve 1k++ of vi's). In case if it doesn't work out as what I expect, I will try on the splitter or use subpanel way.

 

Hey GerdW, I finally got what you meant by the example vi's attachment in the link given by sabri.jatlaoui, https://decibel.ni.com/content/docs/DOC-2064.

 

Thanks alot for your helpful inputs and suggestions! cheers 😉

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