0

Ignition to Canary: Bad Quality Codes Returning None/0 via API

Hello Everyone,

We are using Ignition to historize process data to Canary via the Canary module. We've configured two types of bad quality codes for the tag:

  1. Threshold Exceeded – When the tag reaches the threshold, its bad quality code is 524.
  2. Stale Data – If the tag becomes stale, its bad quality code is 516.

In Canary, the bad quality tag is stored as "Bad", but when retrieving the data via API, we are seeing values of None and Quality code is 0 instead.

Has anyone encountered this issue before? Any insights on resolving this would be greatly appreciated.

1 reply

null
    • smason
    • 8 days ago
    • Reported - view

    Hi ,

    Every quality coming from Ignition gets routed to either Good (192), Bad (0), or Uncertain (64) when it is stored in the Historian. No matter the Bad quality code, Canary does not return a value for anything that is marked with a Bad quality as it is understood that this value is not to be trusted. If you want to still use the value, I'd recommend changing the quality to Uncertain so that it can still be used.

Content aside

print this pagePrint this page
  • 8 days agoLast active
  • 1Replies
  • 19Views
  • 3 Following