Minimum Sampling Interval supported

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

Post Reply
pkrawal
Full Member
Full Member
Posts: 5
Joined: 24 Sep 2019, 07:43

Minimum Sampling Interval supported

Post by pkrawal »

Hello,
i am using UA .NET based SDK version 3.0.0 with Windows 10 and compiling it with Visual Studio 2015. I am able to create a server just like the examples "GettingStarted.sln". The problem i faced is with the subscription of some variables. I found out that the sampling interval eventhough can be reduced to 1 ms, is practically limited to 100 ms. I am able to change the minimum publishing interval in the config data. But i want to reduce the minuimum sampling interval. I subscribed to the CurrentTime of the server to find out that i got the notifications every 100 ms and not faster. I would like to have it like every 10 ms or 2 ms (1 ms would be perfect.). Where can i change this setting? How can i resolve this problem ?
Thanks.

User avatar
Support Team
Hero Member
Hero Member
Posts: 2523
Joined: 18 Mar 2011, 15:09

Re: Minimum Sampling Interval supported

Post by Support Team »

Hello,

the minimum sampling interval is a value that the server implementation has set. It could be any value the server desires to choose. It could be even "0" indicating fastest or "direct" notification (if the server supports as such). So the minimum sampling is not limited by OPC UA specification nor the OPC technology, it could be infinitely fast. It is only limited by the application's implementation, the software timer accuracy, the CPU power, hardware interrupt, or whatever the implementer choose to drive the sampling. And if a server implementer decides to not do 100% CPU load inside infinitely fast sampling he may choose 1ms or 100ms.
Best regards
Unified Automation Support Team

Post Reply