Skip to content

Library for driving the Ismatec Reglo ICC peristaltic pump

License

Notifications You must be signed in to change notification settings

alexrudd2/ismatec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Library for driving the Ismatec Reglo ICC peristaltic pump

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%