LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update cluster values

Hi,

How can I update the value of one element in a cluster and replace that value back in the cluster. My cluster "speed" contains elements like base, period, range ... and I want to update these specific values.

Thank you!

0 Kudos
Message 1 of 5
(3,641 Views)

Take this. It's dangerous to go alone!

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 5
(3,635 Views)
Bundle by Name.
Message 3 of 5
(3,618 Views)

Thanks for the suggestions! I used the bundle by name function to solve it.

0 Kudos
Message 4 of 5
(3,494 Views)

How can I update the value of one element in a cluster and replace that value back in the cluster


If you're read and writing the same value in a cluster, you should use the in-place element structure to do the unbundling and bundling (like I linked above). It has properties that make it much more efficient than just unbundling and bundling alone because it doesn't create copies of the data at each juncture.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 5 of 5
(3,484 Views)