Python ≥3.8 driver and command-line tool for Masterflex® Ismatec® Reglo ICC Digital Pumps.
pip install ismatec
$ ismatec /dev/ttyUSB0 --channel 1
$ ismatec <serial-to-ethernet-ip>:<port> --channel 2
This will print the current flow rate for the selected channel, using either the serial port or an ethernet-to-serial adapter.
This uses Python ≥3.5's async/await syntax to asynchronously communicate with a Ismatec® Reglo ICC pump. For example:
import asyncio
from ismatec import Pump
async def get():
async with Pump('/dev/ttyUSB0') as pump:
print(await pump.get_pump_version())
asyncio.run(get())
©2022 Alexander Ruddick
Original project ©2017 Alexander Bjoerling
No affiliation to the Hein group. As of 2023, that project appears to have been abandoned.