0
Module Returns Incorrect LastValue Aggregate Results to Ignition
Feedback / Issues and Bug Report / Bugs or Issues
The following are inaccuracies observed when using Ignition's (v. 8.1.36) LastValue aggregate with its system.tag.queryTagHistory() function, in conjunction with the Canary Historian (v. 22.3.0.22342) and the Canary Historian Module (both 23.0.0 (b232141834) and 24.0.1 (b242641644)):
- When the noInterpolation parameter is False in the function call, the Canary Historian Module returns the next value for interpolated intervals, instead of the last known value. The returned data reflects value changes earlier than they occur.
- When a tag has no data in the queried timeframe, but that tag has data prior to this timeframe, this previous data is not applied to the intervals in the return. Null is instead returned for all intervals. Changing the includeBoundingValues parameter has no impact on the ability to grab this data.
- The Canary Historian Module's returns do not change when the noInterpolation parameter changes. Interpolated values are still included when noInterpolation is True.