06-04-2010 02:31 PM
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!
06-04-2010 02:40 PM - edited 06-04-2010 02:46 PM
Your code is incomplete.
What exactly are you trying to write to spreadsheet?
I am guessing you want something like this?
(see attached snippet)
06-04-2010 02:54 PM
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.
06-04-2010 03:26 PM - edited 06-04-2010 03:27 PM
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:
06-04-2010 03:29 PM - edited 06-04-2010 03:31 PM
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