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
  • 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

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.1.3.tar.gz (152.1 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.3-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cts_chamber-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6b1f4248cde9098645ce825f69065de6d35b95baf789299714ae53433286f29d
MD5 cec29ecdcc4a623adc73e10c88d2a6e9
BLAKE2b-256 a1a42afe7b9c6432c4d64725512bb1f87dc3d6bdf0fb57f5459dae0e62fc4398

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cts_chamber-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3dca21e388952ffc71af7c45c485c7c8d7af78f7df7fda611ff965d39fd6bd6e
MD5 60c67f72d125525a873ebf8e2733b26d
BLAKE2b-256 c78d64513ecf676c969fac07e5798771a19157a2fd2ba44d405829c6eafb6fb1

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