05-18-2009 11:54 PM
Refer attached vi. I logged a bunch of data in excel .xls file, then restart the vi and log again in the same xls file, but i notice the new data doesn't append to the existing file but replaces all the old data
In my write spreadsheet file vi, i already set true the append file setting.
How come this doesn't work, did i miss anything?
Advance thanks.
Solved! Go to Solution.
05-19-2009 12:22 AM
05-19-2009 12:42 AM
The problem is not at all with the Write to Spreadsheet but with your VI. The very first thing you do is write the header with the function and there you do not set the append to true.
Never wire a constant to the while loop termination terminal. It's a very bad thing to use the abort button in most cases. Do it right with a front panel control.
05-19-2009 12:44 AM
Hi,
You have made a mistake in the spreadsheet write outside the while loop. Append is not wired (it is FALSE) in the first write to spreadsheet VI. That is why it is overwriting the existing file. Please find the attached figure.