08-18-2012 06:53 AM
Hi.
I have created a lot of custom datastructure (Bundles of data). When I right click and say "Create Constant" the constant I create shows the cluster with the data inside it, but without and of the lables. How can I change this so I can see the lables (and possible order them in the way I want?)
Many thanks, Alec
Solved! Go to Solution.
08-18-2012 07:45 PM
For ordering and labeling every control keeping that as a control is the easy way. Keep the cluster , right click the cluster and select Reorder controls in cluster then when you can click the controls the respective control's order changes at the left top you can enter the order number there.
For making your labels visible for all the controls select all the controls inside the cluster and right click go to properties and enable the Label.
08-18-2012 07:55 PM
In LabVIEW 2012, you can select all elements of the cluster and show the label with one operation.
Are you talking about rearranging the elements in the cluster (cosmetically) or are you talking about the cluster order? You should not change the cluster order, because it will be incompatible with the constant (wire, terminal) you created initially.
For cluster constants, I would recommend to arrange (autosizing) the elements vertically (or horizontally). This way they are sorted by element order and thus are easier to read and document.
08-19-2012 12:01 PM
rt click on the constant to reorder the list from the unbundle by name list.as far as i know...rt click the individual constants to visble items itself to show label
08-20-2012 04:36 AM
I think you all misunderstand me. See the below image... When I click "Create Constant" on the input of this object, I see my cluster, all objects unlableled. I would like it to appear like the object on the right, where the objects are labled (Note, if i just say "show lables" they appear ABOVE the object, not to the right hand side, so I would like to define, manually where these live.)
Cheers, Alec
08-20-2012 04:48 AM - edited 08-20-2012 04:51 AM
For me, the default label position can be changed here: (by going to Tools >> Options >> Block Diagram)
08-20-2012 05:02 AM
and as for the lables not being shown by default?
08-20-2012 08:01 AM
Hi alecjcook,
I believe that the reason that the lables are not visible by default is because from looking at your previous post, you are using a cluster constant, containing numeric constants. Numeric constants do not have lables by default.
08-20-2012 08:18 AM
@alecjcook wrote:
I think you all misunderstand me. See the below image... When I click "Create Constant" on the input of this object, I see my cluster, all objects unlableled. I would like it to appear like the object on the right, where the objects are labled (Note, if i just say "show lables" they appear ABOVE the object, not to the right hand side, so I would like to define, manually where these live.)
Cheers, Alec
Are the names shown in the control editor when you edit the type def?
Ben
08-20-2012 08:19 AM
@alecjcook wrote:
I think you all misunderstand me. See the below image... When I click "Create Constant" on the input of this object, I see my cluster, all objects unlableled. I would like it to appear like the object on the right, where the objects are labled (Note, if i just say "show lables" they appear ABOVE the object, not to the right hand side, so I would like to define, manually where these live.)
Cheers, Alec
Are the names shown in the control editor when you edit the type def?
Ben