Do every X seconds isn't exactly X

Hi all,
just want to make sure I’m not missing something regarding the subj…

I recently did some exercise with time picker and used a clock animation as a test here. The clock is ticking using Do every 1 second, and at some point it spins through one additional second, which looks like skipping that particluar second during animation.

After playing around a while, it turned out that Do every 1 second does not actually trigger every one second. It is more like Repeat in 1 second which means that an event will be triggered each (1 second + execution time). That means that an event occuring at 10:09:59.999 would show 10:09:59 on clock face, while next time it occurs would be 10:10:01.010 which will show 10:10:01, skipping the 10:10:00 moment.

Do I understand that correctly?
And please advise if you know any other way (without javascript) to make event occur every 1 second exactly (to an extent of client machine’s clock precision).

This topic was automatically closed after 14 days. New replies are no longer allowed.