LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a global variable containing a cluster and I like to access the properties. How can I do that?

I could of course wire the global to an indicator but then i always have to adjust the cluster-indicator, when the number of elements in the global-cluster changes. if I convert the cluster to an array I loose the Information about the labels?

Can anyone help?
0 Kudos
Message 1 of 2
(2,655 Views)
The best you can do is to make a typedefinition of your cluster.
Each time you update the structure all instants of the cluster will be updated.
Select the cluster, and go to customize control in the edit menu.
in the upper left of the control editor (next to the font selection box) select typedef or strict typedef instead of control.
Save this to disk and replace the original control and also replace the indicator by this control.
That's exactly what typedefs are ment for.
greetings from the Netherlands
Message 2 of 2
(2,655 Views)