Reputation: 769
Hi I have following code to connect to the OPC server, which is working fine.
server = new Opc.Da.Server(fact, null);
server.Url = new Opc.URL(URL);
server.Connect();
Now when I use following code to disconnect from the server my code get stucks, I assume it is waiting for the disconnect, but it seems like this is never happening.
server.Disconnect();
For this I used the opc.da library from OPCFoundation.
Upvotes: 0
Views: 419