CryoCon 22C Temperature Controller
Install with
python -m pip install cryocon-22c-controller
API
A CryoconController is a SCPI instrument and uses the easy-scpi package for means of communication. Thus, all the methods and properties of an easy_scpi.Instrument can be called.
Channels can be referenced either by their given name or their letter. All commands generate a response from the controller, so only queries are performed to keep command and response synched.
Methods
CryoconController( port, timeout, baud, backend, **resource_params ): 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.
Example
# import package
import cryocon_22c_controller as cc
# Create a controller
cryo = cc.CryoconController( <port> )
# Connect to the controller
cryo.connect()
# Check if controller is connected (inherited from easy_scpi.Instrument)
cryo.is_connected
# 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()
Metadata
Release files for cryocon-22c-controller 0.0.3.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cryocon-22c-controller-0.0.3.post2.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cryocon_22c_controller-0.0.3.post2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.4 kB
Release files / cryocon-22c-controller-0.0.3.post2.tar.gz
| Download URL | cryocon-22c-controller-0.0.3.post2.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cd57cfc4dbeec71e74c143ae0515f4dcc9bd642d48fbfa7fecc236c9d730419
|
|
BLAKE2b-256 checksum How to use checksums |
65374333a3277fe852bba892b742fda2749b34f77f61499c4153fcf13848d213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8
|
Release files / cryocon_22c_controller-0.0.3.post2-py3-none-any.whl
| Download URL | cryocon_22c_controller-0.0.3.post2-py3-none-any.whl |
|---|---|
| Size | 22.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cff1c5834d8a21ab7e2afc8e563a89652eadf7b3397965325f3fdb9068dafa8
|
|
BLAKE2b-256 checksum How to use checksums |
50a84e401998285d015095dfaf635a1c30e3533f09f4d3fe24287b8c898f5290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8
|