LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting Vector

Hi!
Now I´ve managed to get my wanted vector (1D) 🐵
But when I try to open it in Exel it´s too long.
So, now I want to convert my row-vector to an colonn-vector. Is there a
simple way to do this?
I´ve not managed to find a VI that does this, exept for 2D vectors.
Thanks!
Peter Jansson,
Teracom Systemservice Malmö
0 Kudos
Message 1 of 3
(1,482 Views)
Instead of wiring an array to "Write to spreadsheet.vi" try
to wire your array to a for loop, and inside the loop, with
indexing enabled, wire your data to the "Write to
spreadsheet.vi" all your data will be written in one column
instead of one row.
Hope this helps

Gorka Larrea
glarrea_1@hotmail.com


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
0 Kudos
Message 2 of 3
(1,482 Views)
Input your 1D array into a Build Array function (element input). It will
output a 1xN 2D array that you input to a Transpose 2D Array function to get
a Nx1 array.

OR

Use Reshape Array function extended to two dimension inputs. Wire N (array
length) to the first input and 1(one) to the second input. You will get the
same Nx1 array.

OR

Wire the 1D array to Array to Spreadsheet String with %g format and line
feed delimiter. It will output a string with one number per line.

Jean-Pierre Drolet

"Peter Jansson, Teracom Malmoe" a écrit dans le
message news: 962173638.738364@proxy2...
> Hi!
> Now I´ve managed to get my wanted vector (1D) 🐵
> But when I try to open it in Exel it´s too long.
> So, now I want to convert my row-vector to an co
lonn-vector. Is there a
> simple way to do this?
> I´ve not managed to find a VI that does this, exept for 2D vectors.
> Thanks!
> Peter Jansson,
> Teracom Systemservice Malmö
>
>
0 Kudos
Message 3 of 3
(1,482 Views)