# Trying to learn how to use a counter

**URL:** <https://forum.inductiveautomation.com/t/trying-to-learn-how-to-use-a-counter/56911>\
**Category:** Ignition\
**Created:** [March 7, 2022, 3:18pm UTC](https://forum.inductiveautomation.com/t/trying-to-learn-how-to-use-a-counter/56911 "2022-03-07T15:18:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 7, 2022, 3:20pm UTC](https://forum.inductiveautomation.com/t/trying-to-learn-how-to-use-a-counter/56911/2 "2022-03-07T15:20:23Z")

</div>

> [@\[help\] Scripting a counting function](https://forum.inductiveautomation.com/t/help-scripting-a-counting-function/56909):
>
> I am trying to make create a count for a given input and to display the number of times it has been activated onto a numeric label. From my searching the problem online i have tried to understand using memory bits and the gateway tag scripting but i have not been successful and would greatly appreciate advice.

This is a very simple task. What is it that is tripping you up?

---

_[View the full topic](https://forum.inductiveautomation.com/t/trying-to-learn-how-to-use-a-counter/56911)._
