# Historical DeadBand not applied

**URL:** <https://forum.inductiveautomation.com/t/historical-deadband-not-applied/16557>\
**Category:** General Discussion\
**Created:** [January 11, 2018, 1:02am UTC](https://forum.inductiveautomation.com/t/historical-deadband-not-applied/16557 "2018-01-11T01:02:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![igor.mihailisin](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@igor.mihailisin](https://forum.inductiveautomation.com/u/igor.mihailisin)\
**Post date:** [January 11, 2018, 1:02am UTC](https://forum.inductiveautomation.com/t/historical-deadband-not-applied/16557/1 "2018-01-11T01:02:25Z")

</div>

Hi,

i’m facing troubles with tag historian. I want to use the deadband functionality that should register a change any time the value moves +/- the specified amount from the last stored value (in discrete mode).  
Instead it’s register at any 10 second (my scanclass) even if the value has not changed.

What i’m doing wrong? Or maybe my expecations are wrong, so maybe somebody please can give an description of how deadband field works?  
I tryed in many differend way but the result is always the same: the deadband field is ignored and the value is stored with frequency defined in scanclass.

Thanks for your kind feedback.

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [January 12, 2018, 11:38am UTC](https://forum.inductiveautomation.com/t/historical-deadband-not-applied/16557/2 "2018-01-12T11:38:15Z")

</div>

Hi Igor,

Have you set your max time between records to unlimited? This is taken from the manual:

> **Max Time Between Records**  
> Normally Tag Historian only stores records when values change. By default, an "unlimited" amount of time can pass between records – if the value doesn't change, a new row is never inserted in the database. By modifying this setting, it is possible to specify the maximum number of scan class execution cycles that can occur before a value is recorded. Setting the value to 1, for example, would cause the tag value to be inserted each execution, even if it has not changed. Given the amount of extra data in the database that this would lead to, it's important to only change this property when necessary.

---

<div class="post-metadata">

**Author:** ![igor.mihailisin](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@igor.mihailisin](https://forum.inductiveautomation.com/u/igor.mihailisin)\
**Post date:** [January 16, 2018, 10:30pm UTC](https://forum.inductiveautomation.com/t/historical-deadband-not-applied/16557/3 "2018-01-16T22:30:26Z")

</div>

Hi Jonathan,

yes, max time between records is set to unlimited.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c07c59063921b293f11bc2685a263c7c71429436.png)
