LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

newbie titled border control?

I would like to group a number of controls together in container that has a title, like the titled border in java.  any controls avaiable for this?
0 Kudos
Message 1 of 11
(3,517 Views)
It's called a cluster in LabVIEW. On the front panel and with the Controls palette, go to the Array and Cluster palette and drag an empty cluster to the front panel. You can then select controls or indicators to put in the cluster. Elements in a cluster must be either all controls or all indicators.
Message 2 of 11
(3,505 Views)
Thankx.  When I group these controls, they all get the some property.  That is, If I got 2 numeric controls and 2 numeric indicators, and place them into Cluster,  all change to numeric controls.  Addtionally, changing 1 numeric control to indicator changes all of the controls. 
any thoughts?
0 Kudos
Message 3 of 11
(3,496 Views)
Another route to look at is simple decorations.  If you place controls in a cluster it becomes one control.  You still have access to all the internal controls, however I am not sure if that is what you want.
 
I typically use a "Dialog Recessed Frame" and then a "Dialog label".  See the attached VI.  It visually groups the controls, however in the diagram they are not realted at all.
0 Kudos
Message 4 of 11
(3,492 Views)

Hello,

As the previous poster indicated, a cluster can only contain all controls or all indicators.  If you want to group controls and indicators together, you can use any of the decorations on the decorations palette to group them together on the front panel (even though they'll still be separate terminals on the block diagram), then you can use a free label to label the group.  Attached is a screenshot of a VI demonstrating this technique.

Hope this helps,

-D

Message 5 of 11
(3,490 Views)
Thankx guys.  going brain-dead. Looked right past the decoration panel.
0 Kudos
Message 6 of 11
(3,483 Views)
Another silly question.  What property makes the free text appear to be "in front" of another object.  That is, odering of objects to front or to back.  When I create a free text label, place this object on top of the recessed frame, frame shows through free text.
0 Kudos
Message 7 of 11
(3,456 Views)
The tool on the far right of the toolbar is a "Reorder" tool.  You can use it to send items to the front or back.
Message 8 of 11
(3,447 Views)
Reordering still produces same result. Is there a property that needs to apply to the free label?
0 Kudos
Message 9 of 11
(3,434 Views)

It depends on the style of label you used.  If you are using a classic control then its background is filled in and it will look like our examples.

However, if you used Decoractions>>Label then the background of the label is transparent.  So your label is in fron its just see through.  Either use the other label or select the paint brush tool in the tools pallette and right click on the label.  You can then select a color.

0 Kudos
Message 10 of 11
(3,426 Views)