YunTemp package¶
Submodules¶
YunTemp.blacs_tabs module¶
The file that generates the GUI for the YunTemp.
-
class
YunTemp.blacs_tabs.
YunTempTab
(notebook, settings, restart=False)[source]¶ Bases:
blacs.device_base_class.DeviceTab
The class behind the GUI. It inherits from DeviceTab.
-
settings
¶ Not sure here.
-
worker
¶ Not sure here.
-
YunTemp.blacs_workers module¶
This is where BLACS really connects to the hardware.
Everything elso is just sending it here.
-
class
YunTemp.blacs_workers.
YunTempWorker
(*args, **kwargs)[source]¶ Bases:
blacs.tab_base_classes.Worker
The class behind the Output Worker. It inherits from Worker.
-
connection
¶ Not sure here.
-
shot_file
¶ Not sure here.
-
abort_buffered
()[source]¶ Called when BLACS closes.
Called when a shot is aborted. We may or may not want to run transition_to_manual in this case. If not, then this method should do whatever else it needs to, and then return True. It should make sure to clear any state were storing about this shot (e.g. it should set self.shot_file = None)
-
abort_transition_to_buffered
()[source]¶ This is called if transition_to_buffered fails with an exception or returns False.
- Returns
True, which indicates success.
-
check_remote_values
()[source]¶ Called when remote values are checked.
- Returns
dictionary of remote values, keyed by hardware channel name.
-
init
()[source]¶ Initialize the Worker.
Initializes the IP socket and resets everything properly. Do NOT rename it to __init__ . There is something specific about Blacs that remains a bit mystical to me.
-
program_manual
(front_panel_values)[source]¶ Performans manual updates from BLACS front panel.
-
front_panel_values
¶ Not where they come from.
- Returns
Which are the values the Arduino gives us back after we programmed it.
- Return type
-
-
transition_to_buffered
(device_name, h5_file, initial_values, fresh)[source]¶ Required - Read commands from the shot file and send them to the device.
Not sure about the right description here.
- Parameters
device_name – Not sure here.
h5_file – Not sure here.
initial_values – Not sure here.
fresh – Not sure here.
- Returns
Empty dict.
-
YunTemp.connectiontable_yuntemp module¶
YunTemp.labscript_devices module¶
YunTemp.register_classes module¶
Register the YunTemp to blacs.
This is boilerplate and should be only minimally changed.
Module contents¶
The temperature control module based on the Arduino Yun.
Typical usage example:
YunTemp(name=”temp_control_0”)