Skip to main content

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()
valve = RotaryValve(serial_handler)


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


Example using the emulated device

from practichem_rotary_valve import RotaryValveEmulator
valve = RotaryValveEmulator()

Project details

Release history Release notifications

Download files

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

Files for practichem_rotary_valve, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size (8.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page