Skip to content
/ ismatec Public
forked from alexrudd2/ismatec

Library for driving the Ismatec Reglo ICC peristaltic pump

License

Notifications You must be signed in to change notification settings

numat/ismatec

This branch is 5 commits ahead of, 41 commits behind alexrudd2/ismatec:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

682ddc1 · Dec 30, 2024
Dec 6, 2023
Oct 11, 2017
Sep 7, 2023
Apr 25, 2023
Apr 25, 2023
Oct 6, 2024
Oct 11, 2017
Feb 6, 2023
Mar 14, 2023
Feb 5, 2024
Apr 25, 2023
Dec 30, 2024

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 Alexander Ruddick

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

Packages

No packages published

Languages

  • Python 100.0%