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 1-D array?

Solved!
Go to solution
LabVIEW makes no distinction between row or column arrays, you can only have that if you convert it to a Nx1 or 1xN 2D array. (This is not matlab!) You can expand an 1D array control/indicator horizontally or vertically for the desired cosmetic effect.
Message 11 of 12
(868 Views)

@Darin.K wrote:

I have lost track of how many times I have had to tell people to go the opposite direction, this is the first time I have had to suggest this:  Right-Click the Build Array function and uncheck 'Concatenate Inputs'.  Then you can use the Transpose function of the write to spreadsheet file VI.

 

Edit:  Confused by your note where you say it should be a 2d array with 4 columns.


Curiously, that's basically the answer I wrote in the first reply, but then I edited it after 60 seconds. I was more confused by the text "My problem is that the 4 arrays going into the "build array" are single row, but i need them to be single column", which I later mis-read as wanting the output to be a single column. Looking at the blurry picture, I suddenly thought the tunnel was an autoindexing tunnel on a while loop boundary and the broken wire is actually a 2D array. 😄

0 Kudos
Message 12 of 12
(847 Views)