Skip to main content

Control Interface for CTS Environmental Chambers

Project description

CTS Environmental Chamber Interface

Interface with a CTS Environmental Chamber.

Installation

$ pip install cts-chamber

Supported Features

  • Temperature control
  • Humidity control
  • RS-232 communication

Usage

from cts_chamber import CTSChamber

chamber = CTSChamber(
        serial_device='/dev/ttyUSB0',
)

chamber.set_temperature(30.0)

current, set_point = chamber.get_temperature()
print(f"Current temperture is {current} °C")
print(f"Setpoint is {set_point} °C")

chamber.start()

Running tests on hardware

During normal development and for the CI the unit test suite is executed on a mock device using pyvisa-mock. It is also possible to run tests on real hardware connected to your system. Just set the hil flag when running poe

$ uv run poe test_hil

By default it will try to connect to /dev/ttyUSB0, but you can specify a different device using the --hil_serial_device option:

$ uv run poe test_hil --hil_serial_device /dev/ttyUSB1

Status

Currently, only the RS-232 communication has been tested on the device.

Documentation

Check out the API documentation of the module here.

Feeling like contributing?

Great! Check the Contributing Guide to get started.

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

cts_chamber-0.3.0.tar.gz (153.0 kB view details)

Uploaded Source

Built Distribution

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

cts_chamber-0.3.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file cts_chamber-0.3.0.tar.gz.

File metadata

  • Download URL: cts_chamber-0.3.0.tar.gz
  • Upload date:
  • Size: 153.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.4

File hashes

Hashes for cts_chamber-0.3.0.tar.gz
Algorithm Hash digest
SHA256 30fe762a53a4d9affe31aeafb2d26a45cde56416f4b7aef3624a6b70f1556218
MD5 0e1f92dbfc621178d004866eca434b61
BLAKE2b-256 8eaa907908160e63a9b0307a0f6fb3445debff4078f19bae2de9be06460206f9

See more details on using hashes here.

File details

Details for the file cts_chamber-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cts_chamber-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35221091d68064dee7c88151070252575cee929e14e803d4e2a7f8393cd6f356
MD5 49fa0fe27391dfc1183426ce945673fa
BLAKE2b-256 36d12abc0e482210fe809399c7a78dc12009ec5de21b1b6ed99c27e8fc8b900a

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