question to named timer

Post Reply
User avatar
seal58
Posts: 377
Joined: Fri Jul 12, 2019 5:28 pm
Location: Rostock, Germany
Contact:

question to named timer

Post 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?
User avatar
TheGarnet
Posts: 38
Joined: Mon Aug 22, 2022 1:55 pm

Re: question to named timer

Post 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
User avatar
seal58
Posts: 377
Joined: Fri Jul 12, 2019 5:28 pm
Location: Rostock, Germany
Contact:

Re: question to named timer

Post 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:
UrbanCyborg
Posts: 625
Joined: Mon Nov 15, 2021 9:23 pm

Re: question to named timer

Post by UrbanCyborg »

+1
Cyberwerks Heavy Industries -- viewforum.php?f=76
Post Reply

Return to “Module Designer”