LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic placement of indicators

I want to create a front panel which will automatically adapt to a changing number of indicators. For example, the number of temperature sensors in operation will vary from zero to eight. If I have an array containing a reading for each sensor, I want to write a program to create an indicator for each reading, and then distribute the indicators evenly on the front panel. I'm thinking that this might involve somehow dividing the front panel into the correct number of regions and then placing an indicator in each region.
0 Kudos
Message 1 of 3
(2,629 Views)
You can use the same array you have, and make more or less components visible using rows or columns property node. This trick used with a little creativity can give good result combined with array indicator position change depending the number of elements.
Hope this helps
Message 2 of 3
(2,629 Views)
Alternatively, if you dislike the look of the array, you could move the
unwanted indicators offscreen and/or hide them, showing and arranging the
desired number of controls as required. There are properties to set the
positions and to show/hide the indicators.

Gorka Larrea wrote in message
news:506500000005000000CF400000-999158726000@exchange.ni.com...
> You can use the same array you have, and make more or less components
> visible using rows or columns property node. This trick used with a
> little creativity can give good result combined with array indicator
> position change depending the number of elements.
> Hope this helps
0 Kudos
Message 3 of 3
(2,629 Views)