Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

SessioneTimeout doesn't work? - by: Grizzo

$
0
0
Hi, we use READMULTIPLE generalli (cannot use SUBSCRIBE) and need to have a maximum response time of 30 seconds.
Sometimes, probably due to OPCServer not responding, the READMULTIPLE call remains stucked for 2 minutes.
I read the 2 mins is the standard timeout of the library and I tried to set it to 30 secs with SessionTimeout parameters, but it does not seem to work.

Beacuse we do not use Isolated client, the SessionTimeout to set is a property of OpcLabs.EasyOpc.UA.EasyUAClient.AdaptableParameters.SessionParameters.
I tried to set it up before and after instantiating EasyUAClient object and opening connection without any results: the timeout is always 2 minutes.

The documentation and/or search in forums didn't give me an answer. What could be wrong? Some suggestion on How To set up the timeout?
A piece of example code would be appreciated.

Thanks.
Massimo

Viewing all articles
Browse latest Browse all 1794

Latest Images

Trending Articles



Latest Images