A package for controlling CryoCon 22C Temperature Controllers
Project description
CryoCon 22C Temperature Controller
Install with
python -m pip install cryocon-22c-controller
API
Channels can be referenced either by their given name or their letter. All commands generate a response from the controller, so must only perform queries to keep command and response synched.
Methods
CryoconController( port, timeout, baud ): Creates a new CryoconController instance.
max_temperatrue( loop ): Returns the maximum set point temperature of the given loop.
channel_max_temperatrue( loop ): Returns the maximum set point temperature of the loop controlling the given channel.
temperature( channel ): Returns the current temperature of the given channel
get_channel_loop( channel ): Returns the loop controlled by the given channel.
get_range( loop ): Gets the output range for the loop. Values are [ 'hi', 'mid', 'low' ].
set_range( loop, range ): Sets the ouput range for the loop. Range values are [ 'hi', 'mid', 'low' ].
get_ouput( loop ): Gets the power output of the loop as a fraction of the full range.
set_point( channel ): Returns the set point of the given channel.
set_temperature( channel, temperature ): Sets the set point of the controlling loop of the given channel.
lock( lock ): Locks or unlocks the front key pad.
enable(): Engages the temperature controller.
disable(): Stops the tempreature controller.
auto_adjust_range( low_threshold, high_threshold, channles ): Automatically adjusts the power range.
Properties
channels: A dictionary of aliases of the channels.
channel_names: A dictionary of given name of the channels.
loops: A dictionary of loop:input source pairs.
max_temps: A dictionary of maximum set point temperatures for each loop.
units: A dictionary of units for each channel.
enabled: Returns whether the temperature controller is currently engaged.
Examples
# import package
import cryocon_22c_controller as cc
# Create a controller
cryo = cc.CryoconController( <port> )
# Connect to the controller
cryo.connect()
# Get channel names
cryo.channels
# Read the current set point temperature of channel a
cryo.set_point( 'a' )
# Set the desired temperature set point on channel b
cryo.set_temperature( 'b', 100 )
# Enable controller
cryo.enable()
# Disable controller
cryo.disable()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cryocon-22c-controller-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c44153c437d83fd02e17a8ba4b6c78c438e338e138bfd4affd6b479609a9110f |
|
MD5 | dbb11d6fe346efb89e1027bc85ea41ca |
|
BLAKE2b-256 | 4484e347a2dafe059d136e309415cd216d02f7ab8579780789af00a4bb6bd741 |
Hashes for cryocon_22c_controller-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24f63d3cf5a46b04fdf034d2b67e0e361ebaad945ecf5768e163549a003ac4c1 |
|
MD5 | 7ac4ec7c190da3d2d3ed9f5aff400b92 |
|
BLAKE2b-256 | 2ae768233f4da4dc224dbbda3f7a47a75a958167b7d731d81a052e85867995c2 |