Skip to main content

Python interface for controlling Harvard Apparatus Microliter OEM Syringe Pump

Project description

pymupump

Python interface for controlling Harvard Apparatus Microliter OEM Syringe Pump

Derived from now inactive library pumpy, thanks to tomwphillips.

Installation

pip install pymupump

Usage

import pymupump as pmp

chain = pmp.Chain('COM1') # your port
pump = pmp.Microliter(chain) 
# if using multiple pumps on the same port
# you might want to specify another adress and name
pump2 = pmp.Microliter(chain, 1, "Pump2")

pump.setdiameter(2) # diameter of syringe in mm, range is 0.1 - 4.61
pump.setflowrate(3) # set flowrte in ul/min

pump.settargetvolume(2) # set infuse or withdraw target volume in ul

pump.infuse()
# or
pump.withdraw()

pump.waituntiltarget() # block until pump finishes

pump.stop() # stop pump

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymupump-0.1.4.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

pymupump-0.1.4-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file pymupump-0.1.4.tar.gz.

File metadata

  • Download URL: pymupump-0.1.4.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pymupump-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6382295bae5d3c4004a3d9fa1f5c8286f19fa546ee7624301eb0fb45e27ff695
MD5 2e7c1312707536864dc714267a12a7a5
BLAKE2b-256 43a960c3c7b9c5e3e744375047bd9b7acda3f545aeb99a8fecaa23af0fec8daf

See more details on using hashes here.

File details

Details for the file pymupump-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pymupump-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pymupump-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a45a9fe75d2cf77eab354f23dfd0d6ef7e2d86d75e0411c05c97179397830f7f
MD5 9b71c0c65f59b044347168da342bed0a
BLAKE2b-256 f0f1ee3fec5f3ea4987e2622757815a12b59230a21a841354b2073b0ca9159da

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page