K
Hi,
We have our own OPCclient developed using OPC Foundation C++ SDK.
I am able to connect to Matrikon simulation server and add multiple groups and items to each group. Data exchange also working fine.
During disconnect when I tried to remove the groups using RemoveGroup
call. I am not receiving any response and thread is waiting for a response from the API.
I am following below steps for disconnection.<pre>
ipGrpStMgt->Release();
ipCP->Unadvise(dwAdvice);
ipCP->Release();
ipCallback->Release();
ipGroup->Release();
m_ipServer->RemoveGroup(hGroup, FALSE);</pre>
Please correct me if missed something. I am trying hard on this since last 15-20 days.
Thanks,
Kiran
We have our own OPCclient developed using OPC Foundation C++ SDK.
I am able to connect to Matrikon simulation server and add multiple groups and items to each group. Data exchange also working fine.
During disconnect when I tried to remove the groups using RemoveGroup
call. I am not receiving any response and thread is waiting for a response from the API.
I am following below steps for disconnection.<pre>
ipGrpStMgt->Release();
ipCP->Unadvise(dwAdvice);
ipCP->Release();
ipCallback->Release();
ipGroup->Release();
m_ipServer->RemoveGroup(hGroup, FALSE);</pre>
Please correct me if missed something. I am trying hard on this since last 15-20 days.
Thanks,
Kiran