LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programmatically know what controls in a cluster are modified?

Hi Troy,

you can also use a property node to update the other cluster, but you can also use a property node of the entire cluster, select the value, change it to write and connect the both values together. No need to get the references and use the names.

 

See the attached picture, which shows how you can update the values with references.

 

Hope it helps.

Mike 

Message 11 of 13
(632 Views)
Another totally different option, provided you change the values in a running application, is to use the event structure.  Create an event for each element of the cluster and keep a cluster of booleans only in a local shift register.  When an element is changed (Data Changed event), flip the respective boolean to TRUE.  When you write, write only the elements which have corresponding TRUE elements and flip the boolean elements to FALSE as you write.
Message 12 of 13
(601 Views)

Mike - This solution worked great. Thanks to all for the help.

 

Troy

0 Kudos
Message 13 of 13
(557 Views)