Table of Contents
The control software for Bluefors cryostat and their temperature controller does not come with a native Python interface. At the same time, Python is widely used as a measurement scripting language among users of Bluefors devices. This driver uses HTTP GET/POST commands to remotely read and write to a controller using the control Software's API.
The package is not yet uploaded on PyPi, but can be installed through pip
. Only native Python libraries are used, there are no external dependencies.
To install the package, navigate to its root folder, i.e. where pyproject.toml
is located, and install it using pip:
python -m pip install .
Once installed, the package can be easily integrated into measurement scripts.
# import
from blueftc.BlueFTController import BlueforsController
# create controller object
# TODO: setup via config file
tcontrol = BlueFTController(ip="YOUR_IP_HERE")
# show basic information
tcontrol.show_overview()
# HEATER CONTROL
# set and get heater power in uW
tcontrol.set_mxc_heater_power(setpower=100)
power = tcontrol.get_mxc_heater_power()
print(power)
# turn heater on or off
tcontrol.toggle_mxc_heater(status='on')
tcontrol.toggle_mxc_heater(status='off')
#
# TEMPERATURE CHANNEL CONTROL
# get latest temperature in Kelvin
temp = tcontrol.get_mxc_temperature()
print(temp)
The controller can also be used from matlab:
tcontrol = py.blueftc.BlueforsController(ip="YOUR_IP_HERE")
- Write proper documentation
- Update to latest version of Bluefors control software
- Improve Error Handling
- Upload to PyPi
- Logging
Distributed under the MIT License. See LICENSE.txt
for more information.
Elias Ankerhold - elias.ankerhold[at].aalto.fi Thomas Pfau - thomas.pfau[at].aalto.fi