System functions for system.historian

Hi everyone,

I’m working on a new project using Ignition 8.3 and trying to implement scripting similar to the legacy system.tag.queryTagCalculations function.

From the 8.3 documentation, it looks like queryTagCalculations has been deprecated, so I’m attempting to use the newer system.historian scripting functions instead. Based on the docs, it seems like something along the lines of system.historian.queryValues() might be the right replacement.

However, I’m having trouble finding clear reference material or examples for these historian query functions in the Appendix, and I’m not entirely sure which function is the intended replacement for common calculation use cases.

Specifically, I’m trying to:

  • Query multiple tag paths

  • Get the maximum value over a defined time range

  • Get a sum over a defined time range

I could continue using the deprecated function for now, but I’d prefer to move to the recommended 8.3-compatible approach if one exists.

Any guidance, examples, or clarification on the intended replacement for queryTagCalculations in 8.3 would be greatly appreciated.

Thanks in advance!

queryAggregatedPoints would be the analogue of queryTagCalculations: