06-08-2015 06:12 AM - edited 06-08-2015 06:15 AM
Hi all,
I am using the subpanel control for loading front panel of different sensor VI's. I have created 5 boolean buttons, Clicking on each button loads the corresponding front panel. I wonder if all the boolean controls can work simultaneously. Because at present, i can load only one FP at a time. I mean to say only one FP will be active a time. Is there a way to achieve this?
Any help on this.
06-08-2015 06:27 AM
Hi Kevin,
hope I got this right: Your "Buttons" are in reality just a tab control, right? Then I suspect it does this: You click a button and the corresponding VI is displayed in the subpanel. you click another and that subpanel is displayed.
If you want to display multiple subpanels you could go for a cluster of buttons instead of the tab control and use an array of subpanels.
06-08-2015 06:27 AM
Use Tab Control and Open all VI's in different Tabs using Sub Panel Controls close all reference at end.
06-08-2015 06:32 AM
U can also use http://www.ni.com/tutorial/3687/en/
06-08-2015 06:49 AM
I did a series of posts on subpanels and how to best utilize them. Here is a goof place to start reading:
http://www.notatamelion.com/2015/02/02/modularization-its-not-just-for-block-diagrams-any-more/
So are you wanting to see multiple screens at the same time? You can have multiple subpanels in the same window showing different things.
In terms of some of the other comments converning tab controls, the advice is real simple: Don't use them. Tab controls have many many problems and side-effects.
Mike...
06-08-2015 07:10 AM - edited 06-08-2015 07:11 AM
Hi all,
Thnaks for your reply,
I want to see multiple screens at the same time.
Mike,
The link provided is not working.
06-08-2015 07:20 AM
06-08-2015 07:20 AM
Hi,
The best way to achieve this is by saving all the fron panels and their values to a file and loading thme simulatenously. One solution would be calling the subpanel and loading the corresponding vi and repeat if needed more.
06-08-2015 07:20 AM
Hi,
The best way to achieve this is by saving all the fron panels and their values to a file and loading thme simulatenously. One solution would be calling the subpanel and loading the corresponding vi and repeat if needed more.
06-08-2015 07:43 AM
Mike,
Its not working for me. I am located in Bangalore, india.