Dear Z,
we arrived code hangup situation in real time.
we are using OPC client polling concept with OSI PI SOFT OPC DA serve.
code settings
static EasyDAClient easyOPCClient;
EasyDAClient.SharedParameters.TopicParameters.SlowdownWeight = 0.0f;
EasyDAClient.SharedParameters.TopicParameters.SpeedupWeight = 0.0f;
easyOPCClient = new EasyDAClient();
easyOPCClient.Isolated = true;
easyOPCClient.InstanceParameters.Timeouts.ReadItem = 6000;//set 30 seconds timeout for read item
easyOPCClient.InstanceParameters.Mode.AllowAsynchronousMethod = false;
easyOPCClient.InstanceParameters.UpdateRates.ReadAutomatic = Timeout.Infinite;
easyOPCClient.InstanceParameters.UpdateRates.WriteAutomatic = Timeout.Infinite;
EasyDAClient.SharedParameters.ClientParameters.UseCustomSecurity = false;
we are using read multiple items method
DAVtqResult[] vtqResults = easyOPCClient.ReadMultipleItems(ServerDetail, subarray);
we observed after running twenty days, we received two error codes in two successive reads.
in first read we received below error
-1073430509 - Read not completed. This error indicates that it could not be verified that the requested read operation was completed during the timeout period. It is possible that the read operation will actually succeed or fail, but later. Increase the timeout period if you want to obtain positive or negative indication of the operation outcome. Other reason for this error may be that under heavy loads, topic request or response queue is overflowing. Check the event log for queue overflow errors (if event logging is supported by the product and enabled). -status Unknown
second read we received this error
-1073430526 - Cannot connect topic (timeout). -status Unknown
on third read, the application hanged at this point.
DAVtqResult[] vtqResults = easyOPCClient.ReadMultipleItems(ServerDetail, subarray);
please let's know solution for this issue.
we running licensed version
quick OPC Application version : 2017.2 (5.51)
please provide a solution for this issue. the OPC server will not support subscription
we arrived code hangup situation in real time.
we are using OPC client polling concept with OSI PI SOFT OPC DA serve.
code settings
static EasyDAClient easyOPCClient;
EasyDAClient.SharedParameters.TopicParameters.SlowdownWeight = 0.0f;
EasyDAClient.SharedParameters.TopicParameters.SpeedupWeight = 0.0f;
easyOPCClient = new EasyDAClient();
easyOPCClient.Isolated = true;
easyOPCClient.InstanceParameters.Timeouts.ReadItem = 6000;//set 30 seconds timeout for read item
easyOPCClient.InstanceParameters.Mode.AllowAsynchronousMethod = false;
easyOPCClient.InstanceParameters.UpdateRates.ReadAutomatic = Timeout.Infinite;
easyOPCClient.InstanceParameters.UpdateRates.WriteAutomatic = Timeout.Infinite;
EasyDAClient.SharedParameters.ClientParameters.UseCustomSecurity = false;
we are using read multiple items method
DAVtqResult[] vtqResults = easyOPCClient.ReadMultipleItems(ServerDetail, subarray);
we observed after running twenty days, we received two error codes in two successive reads.
in first read we received below error
-1073430509 - Read not completed. This error indicates that it could not be verified that the requested read operation was completed during the timeout period. It is possible that the read operation will actually succeed or fail, but later. Increase the timeout period if you want to obtain positive or negative indication of the operation outcome. Other reason for this error may be that under heavy loads, topic request or response queue is overflowing. Check the event log for queue overflow errors (if event logging is supported by the product and enabled). -status Unknown
second read we received this error
-1073430526 - Cannot connect topic (timeout). -status Unknown
on third read, the application hanged at this point.
DAVtqResult[] vtqResults = easyOPCClient.ReadMultipleItems(ServerDetail, subarray);
please let's know solution for this issue.
we running licensed version
quick OPC Application version : 2017.2 (5.51)
please provide a solution for this issue. the OPC server will not support subscription