>>Message imported from previous forum - Category:ClearSCADA Software<<
User: hardin4019, originally posted: 2019-05-23 12:26:26 Id:434
Is there an easy way to figure out what each CurrentQuality integer values equal their corresponding CurrentQualityDesc?
Basic issue, I have small point mimics we refer to as "Smart Points" that do a lot of the basic things like display "Out of Service" or "Config Error", or the current value, show the alarm symbol with color and letter, blink, etc. One thing they don't do well is show more than one border color to relate to the users that say the point is Overridden, disabled, etc. So I need to dig into CurrentQuality to add a few more options to the border color. The help file does list the different Quality Descriptions, but doesn't tell you what number they are.
I guess I could use the CurrentQualityDesc instead, but I'm trying to avoid having to type in the string exactly as it would appear for conditions I have no idea how to test.
Solved! Go to Solution.
>>Responses imported from previous forum
Reply From User: hardin4019, posted: 2019-05-23 12:51:51
I either missed a step or I am not quite understanding. I am familiar with the CDBPoint table, but it only lists the "Data Fields" and not what the possible values might be. It does list the possible Methods, which is useful, but not what I was looking for.
Reply From User: sbeadle, posted: 2019-05-23 13:37:09
Oh yes, Quality is not an enumeration, it's the OPC quality which is a bit mask.
e.g. 192 is Good.
See: https://tprojects.schneider-electric.com/telemetry/display/CS/OPC+Quality+Flags
Reply From User: hardin4019, posted: 2019-05-23 13:41:05
There it is, thanks!
>>Responses imported from previous forum
Reply From User: hardin4019, posted: 2019-05-23 12:51:51
I either missed a step or I am not quite understanding. I am familiar with the CDBPoint table, but it only lists the "Data Fields" and not what the possible values might be. It does list the possible Methods, which is useful, but not what I was looking for.
Reply From User: sbeadle, posted: 2019-05-23 13:37:09
Oh yes, Quality is not an enumeration, it's the OPC quality which is a bit mask.
e.g. 192 is Good.
See: https://tprojects.schneider-electric.com/telemetry/display/CS/OPC+Quality+Flags
Reply From User: hardin4019, posted: 2019-05-23 13:41:05
There it is, thanks!
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!