01-12-2016 03:26 AM
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?
Solved! Go to Solution.
01-12-2016 03:33 AM
01-12-2016 03:36 AM
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.
01-12-2016 03:49 AM
Hi GerdW, thank you for the prompt reply. Would you mind to shed me more light on this method?
01-12-2016 03:53 AM
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.
01-12-2016 04:18 AM
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.
01-12-2016 04:33 AM
01-12-2016 08:04 PM
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 😉