Analysis of an existing device driver, as well as new conception as Windows service. The driver is used to query live data from several meters, as well as a PLC control.
Supplement
The existing driver was developed in C++ as a classic Windows MFC GUI application. Due to increased security requirements, no applications should be executed on 'unattended' systems in the context of a logged in user. For this reason a new implementation with .NET / C# as a Windows service was made. The driver queries meter data via the MCO protocol and PLC data via the Modbus RTU protocol.
Subject description
The data is requested by an OPC server and made available there (via OPC) to a process visualization system.