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.

what is the default value of the sampling interval of OPC UA client?

More
20 Oct 2021 16:24 #10270 by support
Hello.

Many overloads of the SubscribeXXXX methods have an argument for the sampling interval, so they actually force you to pass in a concrete value.

If you are, however, using an overload that - directly or indirectly - uses the UAMonitoringParameters object, then indeed you might not necessarily have to set the sampling interval (in the SamplingInterval property) explicitly, although that would be unusual.

You would find that if you read the initial value of the UAMonitoringParameters.SamplingInterval, it defaults to 1000 milliseconds (1 second).

Best regards

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

More
20 Oct 2021 12:42 #10269 by Jennee
We are using the OPC UI Client SDK and don't set the sampling interval proactiv. What is then the default value of the sampling interval?
Thank you.

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

Moderators: support
Time to create page: 0.043 seconds