LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arrange a 1D array as matrix

Dear all,
assume that I have a 1D Array of 4 control elements on my Frontpanel.

Is there a way to arrange it in 2 rows times 2 columns?

I attach an image of what i would like to achieve (Array is what I have Array2 is what I would like to have).
The image is faked as the desired solution is made up of a 2D array.




Liebe Grüße
Phili

Message Edited by phili on 03-21-200605:05 AM

0 Kudos
Message 1 of 5
(3,161 Views)
Hi phili:

Reshape Array function, inside array functions, does just that. Drag the bottom to add dimensions, so that you can set 2 as inputs.

Hope it helps,
Aitortxo.
0 Kudos
Message 2 of 5
(3,151 Views)
Hi Aitortxo,
thank you for the reply.

I thought that there might be a way of just shaping the Frontpannel directly.
But sure, why not build a 2D array and use that as output

Thanks again
Phili

Message Edited by phili on 03-21-2006 05:27 AM

0 Kudos
Message 3 of 5
(3,149 Views)
If you use a cluster, you can arainge it on the front panel however you want.  The array to cluster and cluster to array tools will let you convert it back and forth if you need it to be an array on the block diagram.
0 Kudos
Message 4 of 5
(3,139 Views)
I used the array solution for now,
but thanks for the advice, Jason.

Liebe Grüße
Phili
0 Kudos
Message 5 of 5
(3,124 Views)