OPC,  Python

OpenOPC Python

OpenOPC for Python


OpenOPC for Python is a free, open source OPC (OLE for Process Control) toolkit designed for use with the popular Python programming language.
Because the OpenOPC library implements a minimal number of Python functions which may be chained together in a variety of ways, the library is simple to learn and easy to remember.
OpenOPC works with both Windows and non-Windows platforms. It has been tested with Windows, Linux, and Mac OS X.
OpenOPC allows OPC calls to be chained together in an elegant, functional programming style. For example, you can read the values of all items matching a wildcard pattern using a single line of Python code!


It was a bit tricky to get it to work, I will post the detail later.

pip freeze:

Files for this setup:
And the result with Matrikon.OPC.Simulation.1 running a virtualenv named opc:
Comments Off on OpenOPC Python