# Sample mode configuration

**URL:** <https://forum.inductiveautomation.com/t/sample-mode-configuration/34237>\
**Category:** General Discussion\
**Tags:** ignition80\
**Created:** [April 27, 2020, 3:02pm UTC](https://forum.inductiveautomation.com/t/sample-mode-configuration/34237 "2020-04-27T15:02:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apimente](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/apimente/32/4030_2.png) [@apimente](https://forum.inductiveautomation.com/u/apimente)\
**Post date:** [April 27, 2020, 3:02pm UTC](https://forum.inductiveautomation.com/t/sample-mode-configuration/34237/1 "2020-04-27T15:02:33Z")

</div>

Hello Friends,

We have a some troubles with sample mode in tag history configuration.

We’re using a WAGO PLC that comes with his own OPC-UA server inside the PLC himself.

When we historize tags with sample mode “On change”, the date of the trend came from the PLC, but if we do it with “Tag group”, the date came from the ignition server.

We searched in the documatation but we didn’t find anything about it.

Do you have any information about this?

Greetings.

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [April 28, 2020, 11:47am UTC](https://forum.inductiveautomation.com/t/sample-mode-configuration/34237/2 "2020-04-28T11:47:36Z")

</div>

I had a similar problem last year:

> [@History t\_stamp in the future](http://forum.inductiveautomation.com/t/history-t-stamp-in-the-future/29507):
>
> I’m having trouble with the history of a tag that I cannot work out. I setup history on a tag, and when it’s displayed in a sparkline or chart, it displays data from 6 hours ago. If I look at the database, the timestamp on the data is 6 hours in the future. Database table: [image] t\_stamp conversion: [image] The Gateway server is set to UTC+10: [image] Ignition shows the correct time: [image] The database shows the correct time: [image] I’ve tried restarting Ignition, restarting the …

---

<div class="post-metadata">

**Author:** ![apimente](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/apimente/32/4030_2.png) [@apimente](https://forum.inductiveautomation.com/u/apimente)\
**Post date:** [April 28, 2020, 12:58pm UTC](https://forum.inductiveautomation.com/t/sample-mode-configuration/34237/4 "2020-04-28T12:58:16Z")

</div>

Looks like it is as we’ve detected. With sample mode “On change”, the source of the timestamp is the OPC and with the other ones is the ignition server.

Thanks for help.
