# Historian records values that do not change

**URL:** <https://forum.inductiveautomation.com/t/historian-records-values-that-do-not-change/64053>\
**Category:** Ignition\
**Created:** [September 14, 2022, 2:31pm UTC](https://forum.inductiveautomation.com/t/historian-records-values-that-do-not-change/64053 "2022-09-14T14:31:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 14, 2022, 2:31pm UTC](https://forum.inductiveautomation.com/t/historian-records-values-that-do-not-change/64053/1 "2022-09-14T14:31:28Z")

</div>

Hello folks,

I’m trying to figure out why my historian is recording series of `0`, seemingly randomly.

I tried this in the script console:

```python
data = system.tag.queryTagHistory([path], rangeHours=48, ignoreBadQuality=True)
for row in system.dataset.toPyDataSet(data):
	row
print "with ignoreBadQuality: {} events".format(data.getRowCount())

data = system.tag.queryTagHistory([path], rangeHours=48, ignoreBadQuality=False)
print "without ignoreBadQuality: {} events".format(data.getRowCount())

```

I tried the `ignoreBadQuality` thing to see if maybe it was logging changes in quality.  
here’s the end of the output:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/96d125b2c200aa99ee6215cff89563f2640ace5c.png)

And the config:

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

Now, I was monitoring this tag because the only non-zero value it got, 24383, should never happen. And it happened 3 times over the last week. I suspect hardware issues at this point, but that doesn’t explain why the historian would record unchanging values.

Any clue ?

---

<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:** [September 14, 2022, 2:41pm UTC](https://forum.inductiveautomation.com/t/historian-records-values-that-do-not-change/64053/2 "2022-09-14T14:41:34Z")

</div>

Are you writing to configuration properties that might restart the tag?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 14, 2022, 2:48pm UTC](https://forum.inductiveautomation.com/t/historian-records-values-that-do-not-change/64053/3 "2022-09-14T14:48:03Z")

</div>

I’m not aware of anything of the sort. Not from the scada.

One thing though: All the tags coming from that device seem to show the same behavior. But not at the same timestamps.

Maybe something wrong with the hardware…
