LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get composite label of a control inside a cluster

Hello,

 

I am trying to get the "composite label" of a control that is inside a cluster.

 

In the attached vi, I have two clusters. The corresponding controls inside the clusters have the same labels. If I extract the labels from these corresponding controls in clusters 1 and 2, I get the same string.

 

I could give unique names to all the controls in all the clusters, but this is becoming cumbersome, if one has more than two clusters containing the same types of controls.

 

In the event structure, LabVIEW uses composite label names to refer to the individual controls inside the clusters, e.g., "Cluster 2.Boolean". I was wondering whether there exists a way to obtain these "composite labels" from the property node.

Thank you.

0 Kudos
Message 1 of 2
(2,122 Views)

Use two property nodes. One for the cluster and one for the boolean. Concatenate the resulting strings.

 

Lynn

 

Composite label.png

0 Kudos
Message 2 of 2
(2,116 Views)