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.

Custom fields of events from OPC UA

More
31 Jul 2018 18:08 #6561 by support
Hello.

Where are you seeing the error? In the Exception property of the EasyUAEventNotificationEventArgs in the event handler?

Regards

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

More
31 Jul 2018 17:51 #6560 by sergsedeln
Yes, if I don't define the UAAttributeFieldCollection it works well, it receives the base event fields, but once I add UAAttributeFieldCollection argument, it gives errors.

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

More
31 Jul 2018 17:46 #6559 by sergsedeln
Thanks! Checked it now.

Somehow I'm getting

~Bad_SessionClosed 0x80260000 The session was closed by the client.~

Error.

I will try now without the UAAttributeFieldCollection definition, it used to work like this before for base event data.

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

More
31 Jul 2018 17:13 #6558 by support
Hello,

I suppose this is what you are looking for - the Select clauses: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ml#The%20Select%20clauses.html .

Best regards

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

More
31 Jul 2018 16:13 #6555 by sergsedeln
Hello dear experts,

I am using EasyUAClient to subscribe for server events but it is missing a lot of custom data fields PCS7 sends in the event. See the screenshot attached.

How do I enable them to be received with the event on opcClient.SubscribeEvent(...) method?

I tried opcClient.Enable(...) method to enable ConditionType but I am getting exceptions. Notice that UAExpert client can enable them and receive plenty of custom data. Now my task is to do same grammatically but seems like I am stuck

I'd appreciate an expert advice here. Thanks!
Attachments:

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

Moderators: support
Time to create page: 0.061 seconds