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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cts_chamber-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1ae2b6f4fbb5fa5ff55c59d321188b60b472ed8067a5bf6d1b2156989060144f
MD5 34d057204fdfae97cae7833e400c08de
BLAKE2b-256 1421471f409af5c4d77109d144153443901584bd1dd23901011acfa06479f930

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cts_chamber-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7b2e05cc5a5887bc7d6a1be24d48c340c5aafd927d3757c508e9a65862b9f4c
MD5 358ae00e020db4b65586e2637a13d58d
BLAKE2b-256 4b321b7331280fbcbb6671a1ca9baf3d055705b0d8e7c99bf3937271a738d304

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