DvG_Devices¶
Collection of I/O interfaces to communicate with microcontroller boards and laboratory devices, with optional PyQt/PySide multithread support and graphical user-interfaces.
- Documentation: https://python-dvg-devices.readthedocs.io
- Github: https://github.com/Dennis-van-Gils/python-dvg-devices
- PyPI: https://pypi.org/project/dvg-devices
Supports PyQt5, PyQt6, PySide2 and PySide6.
Installation:
pip install dvg-devices
Installation with an optional Qt-library:
pip install dvg-devices[pyqt5/pyqt6/pyside2/pyside6]
Supported devices¶
Arduino, or similar microcontroller board Aim TTi QL series II power supply Bronkhorst EL-FLOW mass flow controller Julabo circulator recirculating bath Keysight 3497xA digital multimeter Keysight N8700 power supply Parker Compax3 servo controller Picotech PT104 temperature logger PolyScience PD recirculating bath ThermoFisher ThermoFlex chiller
Highlights¶
- Class
SerialDevice()
offering higher-level general I/O methods for a serial device, such asauto_connect()
,write()
andquery()
. - Class
Arduino()
which wraps aroundSerialDevice()
. In combination with DvG_StreamCommand it allows for automatically connecting to your Arduino(-like) device and for easy serial I/O communication. - Separate PyQt/PySide interfaces are provided for each of these devices, offering out-of-the-box multithreaded data acquisition and communication. It relies on DvG_QDeviceIO.
- Ready-to-run PyQt/PySide demos to directly control many of the supported devices with a graphical user-interface.
- SerialDevice
SerialDevice
- Methods
SerialDevice.set_ID_validation_query()
SerialDevice.set_read_termination()
SerialDevice.set_write_termination()
SerialDevice.readline()
SerialDevice.write()
SerialDevice.query()
SerialDevice.query_bytes()
SerialDevice.query_ascii_values()
SerialDevice.connect_at_port()
SerialDevice.scan_ports()
SerialDevice.auto_connect()
SerialDevice.close()
- Arduino