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.1.tar.gz (154.5 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.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cts_chamber-0.3.1.tar.gz
  • Upload date:
  • Size: 154.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cts_chamber-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f34a9205e759574e90e5b5758421ba95f3bddefe550ef0a8fec2f76d70dbafac
MD5 61c5f910ce3fbaa02d1be41674635991
BLAKE2b-256 3288b5ddcd3bb23ab27247a53645cdadb1ffecc760839e509ea34029f3673e50

See more details on using hashes here.

Provenance

The following attestation bundles were made for cts_chamber-0.3.1.tar.gz:

Publisher: ci.yml on leandrolanzieri/cts-environmental-chamber

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: cts_chamber-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cts_chamber-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 caf14c4533e8085991cae74450825a80b5812e832f4b76bc3b37077b78bbdbdc
MD5 d5ba0d0989493fe4bc98173b67f88479
BLAKE2b-256 1efba797c096c9ea5d9674d2c57977377a9fe5797fc4eda5d1158f2976f25bad

See more details on using hashes here.

Provenance

The following attestation bundles were made for cts_chamber-0.3.1-py3-none-any.whl:

Publisher: ci.yml on leandrolanzieri/cts-environmental-chamber

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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