The Energy Detective Forums

General Category => Developer Support => Topic started by: rknapp on September 22, 2011, 11:30:22 PM

Title: Error's in data for both xml and raw
Post by: rknapp on September 22, 2011, 11:30:22 PM
Dates with a value of 255

Code: [Select]
<MONTH>
<MTU>0</MTU>
<DATE>06/01/2011 00:00:00</DATE>
<POWER>2168640</POWER>
<COST>24322</COST>
<PMIN>
<VAL>380</VAL>
<DATE>7/6</DATE>
</PMIN>
<PMAX>
<VAL>17101</VAL>
<DATE>7/1</DATE>
</PMAX>
<CMIN>
<VAL>-1</VAL>
<DATE>255/255</DATE>
</CMIN>
<CMAX>
<VAL>200</VAL>
<DATE>7/1</DATE>
</CMAX>
<VMIN>
<VAL>2338</VAL>
<DATE>7/4</DATE>
</VMIN>
<VMAX>
<VAL>65535</VAL>
<DATE>255/255</DATE>
</VMAX>
</MONTH>



Gateway Version 1.0.406
Daughterboard Version 1.0.48
Footprints Version 1.0.223
MTU Version 1.0.57
Title: Re: Error's in data for both xml and raw
Post by: TedDev on September 23, 2011, 12:36:07 AM
You will need to erase your history to get rid of those. Its not an API issue, the data is stored on the serial flash that way.

Title: Re: Error's in data for both xml and raw
Post by: rknapp on September 23, 2011, 12:57:28 AM
So do you recommend erasing the flash on a regular basis? It was done in Feb with the new code, I had done it before as it wouldn't
record any history. What interval do you recommend to erase the flash?

Title: Re: Error's in data for both xml and raw
Post by: rknapp on September 23, 2011, 01:11:37 AM
And have you identified the problem? Is a code bug, bad flash. It is something that can be fixed?