11-03-2015 02:53 PM - last edited on 04-05-2024 02:43 PM by Content Cleaner
@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.
06-09-2016 07:45 AM - last edited on 04-05-2024 02:44 PM by Content Cleaner
@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: