Skip to main content

Interface with a CTS Environmental Chamber

Project description

CTS Environmental Chamber Interface

Interface with a CTS Environmental Chamber.

Installation

$ pip install cts-chamber

Supported Features

  • Temperature control
  • Humidity control
  • R232 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 RS232 communication has been tested on the device.

Documentation

TBD

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.1.2.tar.gz (40.6 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.1.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cts_chamber-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d2624146bd1e16221653ceb9da324a44b49c2ff97b80da386cdedf8f7ec6f1f7
MD5 6479e2030f7738cc15b090ac688e4ed4
BLAKE2b-256 bb12b8540094b2af7c17dce6b7694624b82edcc4ab1d3fa3620fb6909612d046

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cts_chamber-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97d51dcf6e6a09319074a9a0cb494363625f6b7882ce8d9524940b023690c604
MD5 4492e37c1713a6890bb505f7f1f376e6
BLAKE2b-256 b735f185e4787c698b1577f5b2fa85df55b57435d030e8c1da7ab73e160f5418

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