LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I make changes to existing data structures in an object?

I was experimenting with the OOP capabilities in Labview 8.5, and ran into a problem when I added an item to the "Cluster of class private data".

What I was hoping would happen is that the change would be automatically implemented in all methods that access this data cluster(thus, saving a significant amount of time in cases where a data cluster is accessed by lots of different functions).

Instead, I got an error message "Control VI has unapplied changes". I deleted the new item from the data cluster, but the message remained.

How do I apply the changes?


0 Kudos
Message 1 of 2
(2,348 Views)
Hi DustinS,
you get the message if there is an typedef with changes. Use the typedef to make changes on your structure and choose "File->Apply Changes". If you do it all open vi´s with this typedef will change to the new structure.

Hope it helps.
Mike
0 Kudos
Message 2 of 2
(2,335 Views)