Cluster elements have a logical order unrelated to their
position in the shell. The first object you place in the
cluster is element 00, the
second is element 11, and so
on. If you delete an element, the order adjusts
automatically.
The cluster order determines the order in which the elements
appear as terminals on the Bundle and
Unbundle functions on the block diagram.
You can view and modify the cluster order by right-clicking
the cluster border and selecting Reorder Controls In
Cluster from the shortcut menu. The toolbar and
cluster change, as shown in Figure 2.
The white box on each element shows its current place in the
cluster order. The black box shows the new place in the
order for an element. To set the order of a cluster element,
type the new order number in the Click to set
to text box and click the element. The cluster order
of the element changes, and the cluster order of other
elements adjusts. Save the changes by clicking the
Confirm button on the toolbar. Revert to the
original order by clicking the Cancel button.
Corresponding elements, determined by the cluster order,
must have compatible data types. For example, in one
cluster, element 00 is a
numeric control, and element 11
is a string control. In a second cluster, element
00 is a numeric indicator, and
element 11 is a string
indicator. The cluster control correctly wires to the
cluster indicator.
However, if you change the cluster order of the indicator so
the string is element 00, and
the numeric is element 11, the
wire from the cluster control to the cluster indicator
appears broken, indicating that the data types do not match.
"A full introductory course on programming with LabVIEW."