ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call 2D subset array problem

Hello everyone

 

if I have 2D array with m row and n column

i need to call to subarray by x row and x column for each 1 iteration 

 

for example, if an array is

 

1  1  2  2  3  3  4  4   5  5

1  1  2  2  3  3  4  4   5  5

6  6  7  7  8  8  9  9  10 10

6  6  7  7  8  8  9  9  10  10

 

so the result should be        1 1  ,   2  2  ,  3 3 ......and so on  for each iteration until the loop finish  ...if i call sub array by 2x2dimension

                                         1 1      2  2     3 3

 

 How can i do ?? Could you please suggest me. 

Thank you very much

0 Kudos
Message 1 of 2
(2,498 Views)

Use Array Subset. You can shift it over your array via the index inputs and with length=2.

 

 

Christian

0 Kudos
Message 2 of 2
(2,481 Views)