I get once in a while Timeout exception:
I tried these settings just for sanity check, but it didn't work:
Maybe there are some issues with DCOM? According to this post, there is a way to analyze OPC communication? How do I download it?
I also noticed that I've never received such timeout when using .NET Core.
I tried these settings just for sanity check, but it didn't work:
EasyDAClient.SharedParameters.TopicParameters.TopicRetrialDelay = 0;
_opcClient = new EasyDAClient();
_opcClient.InstanceParameters.Mode.AllowAsynchronousMethod = false;
_opcClient.InstanceParameters.Mode.DesiredMethod = OpcLabs.EasyOpc.DataAccess.Engine.DAReadWriteMethod.Synchronous;
_opcClient.InstanceParameters.Timeouts.BrowseAccessPaths = int.MaxValue;
_opcClient.InstanceParameters.Timeouts.BrowseNodes = int.MaxValue;
_opcClient.InstanceParameters.Timeouts.BrowseProperties = int.MaxValue;
_opcClient.InstanceParameters.Timeouts.BrowseServers = int.MaxValue;
_opcClient.InstanceParameters.Timeouts.GetProperty = int.MaxValue;
_opcClient.InstanceParameters.Timeouts.ReadItem = int.MaxValue;
_opcClient.InstanceParameters.Timeouts.WriteItem = int.MaxValue;
Maybe there are some issues with DCOM? According to this post, there is a way to analyze OPC communication? How do I download it?
I also noticed that I've never received such timeout when using .NET Core.