10-21-2016 05:43 AM
Hi,
I have a computer where typically 4 testplaces of production are connected to.
I want to have a main VI showing the status of this 4 different testplaces, which I can do with 4 separate subpanels - no problem.
The topic is, that I would like to be flexibel in how many testplaces I show in one program (as this hole thing is quite fresh and I expect, that some changes will come). Is there a way to dynamically change the number of subpanels displayed (other than making twenty of them and then disabling the ones you do not need)?
My first idea was to place the subpanel in an array, but unfurtunately this is not possible.
Best regards,
Frank
Solved! Go to Solution.
10-21-2016 05:59 AM
10-21-2016 05:59 AM
Frank,
LV does not support dynamic control creation, so you have to pre-create them and use visibility to hide the unused ones (as you already know).
However, scalability N for UIs require a sophisticated way to display information. I recommend to use a tree control to display the selection options for these processes/testplaces. Once the user selects a testplace, it will display in one of (up to four) subpanel controls.
In order to maintain high level information for each testplace, you should maintain a single element giving the high level overview. That could for instance be a custom symbol in the tree (green/yellow/red LED prepending the stations) or an status bar which essentially is an array of LED/numeric element/cluster (depending of the data type of course).
Norbert
10-21-2016 05:14 PM
Well, that's not allowed. But so what?
Here's how you can do it (but it only works in the development environment).
10-24-2016 05:10 AM
Hi,
thanks for your reply. Would it be possible to upload the example as Labview 2013 (or 2014) - I do not have Labview 2015 (because it is so much cheaper if you are not having to pay for the yearly update...).
Thanks in advance,
Frank
10-24-2016 05:31 AM
Pop them out as separate windows and you can have as many as you want. 🙂
10-24-2016 11:37 AM
Here is it.
10-24-2016 01:10 PM
@Yamaeda wrote:Pop them out as separate windows and you can have as many as you want. 🙂
Or make them seperate windows, then implement a child parent relationship in Windows so it appears as if it was all on one UI.
http://screencast.com/t/P9SJ1anR
It's pretty beta like software but works enough for the demo.
https://lavag.org/topic/17046-multi-panel-interface/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-24-2016 02:05 PM
Hi,
thanks a lot...
That is realy helping me!
Frank
10-24-2016 02:06 PM
Hi,
that is a really cool solution...
Will need some time, to work this through, and implement it - but that is really giving a lot of opportunities.
Thanks,
Frank