Tag quality isGood() specific codes

Hello,

we are using the isGood() expression to evaluate the tag quality, but we don’t know which specific codes it englobe. I’m sure code quality 192 is returned by isGood() method but what more codes returns the isGood() method?

Thank you,

They’re enumerated in the documentation

Hello,

Thank you for the quick answer, but I have seen the document but it doesn’t specifies that the isGood() function returns only the codes 192 and 216. The question is; the isGood() function only returns 192 and 216?

Thank you,

image

The entire point of calling out to the isGood() method is that you don’t care what specific quality code you have - you’re essentially asking the individual code whether it is considered “good” or not.

That said, the quality codes that isGood() will be true for are 192 (good data), 216 (good with local override) and 320 (good, "provisional), meaning that the value may not be good for an indefinite duration.

Hi, I'm using Ignition v8 and isGood() is returning true for tag paths that don't exist. To solve this I've found a workaround using qualityOf() and checking the quality code to be equal or greater than 512.
I have a lot of screens that need to be migrated from v7.9 to v8 so I'm wondering whether there is an easier approach than changing all the expression bindings that currently are using isGood(). Thanks!