@Hk637 wrote:
Sorry, it might be a smiple fix but actually I fear that I am not getting all the data from the 2D array into the 1D array in the following order
2D array
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
1D array = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All you need to do us reshape the 2D array to a 1D array with a size of the product of the dimensions as I do in my example. (Use "reshape array"!)