C# prototype library for WinCC OA communication. For testing i created C# clients with gauges and a chart. Those clients are connected to WinCC OA datapoints (dpConnect, dpQueryConnect, dpGet, dpSet, ...) For testing purposes i started some clients to see how it works with many clients and change rates of about 100 values/second...
https://www.youtube.com/watch?v=ZH4H7rkDjnw
Example:
if ( oa.Open() ) { oa.StartListener(); // -------------------------------------------------------------------------------------------- // dpQueryConnect Console.WriteLine("=== dpQueryConnect ==="); var c2 = oa.dpConnectQuery( (object sender, MessageResult m) => { for (int i = 1; i < m.Count; i++) { Console.WriteLine("Callback[" + i + "]" + m[i][0] + " " + m[i][1] + " " + m[i][2]); } }, "SELECT '_original.._value', '_original.._stime' FROM '*.**'", false ); Console.WriteLine("press key to disconnect"); Console.ReadKey(); c2.Disconnect(); }