LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I automatically save array data to a spreadsheet?

Solved!
Go to solution
I am setting up a 24 hour test where I would like the gathered array data to automatically save to a spreadsheet every 4 hours. Is there a way to set this up with the Write to Spreadsheet file.vi?
0 Kudos
Message 1 of 3
(2,563 Views)
No. You have to have to do this yourself. Basically this involves keeping track of the last time you saved, and seeing if 4 hours have passed. If so, run the Write to Spreadsheet File function with the accumulated data. Search the forums, as this has been brought up before several times, and examples have been posted.
0 Kudos
Message 2 of 3
(2,559 Views)
Solution
Accepted by topic author mes2483

Sure, you just need a timer that will  tell you when the 4 hours are up.  Take a look at the attached timer, I picked it up on these forums a while ago but I cant remeber who to give credit to for it*.  Just use this timer to trigger a case structure holding the write to spreadsheet function.

 

*It is from Bloomy controls

Message Edited by jmcbee on 03-17-2009 09:39 AM
Download All
Message 3 of 3
(2,557 Views)