# 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:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Conn\_Mccurdy](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@Conn\_Mccurdy](https://forum.inductiveautomation.com/u/Conn_Mccurdy)\
**Post date:** [March 7, 2022, 3:18pm UTC](https://forum.inductiveautomation.com/t/trying-to-learn-how-to-use-a-counter/56911/1 "2022-03-07T15:18:56Z")

</div>

I am trying to get an LED display to show how many times a button has been pressed. If I press a button four times, the LED display will show four. Any help would be much appreciated.

---

<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?

---

<div class="post-metadata">

**Author:** ![Conn\_Mccurdy](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@Conn\_Mccurdy](https://forum.inductiveautomation.com/u/Conn_Mccurdy)\
**Post date:** [March 7, 2022, 3:21pm UTC](https://forum.inductiveautomation.com/t/trying-to-learn-how-to-use-a-counter/56911/3 "2022-03-07T15:21:07Z")

</div>

I am new to ignition and am trying to learn the basics

---

<div class="post-metadata">

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

</div>

Visit [www.inductiveuniversity.com](http://www.inductiveuniversity.com) There are several video lessons on getting started with Ignition, and it is free!

---

<div class="post-metadata">

**Author:** ![Conn\_Mccurdy](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@Conn\_Mccurdy](https://forum.inductiveautomation.com/u/Conn_Mccurdy)\
**Post date:** [March 7, 2022, 3:25pm UTC](https://forum.inductiveautomation.com/t/trying-to-learn-how-to-use-a-counter/56911/5 "2022-03-07T15:25:22Z")

</div>

Thank you for your reply. I have looked for the tutorial on the university but could not find what i was looking for. I am an intern that has given the task of learning the ignition software. I seem to have run into a roadblock with the counter task

---

<div class="post-metadata">

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

</div>

1. Search the forum for keywords related to your task at hand
2. Review those threads for answers
3. If you still need help feel free to post a new thread or comment on an existing thread that is related

Welcome to the community 🎉
