LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

appending to a file using report generation

Solved!
Go to solution

I am trying Write to an Excel file in the Specified Columns and rows that is on my excel Template sheet. It does it correctly the first time  but it stops and give an error. Can anyone help modify this code in labview 2009 to allow me to be able to save the recording every 30 seconds or what ever time frame I specify  and append down in the right column and row please.

Download All
0 Kudos
Message 1 of 4
(2,165 Views)
Solution
Accepted by topic author *E*

Use 'Elapsed Time' VI instead of your timing logic, which will auto reset after every specified time.

 

Elasped Time.png 

Message 2 of 4
(2,162 Views)

Also, as far as appending your data to the excel document in the right location, you need to use the MS Office parameters input  for the Append Table to Report function. 

 

I wrote an example previously on how to automatically append to the next available row using the report generation toolkit, you might check it out and adapt its concepts to your code:

https://decibel.ni.com/content/docs/DOC-21326

Colden
Message 3 of 4
(2,132 Views)

Thanks!

0 Kudos
Message 4 of 4
(2,129 Views)