Page 1 of 1

Data lost between two data log intervals

Posted: Fri 27 Mar 2015 2:42 pm
by krimatic
Hello,
I've WS2307 and now is connected to station by wireless connection so data refresh is 128 sec. But today is windy weather so data refresh (according to manual) is 32 sec.
But I'm planning to connect outside sensors to station with cable connection and then refresh will be in 8 sec.

In Cumulus the shortest data log interval is 1 min so I wonder what's happening with data between every log interval. Is that mean that 7 measuring is lost and only one is recorded? Or cumulus calculate some mid-value. I'm specially interested about wind gust measurements.
Can I somehow get all data records from WS?

Re: Data lost between two data log intervals

Posted: Fri 27 Mar 2015 8:12 pm
by steve
It logs the current value at the time the entry was logged. The other values are read and displayed and used for high/low data etc. If you want to permanently record every individual reading, you would have to devise some way of doing it yourself, e.g. using realtime.txt.

Re: Data lost between two data log intervals

Posted: Fri 27 Mar 2015 10:43 pm
by krimatic
steve wrote:It logs the current value at the time the entry was logged. The other values are read and displayed and used for high/low data etc. If you want to permanently record every individual reading, you would have to devise some way of doing it yourself, e.g. using realtime.txt.
Hi Steve, thanks for explanation.
At least I know I'll not lose some extreme values.

Re: Data lost between two data log intervals

Posted: Sat 28 Mar 2015 10:49 pm
by krimatic
Is it anyhow possible to get history data inside same realtime.txt file? According to help it isn't :( Some changes of .ini file?

If I select option "FTP rename" I get multiple files but with same values, so I couldn't do anything with in Excel.
From my point of view one additional option missing, "create realtime.txt log"

CulusRealtime and WeatherConsole are nice, but do not provide any historical data

Re: Data lost between two data log intervals

Posted: Sun 29 Mar 2015 1:23 am
by PaulMy
Is it anyhow possible to get history data inside same realtime.txt file? According to help it isn't :( Some changes of .ini file?
Are you looking for something different than what dayfile.txt provides (contains each day's max, min, etc.)?

Perhaps the realtimelog.txt file in Cumulus Toolbox is what you want (saves realtime.txt data at the interval of your choice).

Or save your data, dayfile.txt and/or monthlog.txt in a MySQL using http://wiki.sandaysoft.com/a/ImportCumulusFile

Paul

Re: Data lost between two data log intervals

Posted: Sun 29 Mar 2015 8:16 am
by steve
...or create your own version of realtime.txt using web tags.

Re: Data lost between two data log intervals

Posted: Sun 29 Mar 2015 10:47 am
by krimatic
PaulMy wrote:
Is it anyhow possible to get history data inside same realtime.txt file? According to help it isn't :( Some changes of .ini file?
Are you looking for something different than what dayfile.txt provides (contains each day's max, min, etc.)?

Perhaps the realtimelog.txt file in Cumulus Toolbox is what you want (saves realtime.txt data at the interval of your choice).

Paul
What I like is a realtime.txt but not only with current (latest) value than as a log. Same info's which are in realtime.txt, nothing more or less. I need a file like mothlylog.txt, but with shorter interval than a minute
With that log (txt file) and Excel I could easy create very accurate reports for a weather history.
It seems to realtimelog.txt will meet my expectations (according to description)

Re: Data lost between two data log intervals

Posted: Sun 29 Mar 2015 12:29 pm
by krimatic
What Paul recommended is what I need. It creates realtime log from realtime file. But one problem, Cumulus toolbox has minimum update frequency in minutes, Cumulus have possibility to make realtime.txt in seconds.
So, file I get is same as monthly.log.

How to get update in seconds (without any additional rules and anything else)?

Re: Data lost between two data log intervals

Posted: Sun 29 Mar 2015 12:43 pm
by steve
Cumulus allows you to invoke a command at each realtime update. You could run a 'batch' file to perform the appending of the realtime.txt to a log. I'm pretty sure several people have done this before - a search on the forum and wiki may turn something up.

Re: Data lost between two data log intervals

Posted: Sun 29 Mar 2015 9:58 pm
by krimatic
Unfortunately I don't have any skills in writing batch files :( So I would appreciate any help.

That is something like this?
:start
copy /b realtime.log+realtime.txt realtime.tmp
tail --quiet --lines=1440 realtime.tmp > realtime.log
copy realtime.log Z:\casa\cumulus\realtimelog.txt
choice /C N /T 60 /D N /M "Wait for timeout..."
goto start

Re: Data lost between two data log intervals

Posted: Mon 30 Mar 2015 7:08 am
by steve
Looking at the post in the forum that you've taken that from, that's what it appears to be intended to do, yes.

Re: Data lost between two data log intervals

Posted: Mon 30 Mar 2015 10:31 pm
by krimatic
OK, thanks for reply, I'll try to do something.
But I still think that is very oddly that Cumulus Toolbox can produce realtimelog.txt in minimum interval of a one minute and Cumulus can produce realtime.txt in a interval in a seconds. I can't really understand why toolbox doesn't follow Cumulus possibilities.

Re: Data lost between two data log intervals

Posted: Tue 31 Mar 2015 6:56 am
by steve
The Toolbox is a third party application which is no longer developed; perhaps it would have been an enhancement at some point, had it continued to be developed.