I am trying to convert a 3D array into a 2D array such that each row corresponds to an AI channel, and the number of elements in each row is the samples read in multiple iterations of the inner FOR loop. I have attached a sample output where the reshaped array seems to be switching positions of the two channels with every iteration. What am I doing wrong?
Thanks,
lza