Page 1 of 1

question to named timer

Posted: Sat Aug 24, 2019 7:21 am
by seal58
Hi,
I'm working on pulses with use of Named Timer.
At the beginning I became confused, because set time was over just when timer was started. Then I found, that named timer fires in Notify() already just after StartNamedTimer() was called.
I could solve this by using second firing. But I'd want to know, if this is a regular timer behaviour?

Re: question to named timer

Posted: Tue Nov 29, 2022 4:44 pm
by TheGarnet
Apparently it is. This has been wasting a while of my time too figuring this out......

I think the named timer event should include longValue being set to the number of times the timer has fired since starting, with the initial firing being 0.

See:
viewtopic.php?p=10383&hilit=startnamedtimer#p10383

Re: question to named timer

Posted: Wed Nov 30, 2022 9:23 am
by seal58
+1
This proposal is not bad and should be used as feature request for VMD. Such a counter could be useful for many purposes. :idea:

Re: question to named timer

Posted: Wed Nov 30, 2022 6:40 pm
by UrbanCyborg
+1