Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Quality Codes in UA

More
07 Jul 2017 13:59 #5326 by support
Replied by support on topic Quality Codes in UA
Can you please describe what "loses connection to the tags" mean? Is that broken connection between the OPC Server and the target device, or (if not), what kind of lost connection are we talking about?

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

More
07 Jul 2017 13:40 #5325 by AdamBOD
Replied by AdamBOD on topic Quality Codes in UA
When it loses connection to the tags it just displays the last received data until it regains connection to the tags, what I want it to do is to display "Bad" under quality if it can't connect to the tags

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

More
07 Jul 2017 13:23 #5324 by support
Replied by support on topic Quality Codes in UA
I do not understand what you mean by "is not working". Describe what it does, in your case, and what you expect it to do.

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

More
07 Jul 2017 13:21 #5323 by AdamBOD
Replied by AdamBOD on topic Quality Codes in UA
If attributeDataResult.Exception Is Nothing Then
row.Item("Quality") = attributeDataResult.AttributeData.StatusCode
Else
row.Item("Quality") = "Bad"
End If

This code doesn't appear to be working is there something that I'm missing?

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

More
More
07 Jul 2017 09:29 #5320 by AdamBOD
Replied by AdamBOD on topic Quality Codes in UA
That was all I had, I was not aware of the Exception method. Would you be able to point me to some documentation for it?

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

More
07 Jul 2017 09:13 #5318 by support
Replied by support on topic Quality Codes in UA
I need more code around this. Do you test attributeData.Exception ?

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

More
07 Jul 2017 09:05 #5316 by AdamBOD
Replied by AdamBOD on topic Quality Codes in UA
row.Item("Quality") = attributeDataResult.AttributeData.StatusCode


This is how I process them and it just stops on the last received data if connection is lost

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

More
07 Jul 2017 08:49 #5314 by support
Replied by support on topic Quality Codes in UA
As I wrote, that's not how it is supposed to work. If you are seeing different results and want us to look at it, you need to provide the details.

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

More
07 Jul 2017 08:42 #5313 by AdamBOD
Replied by AdamBOD on topic Quality Codes in UA
I'm just wondering as to why the DA side of the API will return a bad quality code when it is unable to connect to the tags while the UA side just displays the last received data

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

Moderators: support
Time to create page: 0.060 seconds