# Hey i have some issue with coding

**URL:** <https://forum.inductiveautomation.com/t/hey-i-have-some-issue-with-coding/74443>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 1, 2023, 2:39pm UTC](https://forum.inductiveautomation.com/t/hey-i-have-some-issue-with-coding/74443 "2023-06-01T14:39:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 1, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/hey-i-have-some-issue-with-coding/74443/5 "2023-06-01T15:08:10Z")

</div>

Maybe this post will give you some guidance,

> [@Tag history difference over interval](https://forum.inductiveautomation.com/t/tag-history-difference-over-interval/48366):
>
> I am trying to find a better way to do production counts over specific intervals using tag history. Example, I have a tag TestCount, right now it’s a memory tag, but typically this would be an OPC tag from a PLC that increments. I can’t use Count aggregationMode because it may not “catch” each transition, example, it may go from 10 to 13. My desire is to be able to chart this data over a period of time, example, 12 hours, with a certain interval, example 1 hour. So, if at the start of the ho…

---

_[View the full topic](https://forum.inductiveautomation.com/t/hey-i-have-some-issue-with-coding/74443)._
