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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file rvm_valve-1.0.0.tar.gz.

File metadata

  • Download URL: rvm_valve-1.0.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for rvm_valve-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d943386f29f905fd15290be4ed8a9792645f716b327acd6b59641fc4e5462fd9
MD5 9e829fc4ba4cc42bf8e4a620b7dae456
BLAKE2b-256 a96c92bd0fa88e1ec60b8f07a285cb0bfa05e851a383dc5a4650ba2eeb085d61

See more details on using hashes here.

File details

Details for the file rvm_valve-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: rvm_valve-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for rvm_valve-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7b6283bb2cc06ab7cb4ea49a021457eda710503085cb1510f74876eedca62d1
MD5 9cadf46eb3a8327319b1237065429da9
BLAKE2b-256 c5cd88eec9b5d3c9a500f3706fd67ad42a437dd46bdc63aa87edc70022450e80

See more details on using hashes here.

Supported by

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