LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have two arrays A and B. A results fro

m a database query and can be changed at any time in content and size (i.e. rows and/or columns can be added or extracted). B uses the information from A. What is an efficient way to modify B with the changes in A without simply replacing the whole array?
0 Kudos
Message 1 of 2
(2,223 Views)
m a database query and can be changed at any time in content and size (i.e. rows and/or columns can be added or extracted). B uses the information from A. What is an efficient way to modify B with the changes in A without simply replacing the whole array?Compare the two arrays using the equal function in the comparison palette, that will give you an array of booleans. The index of every false boolean is where there is a difference between your two arrays. Replace the data at these indexes using replace array subset.

Hope this helps
Message 2 of 2
(2,223 Views)