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.

Subscription logic of SubscribeMultipleMonitoredItems method

More
28 Feb 2025 12:19 #13439 by support
Hello.

As long as the monitored items have the same subscription parameters (such as sampling rate), QuickOPC uses just one subscription for them.

Regards

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

More
28 Feb 2025 09:13 #13438 by clyeo
Hi,

May I know what is the subscription logic of EasyUAClient SubscribeMultipleMonitoredItems
The OPC UA server provider suggested that the way my EasyUAClient subscribes to the OPC UA server is causing the server to crash.

I am currently creating 1 EasyUAClient with multiple monitored items (20k)
Will this create 20k item subscription ? or 1 subscription 20k items (please pardon me as I am not familiar with OPC UA)

The server provider suggested that I should be doing 1 subscription with multiple items instead of multiple subscriptions.
Please let me know which is the correct way to do it.

// my logic as following
EasyUAClient  opcUaClient = OpcUaClientManager.GetClient(_serverOpcUaUrl);
opcUaClient.DataChangeNotification += OnDataChange; // Method to run when data comes in

List<EasyUAMonitoredItemArguments> easyUAMonitoredItemArguments = await GetServerNodes(); // around 20k nodes 
opcUaClient.SubscribeMultipleMonitoredItems(easyUAMonitoredItemArguments.ToArray());


Thanks & Regards,
CL

 

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

Moderators: supportvaclav.zaloudek
Time to create page: 0.138 seconds