Professional OPC
Development Tools

logos

Value null if quality shows bad device failure

More
08 Sep 2018 05:58 #6634 by support
Hello.

According to OPC specifications, when the Quality is Bad, the Value is undefined (with one exception which is not your case). If the server is sending values together with Bad quality, it cannot expect that in general case, OPC clients will be able to process these values.

Regards

Please Log in or Create an account to join the conversation.

More
07 Sep 2018 21:12 #6633 by Holbach
Is there a way to access the value of a subscription update/OnDataChange when using an EasyDAClient object if the item has a bad quality variation?

The OPC Server is returning Bad Out of Service and Bad Device Failure, but is returning values (confirmed with OPC Analyzer) that are never making it to the ItemsChanged even handler. The Value appears to be null whenever the quality is non-good, regardless of whether the OPC DA Server is returning a value or not.

EasyOPC version 5.23 and 5.35 have been tested. 5.23 is currently being used in production.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.166 seconds

      

 Recommend this on Google