LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Separate a 2D array by columns

Solved!
Go to solution

Hello, I need help I am new into LabVIEW and I need to separate a 2D array into columns, I know how to separate one by one but I need 20 different 1D arrays so I want to see if I can do a for loop to do this more quicky

example.PNG

0 Kudos
Message 1 of 2
(1,155 Views)
Solution
Accepted by topic author jalonso9

So what exactly do you want later?

 

If you transpose the 2D array first, you can autoindex on a FOR loop and get one original column with each iteration for processing.

 

If you want 20 different columns, you can simply resize "index array" for 20 outputs, but that seems silly because it is not really scalable. What if you need 500 columns next time?

 

Please explain in simpler terms what you need to do, not how you want to do it.

 

I recommend the learning resources listed at the top of the forum.

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