问题
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.
回答1:
https://fistfulofbytes.com/opc-sample-code I have posted sample code on how to use a dll "Interop.OPCAutomation.dll" enjoy...
回答2:
YOu may like this to visit http://www.opcconnect.com/source.php
回答3:
Visit the following webpages, where you can find source code, project files and documentation:
- Individual Visualization with OPC based on Microsoft® .NET and the Programming Language C#
- Mass Data Acquisition with an OPC Client in C# based on .NET
回答4:
For the newer OPC UA specification, you can try the OPC UA Services for WPF project on CodePlex.
回答5:
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