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.

Prevent the session from disconnecting when write activity is intermittent?

More
16 Aug 2024 08:40 #13021 by support

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

More
15 Aug 2024 16:45 #13018 by JosephJ
Is it possible to have a long running session established without EasyUAClient disconnecting after inactivity with the server?

I tried setting the session parameters like such:

 
 
_opcClient.Isolated = true;
_opcClient.IsolatedParameters = new EasyUAAdaptableParameters()
{
SessionParameters =
{
SessionConnectTimeout = UAClientSessionParameters.DefaultSessionConnectTimeout,
SessionTimeout = UAClientSessionParameters.DefaultSessionTimeout,
KeepAliveInterval = UAClientSessionParameters.DefaultKeepAliveInterval
}
};
 
 



but this did not yield the results I am looking for.

I would like the session to constantly stay connected with the server regardless of write activity. My use-case could be that we write values at a short interval, or we write once, walk away for hours, and write a new value later.

Is there a setting that will achieve this?

or will need to constantly poll the serve to maintain the session's connection?

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

Moderators: support
Time to create page: 0.063 seconds