Skip to main content

Python driver for the Advanced Microfluidics OEM AVM rotary valve.

Project description

rvm_valve_control

Python driver for the Advanced Microfluidics OEM AVM rotary valve. This driver might also work with the Elveflow microfluidic distribution valve (MUX) which internally uses the same hardware.

Usage

Just clone this repo and create a virtualenv which fulfils the requirements from requirements.txt.

API documentation can be found at: https://tnaegele.github.io/rvm_valve

Example code:

import rvm_valve
import time

with rvm_valve.rvm_valve('COM7') as valve:
    time.sleep(3)
    valve.home()
    time.sleep(3)
    valve.move(5)
    time.sleep(3)
    valve.move(4,direction=1)

Todo

  • add proper handling of responses from valve with method _handle_reply()
  • make get_valve_position() method functional
  • test whether the driver works with Elveflows MUX
  • write port autodetection function

Useful links

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

rvm_valve-1.0.0.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

rvm_valve-1.0.0-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

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