LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reshaping Array Data

Solved!
Go to solution

Hello everyone, I am trying to reshape the array (Raw Data) to the Desired Array. I tried to use the transpose function but it does not give me the right form. Can someone please kindly help me with this problem? 

rawdata.PNG

0 Kudos
Message 1 of 3
(1,216 Views)
Solution
Accepted by topic author qtle42

I don't know of a function that will do this for you, I think the easiest way would be to build up 2 arrays using a for loop, one for even numbered rows and one for odd numbered rows. Note that "concatenating" and "conditional" are selected on the for loop outputs.
Then you build, transpose, or format into text as you please.

 

capture.PNG

Message 2 of 3
(1,192 Views)

Thank you very much for your fast reply Gregory. I did exactly what you said and got the result.

0 Kudos
Message 3 of 3
(1,182 Views)