I am creating a small c# program to connect and read value from kepware server using OPCAutomation.dll, but unable to get its syntax?
OPCAutomation.OPCServer _OPCServer = new OPCAutomation.OPCServer();
_OPCServer.connect("", ""......);
what values will come inside these brackets?
The second parameter is the OPC Server node and can be left String.Empty.
From Reflector:
I'm adding an explample to read and write values:
This example is adapted from: http://lifeisunderconstruction.blogspot.mx/2011/03/opc-client-in-asp-net-c.html, I have added it just in case the link gets broken.