Page 1 of 1

Extra channel rotation

Posted: Fri 01 Jul 2011 7:13 pm
by Tonky
Steve,

There is something 'strange' going on with the ‘Extra channel’ rotation.
Normally it rotates every 10 sec. but regular it stays for 2 min. on channel 2, 3 or 4 and then it starts rotating again.
Not a big problem, but I wonder why.

Edit:
Specific it goes like this:
Channel: 2 (2.50 min) 3,4,2,3,4,2,3,4,2,3,4,2,3,4,2,3 (2.50 min) 4,2,3,4,2,3,4,2,3,4,2,3,42.3,4,2 (2.50 min) 3,4,2,3,4,2,3,4,2,3,4,2,3 (2.50 min) 4,2,3,4,2,3,4,2,3,4,2,3,4,2,3,4 (2.50 min)

Re: Extra channel rotation

Posted: Fri 01 Jul 2011 8:12 pm
by steve
It operates off a 2-second timer that I happen to have for other things. If the current clock time is a multiple of 10 seconds, it does the rotate. I suppose it's possible that the timer event sometimes gets delayed so that it doesn't occur until an odd-numbered second. I'll change it to a separate 10-second timer that doesn't rely on the clock time.

By the way, I've been restarting my test version of Cumulus a few times recently, testing some new code, and I hit the situation where the WMR200 said it had archive data when there actually wasn't any. So it looks like this sometimes does happen for whatever reason, so I think I'll probably stop flashing the error light when it does.

Re: Extra channel rotation

Posted: Fri 01 Jul 2011 8:27 pm
by Tonky
I'll change it to a separate 10-second timer that doesn't rely on the clock time
OK, thanks.
So it looks like this sometimes does happen for whatever reason
Happy to know I’m not alone.. ;)
so I think I'll probably stop flashing the error light when it does.
That would be better, to avoid panic. :mrgreen:

Re: Extra channel rotation

Posted: Sat 02 Jul 2011 7:41 pm
by Tonky
Hi Steve,

That was a fast fix (b 1000). :clap:
I’m happy with it, so far everything works fine and as it supposed to.

So thanks a lot!!

One question about the 'Chill Hours':
If I understand it correctly..
Only if you want to change anything you have to add the:
ChillHourSeasonStart=11 (Nov)
ChillHourThreshold=6 (C)
To the cumulus.ini
Is that correct?

Re: Extra channel rotation

Posted: Sat 02 Jul 2011 7:48 pm
by steve
One question about the 'Chill Hours':
If I understand it correctly..
Only if you want to change anything you have to add the:
ChillHourSeasonStart=11 (Nov)
ChillHourThreshold=6 (C)
To the cumulus.ini
Is that correct?
Yes, that's right. Those settings will count the number of hours where the temperature was below 6C, and will reset to zero on November 1st. The current value will start from now, of course (but you could edit today.ini if you knew what the current figure actually was).

Re: Extra channel rotation

Posted: Sat 02 Jul 2011 8:02 pm
by Tonky
So I good use it for how many Hours it’s below 0 like this:
ChillHourSeasonStart=6
ChillHourThreshold=0

Edit!

Re: Extra channel rotation

Posted: Sat 02 Jul 2011 8:05 pm
by steve
Tonky wrote:So I good use it for how many days it’s below 0 like this:
ChillHourSeasonStart=6
ChillHourThreshold=0
Yes, that's right (but it's hours, not days, of course). With those settings, the counter would reset on 1st June.

Re: Extra channel rotation

Posted: Sat 02 Jul 2011 8:08 pm
by Tonky
Yes, my mistake (see edit) :oops:

But thanks for the info!