06-14-2017 02:20 AM
Hey guys,
I use a tab control in nearly every front panel of my applications. For example there´s a tab for all measurements and another tab for controlling something or whatever. Now I would like to have more scalable programmes which means that the user is enabled to open such a tab in another window. An example might be that he wants move the measurement tab to another screen but keep the rest of the front panel on the current one.
My first idea is to separate the whole measurement code from the controlling code in two different VIs. Then use a subpanel on the front panel of my main application which works like a tab control. So the user can choose whether he likes to see the measurement front panel or the controlling front panel within this subpanel. When he clicks a butten - let´s say 'open in new window' - I open the front panel of the currently shown VI programmatically.
I guess that could work just fine. My question is: Is there any easier way to do that? Is there any nature LabVIEW function that allows opening a particular front panel object in another window?
Thank you in advance!
Solved! Go to Solution.
06-14-2017 08:19 AM - last edited on 06-04-2024 12:30 PM by Content Cleaner
There are lots of ways you could begin to do this in LabVIEW. Perhaps the easiest way is to get started using what someone else has already done. Check out the VIBox XControls add on available here:
http://sine.ni.com/nips/cds/view/p/lang/en/nid/210715
You could either use their implementation, or use it as the base to create your own.
06-14-2017 08:55 AM
Thank you very much!
I´ve already implemented my idea which works perfect. But I will definitely check out VIBox in the upcoming days.
06-14-2017 09:21 AM
In this thread I posted a zip showing one approach.
Have fun!
Ben
06-14-2017 10:56 AM
Thanks! I´ll check that out, too.
06-15-2017 06:12 AM
Guys, I took a look at your suggestions and decided to stick with my own solution. Which by the way is very similar to your example Ben.
Thank you both!