Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Rotary Valve Control class

Project Description

Example of direct instantiation. Faster if you know the port.

from practichem_rotary_valve import RotaryValve
from practichem_device import SerialHandler

serial_handler = SerialHandler()
serial_handler.openPort("COM32")
serial_handler.start()
valve = RotaryValve(serial_handler)

valve.jog(60)

Example using the DeviceManager which is in the practichem_device package

from practichem_device import DeviceManager
import practichem_rotary_valve # required to register the product name

device_manager = DeviceManager()
valve = device_manager.getDeviceByProductName("RotaryValve")

valve.jog(60)

Example using the emulated device

from practichem_rotary_valve import RotaryValveEmulator
valve = RotaryValveEmulator()
valve.jog(60)
Release History

Release History

This version
History Node

2.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
practichem_rotary_valve-2.0.0.zip (8.5 kB) Copy SHA256 Checksum SHA256 Source Nov 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting