From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to store a 1D array in column format

hi..i am new user of labview..my Q is how to write  1D array in column format?? i am using write to spread sheet VI..attached the screen shot..

i have used and removed  the \t demiliter and also used and removed transpose option..answers arr very much appriciated..thanks

 

 

 

0 Kudos
Message 1 of 11
(4,175 Views)

If you need to write 1D array in column format into the file just use "\n" or "\r\n"as a delimiter in write to spread sheet File function.

 

-Kumar.B

0 Kudos
Message 2 of 11
(4,163 Views)

Simply set transpose to TRUE on "Write to Spreadsheet file.vi".

 

See below:

 

0 Kudos
Message 3 of 11
(4,148 Views)

Hi Ray..thanks for the help..now i am getting similar kind of error but again, its related to 1-D array..

 

the error is attached in pics..i appriciate the ur kind help..thanks...

0 Kudos
Message 4 of 11
(4,064 Views)

You have to understand the data types(Array and Cluster). The subvi power's output is cluster datatype... The output you connected is array.

So you cannot connect...

0 Kudos
Message 5 of 11
(4,054 Views)

thanks..i understand..now, how to write the cluster data in excel?? which option i have to choose......

0 Kudos
Message 6 of 11
(4,052 Views)

I saw your code.

Only 3 cluster elements are there inside. So you have to unbundle it. using property node you can convert it into string and built as a array send it to the spreadsheet.

0 Kudos
Message 7 of 11
(4,048 Views)

I post one simple vi. Try it. It is not a ideal way. so many ways are there.

For cluster. i use multiple data type cluster.

Check it out...

Download All
0 Kudos
Message 8 of 11
(4,033 Views)

thank you for ur kind help and time..much appricated...

0 Kudos
Message 9 of 11
(4,031 Views)

.vi is not opening..i am having 8.2 and the vi is written in version 9..:(..

0 Kudos
Message 10 of 11
(4,028 Views)