Tag History: Data logging

When I change the value of the tag, the floatvalue logs the respective tag value and the intvalue becomes null. However, if I do not change the value, the floatvalue logs as null and the intvalue logs as 0. This behavior continues to log every 10 seconds even though the value has not changed. Ideally, if the value does not change, it should not log at all, but instead it is logging 0 in intvalue and null in floatvalue.

  1. You have sample mode set at periodic so that is expected behaviour. Change to On Change if that's what you want.

  1. According to Configuring Tag History | Ignition User Manual,

note
The Max Time Between Samples property cannot be less than 1000ms.

In post #2 @lrose says,

Max Time Between Samples is set to 0, so that there is no recording based on time change.
but I can't find a reference to that in the docs.

Anyway, all of this doesn't explain the intvalue / floatvalue problem though. Is there any chance that you have a duplicate id entry '50' in the sqlth_te table (but that should be impossible as it's a primary key).

Not if the value change is inside of the configured deadband. It shouldn’t record at all. And even if it did record I would expect it to record the actual value of the tag.