In Ignition 8.3.2 I am getting NaN value at 2025-12-15 12:05:56. I have checked the raw data points, inside perspective, which has a value at 2025-12-15 12:05:22 and 2025-12-15 12:05:56, so I was expecting the queryHistory on the module-side to also have a value at this time.
I have the queryHistory() method called with:
// Queried dataset
BasicStreamingDataset tagHistoryDataset = new BasicStreamingDataset();
// Query parameters
BasicTagHistoryQueryParams queryParams = new BasicTagHistoryQueryParams(
tagPaths,
new Date(startTime),
new Date(endTime),
1,
TimeUnits.SEC,
AggregationMode.Average,
ReturnFormat.Wide,
alias,
Collections.singletonList(AggregationMode.Average)
);
// Query Flags
Flags mask = new Flags(TagHistoryQueryFlags.IGNORE_BAD_QUALITY
| TagHistoryQueryFlags.BOUNDING_VALUES_YES);
// Apply flags
queryParams.setQueryFlags(mask);
// Query for Tag History
TagHistoryManager.queryHistory(queryParams, tagHistoryDataset);
To confirm that I had a value, I checked in perspective (with interpolation off) that it has a value:
And my logger output for the resulting dataset from queryHistory has:
I think that the interpolation calculation for this is failing at 2025-12-15 12:05:56 and giving me the NaN.
I would like advice or pointers to help me correct this solution.

