Does anyone know a C# OPC client sample application? I'm looking for a good opensource one to learn about the protocol. I would prefer it if it uses OPC foundation .net core apis.
https://fistfulofbytes.com/opc-sample-code I have posted sample code on how to use a dll "Interop.OPCAutomation.dll" enjoy...
YOu may like this to visit http://www.opcconnect.com/source.php
Visit the following webpages, where you can find source code, project files and documentation:
For the newer OPC UA specification, you can try the OPC UA Services for WPF project on CodePlex.
There is a .NET project named 'My OPC Client' here: http://hadiscada.blogspot.com/2013/07/my-opc-client.html it coded with VB but I think it can be converted to C.
来源:https://stackoverflow.com/questions/3607084/opc-sample-application-for-c-sharp