LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to spreadsheet

Hello!

 

I am having difficulty writing to spreadsheet. It tells me that the data is of different forms...? I have looked through numerous examples on this website and cannot figure out what I am connecting wrong. It seems that I have everything connected the same as a similar VI I have that is correctly wired and writes to a spreadsheet.

 

Thanks so much for your help!

0 Kudos
Message 1 of 5
(2,617 Views)

Your code is incomplete.

 

What exactly are you trying to write to spreadsheet?

 

I am guessing you want something like this?

 

(see attached snippet)

 

Message Edited by RTSLVU on 06-04-2010 12:46 PM
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 5
(2,608 Views)

blizabeth37 wrote:

Hello!

 

I am having difficulty writing to spreadsheet. It tells me that the data is of different forms...?


You cannot create an array of different data types, like trying to combine a DBL with a Timestamp with a string.  You must convert all data to one type.  RTSLVU's example shows conversion to DBL before writing.  You can also convert everything to a string.  99% of the times, I use string because I also write column headers, which are strings.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 5
(2,591 Views)

RTSLVU wrote:

Your code is incomplete.

 

What exactly are you trying to write to spreadsheet?

 

I am guessing you want something like this?

 

(see attached snippet)


Is there a point to this:

Message Edited by smercurio_fc on 06-04-2010 03:27 PM
0 Kudos
Message 4 of 5
(2,578 Views)

First off, that's not my code...

 

I tried to just highlight the part I changed to make the snippet.

 

LabVIEW added the constents when creating the snippet

 

Doh, that was in the origonal code, but it's still not mine...


smercurio_fc wrote:

RTSLVU wrote:

Your code is incomplete.

 

What exactly are you trying to write to spreadsheet?

 

I am guessing you want something like this?

 

(see attached snippet)


Is there a point to this:

Message Edited by smercurio_fc on 06-04-2010 03:27 PM

 

Message Edited by RTSLVU on 06-04-2010 01:31 PM
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 5
(2,575 Views)