# Store data at fixed intervals

**URL:** <https://forum.inductiveautomation.com/t/store-data-at-fixed-intervals/33545>\
**Category:** Ignition\
**Created:** [March 31, 2020, 9:42am UTC](https://forum.inductiveautomation.com/t/store-data-at-fixed-intervals/33545 "2020-03-31T09:42:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarno.vandenberg](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jarno.vandenberg](https://forum.inductiveautomation.com/u/jarno.vandenberg)\
**Post date:** [March 31, 2020, 9:42am UTC](https://forum.inductiveautomation.com/t/store-data-at-fixed-intervals/33545/1 "2020-03-31T09:42:44Z")

</div>

Hello,

I am a beginner in Ignition and am wondering how to solve the following issue.

I have an OPC tag that accumulates production data over a shift. from production day start, untill the production end, I would like to store the data as a row in a DB (using PG DB) I will use a dedicated Boolean to mark end of shift. 1=shift active 0=shift nonactive. For now I will do this for one Tag.

I think there are multiple way’s to approach this, but ideally the way that uses directly availabe tools (Parameterizing) in designer would be prefered.

Eventually I would like to have a date selector (not range) to recall and visualize the historical data. But this can be handled in a different post 😉

Any help would be appriciated.

Best regards,  
Jarno

---

<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:** [March 31, 2020, 1:30pm UTC](https://forum.inductiveautomation.com/t/store-data-at-fixed-intervals/33545/2 "2020-03-31T13:30:34Z")

</div>

Transaction groups that record on your desired interval when your condition is true. Use database pens in the EasyChart to visualize.

---

<div class="post-metadata">

**Author:** ![jarno.vandenberg](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jarno.vandenberg](https://forum.inductiveautomation.com/u/jarno.vandenberg)\
**Post date:** [April 7, 2020, 9:01am UTC](https://forum.inductiveautomation.com/t/store-data-at-fixed-intervals/33545/3 "2020-04-07T09:01:44Z")

</div>

Thank you for the information, it has been trully helpfull!
