Page 1 of 1
Recent History Array
Posted: Mon 16 Nov 2015 10:29 pm
by logjam
I've noticed a couple of times that my graph line which uses Recent History data is flat with the first value read after the software is restarted. The time of the first data is also seems to be repeated on the X axis. Subsequent data and times are correct.
I assume that the array is not being populated with historic data on start up.
Re: Recent History Array
Posted: Tue 17 Nov 2015 7:47 am
by steve
The most likely reason for this is an error of some kind in your monthly log file - the diags file will have messages about this if that's the case.
Re: Recent History Array
Posted: Tue 17 Nov 2015 4:29 pm
by logjam
Thank you for the subtle reminder.
Diags now included.
Re: Recent History Array
Posted: Tue 17 Nov 2015 4:45 pm
by freddie
steve wrote:The most likely reason for this is an error of some kind in your monthly log file - the diags file will have messages about this if that's the case.
It does:
Code: Select all
2015-11-16 09:02:48.167 Loading last N hour data from data logs: 16/11/2015 09:01:00
2015-11-16 09:02:58.298 Error at line 6510 of data/Nov15log.txt : Input string was not in the correct format
2015-11-16 09:02:58.327 Please edit the file to correct the error
Re: Recent History Array
Posted: Tue 17 Nov 2015 4:46 pm
by mcrossley
Have a look at your Nov15log.txt file, at line 6510 (in a decent editor of course!)...
Error at line 6510 of data/Nov15log.txt
Edit: cross posted!
Re: Recent History Array
Posted: Fri 20 Nov 2015 11:53 am
by logjam
I'd rather have it twice than not at all.
Yes, a string of nulls on that line before the data. Very strange. I'm pleased it was a local problem anyway.