LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

replace a 2D array with a smaller 2D array

i have a big 2D array 9000*1024. Now I have another 2D array, 33*1024. I want to replace a part of the bigger 2D with the smaller 2D array. I am using the replace array subset. it has some errors? seems I only can replace one row or one column. the labview code attached.

thanks
0 Kudos
Message 1 of 3
(3,564 Views)
You need to wire the index(col) input on the replace array subset.

Hope that this helps,
Bob Young
0 Kudos
Message 2 of 3
(3,552 Views)
You have to wire both index terminals (row and column). The column terminal is unwired and disabled in your diagram. This is the default for this function which apparently assumes that a subset is an array/element of smaller number of dimensions.

Lynn
0 Kudos
Message 3 of 3
(3,552 Views)