# Timer double ticks with multiple instances

**URL:** <https://forum.inductiveautomation.com/t/timer-double-ticks-with-multiple-instances/110069>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [August 21, 2025, 7:29pm UTC](https://forum.inductiveautomation.com/t/timer-double-ticks-with-multiple-instances/110069 "2025-08-21T19:29:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![carter.doud](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@carter.doud](https://forum.inductiveautomation.com/u/carter.doud)\
**Post date:** [August 21, 2025, 7:29pm UTC](https://forum.inductiveautomation.com/t/timer-double-ticks-with-multiple-instances/110069/1 "2025-08-21T19:29:28Z")

</div>

I have a timer instance in my program that whenever multiple instances of the window get opened (vision, designer, etc) it adds another timer pulse. I am using the timer module for this, I would like it to tick once per second regardless of how many instances are open, how can I do this?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 21, 2025, 7:39pm UTC](https://forum.inductiveautomation.com/t/timer-double-ticks-with-multiple-instances/110069/2 "2025-08-21T19:39:03Z")

</div>

Don't use jython's timer module.

If you want independent timing per user, use a client timer event.

If you want a single global timer, use a gateway timer event.

---

<div class="post-metadata">

**Author:** ![carter.doud](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@carter.doud](https://forum.inductiveautomation.com/u/carter.doud)\
**Post date:** [August 21, 2025, 7:41pm UTC](https://forum.inductiveautomation.com/t/timer-double-ticks-with-multiple-instances/110069/3 "2025-08-21T19:41:30Z")

</div>

I want global timers, but I have 100 different timers within the project. Is it efficient to make that many gateway timer events, and can I do that within a template?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 21, 2025, 7:44pm UTC](https://forum.inductiveautomation.com/t/timer-double-ticks-with-multiple-instances/110069/4 "2025-08-21T19:44:13Z")

</div>

You can make a single timer event handle many individual timers, presumably with memory tags to hold the state of each timer. (Running, start timestamp, whatever.) Treat the code in the timer event as if a scheduled task in a PLC.

Templates are user interface items. They should have no code that runs global operations. They should only have code that alters state as needed for the gateway event code to carry forward. (Timer start, stop, reset, preset. Timing and following actions are in the gateway event.)

---

<div class="post-metadata">

**Author:** ![carter.doud](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@carter.doud](https://forum.inductiveautomation.com/u/carter.doud)\
**Post date:** [August 21, 2025, 7:46pm UTC](https://forum.inductiveautomation.com/t/timer-double-ticks-with-multiple-instances/110069/5 "2025-08-21T19:46:51Z")

</div>

ok, I think that makes sense, thank you!!
