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.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Reading, Writing, Subscriptions
- error after SubscribeEvent with server with open62541.dll
error after SubscribeEvent with server with open62541.dll
The relative browse path (second argument in UAFilterElements.SimpleAttribute) is a sequence of qualified names - i.e. they also have namespaces. Without specifying them, namespace 0 is assumed. In your case, "Param_2" is a browse name in namespace 1. Change "/Param_2" to "/1:Param2".
Best regards
Please Log in or Create an account to join the conversation.
Thank you
Please Log in or Create an account to join the conversation.
I will handle this, but please be patient. I have to leave now for business and will be back on Sunday.
Next time please start a new forum thread for a new issue (you can always refer back to the original issue via an URL).
Also, if you are getting an error, please post the error.
Best regards
Please Log in or Create an account to join the conversation.
A new help, please: we need to subscribe (possibly selectively) to custom events with custom properties like the one in the attached creenshots (currently active on the server available to you), but we don’t understand how to specify the custom properties (e.g., "Param_1").
We have tried as you can see in attachments, but without successThanks again
Attachments:
Please Log in or Create an account to join the conversation.
We have a feature that automatically calls the "Refresh" method, so that you get the initial state of event condition after you connect. And the error comes from this call (UaExpert does not call it). So it is necessary to turn it off. We have flags/arguments for that (called AutoConditionRefresh).
In addition, with this turned off, it is necessary to specify at least one Select clause.
The resulting call looks like this:
client.SubscribeEvent(endpointDescriptor, UAObjectIds.Server, 1000, new UAAttributeFieldCollection
{
// Select specific fields using standard operand symbols.
UABaseEventObject.Operands.NodeId,
UABaseEventObject.Operands.SourceNode,
UABaseEventObject.Operands.SourceName,
UABaseEventObject.Operands.Time,
// Select specific fields using an event type ID and a simple relative path.
UAFilterElements.SimpleAttribute(UAObjectTypeIds.BaseEventType, "/Message"),
UAFilterElements.SimpleAttribute(UAObjectTypeIds.BaseEventType, "/Severity")
}, autoConditionRefresh: false, null, null);
Best regards
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
I received yur VPN client&instructions and I am able to connect the VPN and connect to the server.
I cannot, however, confirm that your server works with UaExpert. If it does for you, please share the detailed steps you are doing and the results.
In my test, UaExpert cannot subscribe to the alarms either.
Here is what I get with UaExpert:
I press Ignore.
Then
and in WireShark
Best regards
Attachments:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Best regards
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Reading, Writing, Subscriptions
- error after SubscribeEvent with server with open62541.dll