Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.1 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.1 KB

ismatec

Python ≥3.8 driver and command-line tool for Masterflex® Ismatec® Reglo ICC Digital Pumps.

Installation

pip install ismatec

Usage

Command Line

$ 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.

Python

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())

Acknowledgements

©2022-4 Alexander Ruddick ©2022 Numat Technologies Original project ©2017 Alexander Bjoerling

No affiliation to the Hein group. As of 2023, that project appears to have been abandoned.