![]() |
Python API
|
The PLUX Python API brings to Python applications all the functionality of PLUX devices. The plux.BaseDev class (or any of its derived classes) encapsulates a connection to a PLUX device. Each plux.BaseDev-derived class provides methods to access the specific functionality of certain PLUX devices.
This API is not thread-safe since its methods cannot be called simultaneously by different threads. The only exception to this rule is the BaseDev.interrupt() method.
This API is implemented as a binding the PLUX C++ API, with similar classes and methods, and it is delivered as a binary file (.pyd on Windows and .so on MacOs and Linux) compiled for Python 2.7 and Python 3.
The version of the underlying C++ API is available in plux.version.