LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I connect "Get Date/Time String.vi" to "Write To Spreadsheet File.vi" ?

How can I connect "Get Date/Time String.vi" to "Write To Spreadsheet File.vi" ?  I want to write 05/06/2008 to spreadsheet for example. I tried many conversions in vain. I am using LabVIEW 8.0 now.
0 Kudos
Message 1 of 7
(3,802 Views)
Trying to fit a square into a circle? That VI uses a 1D/2D array of numbers, so why are you trying to feed a date?

I suppose you can do this:


If that actually means anything.


Message Edited by smercurio_fc on 05-06-2008 05:15 PM
Message 2 of 7
(3,797 Views)

I want to store not only data of measurement system, but also date, time, commment, etc to one excel file.

Thank you for your advice. I tried what you propose, but it did not work. I attached the image of the error message.

0 Kudos
Message 3 of 7
(3,780 Views)
Hi Pikaichi,
right click on the "Write To Spreadsheet File.vi" select, select type -> "string" or "automatic". Smiley Happy
Mike
Message 4 of 7
(3,762 Views)

Hi Mike

Thank you for your advice but no function of selecting "string" or "automatic" on LabVIEW 8.0.

I found that no problem connecting two vis on other PC installed LabVIEW 8.2. So I installed LabVIEW 8.2 on my PC, too, and now have no problem connecting these two vis.

Thank you.

 

0 Kudos
Message 5 of 7
(3,728 Views)
The ability to adapt the Write to Spreadsheet File function was introduced in 8.2. In 8.0 it was a single variant, which was to accept a 2D array of doubles. As with earlier version, this basically required one to create a copy of it and change it to use strings. Since you've updated to 8.2 you don't have to do this. Smiley Wink
0 Kudos
Message 6 of 7
(3,702 Views)
That proves it. Thank you.
0 Kudos
Message 7 of 7
(3,668 Views)