12-14-2012 09:32 AM
I want to link nine arrays whose dimension is 2*2 horizontally,but the function 'build array' (concatenated way) made them vertically.........help me please..........maybe this is too simple.........since I am only a students who learnd labview only few months..
Solved! Go to Solution.
12-14-2012 09:45 AM
One way could be to transpose all arrays, concatenate them and again transpose the concatenated array.
Cheers
Edgar
12-14-2012 09:46 AM
Transpose array on the result. 🙂
/Y
12-14-2012 03:05 PM
All you need to do is to add Transpose 2D array after Build Array(concatenate) .![]()
12-14-2012 03:16 PM
A transpose operation only solves certain scenarios, but you don't give enough information on what you actually want.
For example, of you have 3 2x2 arrays:
a1 a2 b1 b2 c1 c2
a3 a4 b3 b4 c3 c4
What should the final vertical result be?
a1 a2
a3 a4
b1 b2
b3 b4
c1 c2
c3 c4
or
a1 a3
a2 a4
b1 b3
b2 b4
c1 c3
c2 c4
Or something else?
Please be much more specific. Maybe even attach a small VI containing typical default data.
12-14-2012 09:03 PM
I have considered it before,but this method will destroy the original arrangement of each 2*2 array which can't be changed when transition.......
a1 a2
a3 a4
b1 b2
b3 b4
become
a1 a3 b1 b3
a2 a4 b2 b4 .................![]()
12-14-2012 09:10 PM
If there are two arrays A1= a1 a2 and B1=b1 b2
a3 a4 b3 b4
I want to link them like this way..........................a1 a2 b1 b2
a3 a4 b3 b4
but the 'build array'(concatenate) made them like : a1 a2
a3 a4
b1 b2
b3 b4
12-14-2012 09:17 PM - edited 12-14-2012 09:18 PM
All you have to do is follow Edgar's instructions he gave in message #2.

12-14-2012 10:08 PM - edited 12-14-2012 10:09 PM
@RavensFan wrote:
All you have to do is follow Edgar's instructions he gave in message #2.
.. and if you don't like all these transpositions, simply wrap a FOR loop around it instead. Same difference 😄

12-14-2012 10:31 PM - edited 12-14-2012 10:38 PM
Build Matrix:
Default behavior is to append columns, selectable by Right-click menu. Also expandable by pulling down.