ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to transpose 1D array

Hi
 
I can see many have asked this question but I can't seem to find an answer. How do you transpose a 1D array so you go from
 
V = [ 1 , 2 , 3 ]
 
to
 
Vnew =
| 1 |
| 2 |
| 3 |
 
I need it on my front panel so I want it arranged like this.
 
Hope someone can help me
 
/Simon
LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
0 Kudos
Message 1 of 3
(4,216 Views)
Hi Simon,

reduce the array indicator to only one displayed element and then increase to number of the elements in the direction you need!
A 1d array stays the same no matter how you display it.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(4,214 Views)

Hi GerdW

LOL that was easy, thanks man, 5 stars from me;-)

LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
0 Kudos
Message 3 of 3
(4,209 Views)