Bug Report Ignition 8.3.4 - system.historian.storeDataPoints

Hello,

I think there is bug in the implementation of system.historian.storeDataPoints.

My setup is basically Ignition Edge 8.3.4, using Internal Historian.

If i use storeDataPoints to write a value into the historian with timestamp A for the first time (no existing real tag) and then write another value for the same tag with timestamp B (where timestamp B is earlier than timestamp A) I see the following in the logs:

This appears to be an unhandled exception.

I running the following script inside script console:

GOOD_QUALITY = 192
path_flow = "Type3/008/Flow"

sample_rows = [
("2026-03-20 09:17:16", 44),
("2026-03-20 09:29:15", 55)
]

paths = []

values = []

timestamps = []

qualities = []


for ts_text, flow in sample_rows:
   ts = system.date.parse(ts_text, "yyyy-MM-dd HH:mm:ss")

   paths.append(path_flow)
   values.append(flow)
   timestamps.append(ts)
   qualities.append(GOOD_QUALITY)

   qc = system.historian.storeDataPoints(
   paths=paths,
   values=values,
   timestamps=timestamps,
   qualities=qualities
)
print "QC:", qc
print "Code:", qc.getCode()

Could please confirm if this is indeed a bug?

Thanks

Yeah this is unexpected. I’ll file a bug ticket for us to fix this. Thanks for bringing it to our attention.

1 Like