LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

transform 3D array to 2D array putting pages side by side as columns

Hi everyone,

I've got a problem. I'll try to explain it at best.
I've got a 3D vector made in this way. every page contains 2 columns and a series of rows (about 300). I need to transform it in a 2D array putting the two columns of each page side by side.
for example supposing my first page is like:
3   1
2   3
2   5
7   8
...   ....
and the second is:
12   5
3   7
2   9
1   10
...   ...
and so on...

I'need my final 2D array to be like:
3   1   12   5...
2   3   3   7...
2   5   2   9...
7   8   1   10...
...   ...   ...   ...

Thanks so much for your help in advance

Robbo
0 Kudos
Message 1 of 7
(4,114 Views)
There is a reshape array command on the array tools pallete.
0 Kudos
Message 2 of 7
(4,104 Views)
I've tried to use it but without success. It puts the elements not in the way I want them to be.
could you post a simple vi wich does what I want to do with a simple constant array? it could be very helpful to me.
Thanks

Robbo
0 Kudos
Message 3 of 7
(4,098 Views)
Thanks so much! it was what I was searching for!

Robbo
Message 5 of 7
(4,077 Views)
what RobboFlea is asking is exactly what I need however I could not open convert 3d array to 2d columns.vi (11 KB) because I m using labview 8.2, can someone help me?
Message 6 of 7
(3,803 Views)
never mind i solve the problem myself by just writing a simple VI. but thanx anyway. the forum was helpful.
Message 7 of 7
(3,799 Views)