LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run a vi in separate while loop, minimize flashing of window

Solved!
Go to solution

@MinerHokieRamp wrote:

@Yamaeda wrote:

 

 

 You can either get a clusters ref[] property and scan through the cluster items label properties, or use a cluster to array of variant (through variant to data) and get Variant data to get label.

 

 Have the cluster as type def, and only do small changes before comitting (apply changes). It's no guarantee, but usually works.


/Y


I'll try it. Thanks.

 

 


I used the idea at https://decibel.ni.com/content/docs/DOC-5543, then used the scanned index to select a label from the label.text array. So, now the states are the cluster control labels, except for the initial state, which I called "HOME". Then, I verified that operation is good when I shuffle the controls indices.\

 

Thanks.

 

Jeffrey Bledsoe
Electrical Engineer
0 Kudos
Message 21 of 22
(614 Views)

@MinerHokieRamp wrote:

@MinerHokieRamp wrote:

@Yamaeda wrote:

 

 

 You can either get a clusters ref[] property and scan through the cluster items label properties, or use a cluster to array of variant (through variant to data) and get Variant data to get label.

 

 Have the cluster as type def, and only do small changes before comitting (apply changes). It's no guarantee, but usually works.


/Y


I'll try it. Thanks.

 

 


I used the idea at https://decibel.ni.com/content/docs/DOC-5543, then used the scanned index to select a label from the label.text array. So, now the states are the cluster control labels, except for the initial state, which I called "HOME". Then, I verified that operation is good when I shuffle the controls indices.\

 

Thanks.

 


Looking back over old discussions, found an extra character in the link above. It should be:

 

https://forums.ni.com/t5/Example-Code/Display-the-Labels-of-All-Controls-Indicators-within-a-Cluster...

 

 

Jeffrey Bledsoe
Electrical Engineer
0 Kudos
Message 22 of 22
(566 Views)