Get quality codes back from Historian queries using system.historian.queryRawPoints

Hi All,

Im using the new function in Ignition 8.3 to return the raw historized values, system.historian.queryRawPoints.

This only returns the timestamp and values, but not the quality code of the values stored.

Is there a way to get the quality codes included in the result set?

Thanks!

Have you interrogated the dataset with getQualityAt()?

Will give it a try,

I see it requires 2 parameters, one for the row and one for the column of the dataset. Will it provide different quality codes based on the timestamp or value columns?

I would expect the timestamp column to always be good. The bad quality would be associated with an actual value, I would expect.

Perfect!

Thanks for your help!

{
  "success": true,
  "historian": "default",
  "tags": {
    "v1": "histprov:OPCData:/drv:default:default:/tag:default/Overview/CaseCount"
  },
  "start": "2025-11-15T00:00:00Z",
  "end": "2025-11-26T23:59:59Z",
  "dataType": "raw",
  "rowCount": 355,
  "limited": false,
  "data": [
    {
      "v1_quality_name": "Good",
      "v1": 34.485,
      "t": "2025-11-24T19:04:52.858Z",
      "v1_quality": 192
    },
    {
      "v1_quality_name": "Good",
      "v1": 99.85233333333333,
      "t": "2025-11-24T19:08:07.336Z",
      "v1_quality": 192
    },
1 Like