Resetting Value on Timer

Hello,
I am trying to figure out how to reset the Value on the Timer Component when Running is false. I am binding Running to a tag. Just need help trying to reset.
Any help will be greatly appreciated

Put a script on the timers propertyChange function

if event.propertyName=='running' and not event.source.running:
	event.source.value=0
3 Likes

Ok, has anyone tried this latel?. I followed all the steps and it will not reset.

The original question was missing any detail that would help provide an answer. You'll need to explain what you are trying to achieve, how, what you expect and what you got.

Just looking to have the timer value go back to 0 when not running.

Have you applied the script as shown to the propertyChange event of the timer in question? Are you receiving an error in the designer/client logs? How are you starting and stopping the timer? Is anything else bound to / overwriting the timer's value property?