So sorry to insist on this again, but are you sure using Round() is the way to do it? I mean ... 7/15<0.5, so Round(7/15)=0, all good till now. However, 8/15>=0.5, so Round(8/15)=1, meaning its OnChangeAction will fire after 8 minutes in this case ... and will not fire at the 15th minute, since Round(14/15)=Round(15/15)=Round(16/15)=1.
death.crafter wrote: ↑July 18th, 2021, 4:28 amToday I am unconciously disturbed
Yeah, I noticed that. Mark the day in the calendar, do not try to play on the stock market on this day...
Yincognito wrote: ↑July 18th, 2021, 4:37 am
So sorry to insist on this again, but are you sure using Round() is the way to do it? I mean ... 7/15<0.5, so Round(7/15)=0, all good till now. However, 8/15>=0.5, so Round(8/15)=1, meaning its OnChangeAction will fire after 8 minutes in this case ... and will not fire at the 15th minute, since Round(14/15)=Round(15/15)=Round(16/15)=1.
Yeah, I noticed that. Mark the day in the calendar, do not try to play on the stock market on this day...
Oh my god. I did it again. It should be Floor(). Thanks again.
Thanks all for answers. It works, but I have a couple of questions:
1) How can I have two rings of bell2 every 30 minutes. Bell2 currently rings every 15 minutes.
2) I would like to add a time range, let's say from 07:00 to 22:00. How do I create this range?
Yes, indeed .- sorry for the delay, I'm on mobile now. As for the 2nd question, a disable (or pause?) of this measure from the HourRings measure when it's past 22:00 (and enable or unpause just before 07:00) through an IfCondition there should do.
FreeRaider wrote: ↑July 18th, 2021, 1:44 pm
Thanks all for answers. It works, but I have a couple of questions:
1) How can I have two rings of bell2 every 30 minutes. Bell2 currently rings every 15 minutes.
2) I would like to add a time range, let's say from 07:00 to 22:00. How do I create this range?
Depending on what way you go, you can add, Disabled=(([Hour]>22) || ([Hour]<7) ? 1 : 0), to all the measures that matter. Not on Hour itself tho. But you already know that.
death.crafter wrote: ↑July 18th, 2021, 2:16 pm
Depending on what way you go, you can add, Disabled=(([Hour]>22) || ([Hour]<7) ? 1 : 0), to all the measures that matter. Not on Hour itself tho. But you already know that.
This is actually a better idea indeed, if placed on the Minute triggerring measure. That being said, it's better to include the original minute related measure in the conditional, since, as it is now, it will disable itself at 23:00 instead of 22:00. Or, use 21 instead of 22, but then you won't hear the 22:00 ringing...
Yincognito wrote: ↑July 18th, 2021, 2:33 pm
This is actually a better idea indeed, if placed on the Minute triggerring measure. That being said, it's better to include the original minute related measure in the conditional, since, as it is now, it will disable itself at 23:00 instead of 22:00. Or, use 21 instead of 22, but then you won't hear the 22:00 ringing...
LOL, yes, of course. But it will still cut out the 22:00 ringing, now won't it? Anyway, what's clear is that it can be done just by slightly altering some little things in whichever approach, so I guess it's not that big of a deal.