LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit subarray "block" of array?

Solved!
Go to solution

Hey all,

 

What's the best way to go about replacing the elements in a 20x20 section of a larger array? Does LabView allow this? I see that it's possible to replace the elements of an entire row/column at one time, but I can't find any documentation on changing a block of elements.

 

Any advice?

 

Thanks in advance to anyone who has the time to help out. Kudos shall flow as wine.

 

 

0 Kudos
Message 1 of 3
(2,294 Views)
Solution
Accepted by topic author Drewskie

Wire both indices of Replace Array Subset (with 2D array input) and wire your 2D block into the new element input.  It will replace the block inside the larger array.  It will not grow your original array if the block extends beyond its limits, but you didn't really want to do that anyway.

Message 2 of 3
(2,285 Views)

Thanks Darin.K!!

0 Kudos
Message 3 of 3
(2,279 Views)