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: 

transpose a 1d array column to row

Hi, i know there are alot of other posts around this issue but i can't get any of the solutions to work for my paticualr issue.
I have an 1D array that is a column format, but i want to transpose it over so it can be put with another 1D array and plotted, i've tried the usual stuff but i can't get it ito work.
help!
John P.
VI attatched, problem at far right of front pannel. Ta!!
0 Kudos
Message 1 of 3
(13,232 Views)
Hi John,

you want to concatenate those 1d arrays? Right-click the "build array" node and select concatenate mode!

You cannot transpose 1d arrays - there's no mathematical way to do so. Yon can change the look of the array indicator to show a row instead of a column...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(13,229 Views)
Hi John,

I changed your vi a little bit, it seems you took the wrong function to build the graph...
(Somewhere I linked to the wrong vi as the IMAQ part is missing in my LV installation.)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 3
(13,212 Views)