gui.widget_shutter module

This widget contains the functionality of the shutter hardware class provided in shutter.py. The widget can be executed as a standalone version if the correct National Instruments adc is connected and the correct port/settings are chosen.

Functionalities provided in this widget:

  1. Choose the shutter which you want to control via a comboBox

  2. Set the state either to open or close

class WidgetShutter(*args, obj=None, shutter: dict = {}, **kwargs)[source]

Bases: PyQt5.QtWidgets.QGroupBox, ui_shutter.Ui_GroupBox_shutter

current_shutter()[source]

Create method which holds information about which combobox item is currently selected.

Returns

Returns key to currently active shutter.

Return type

str

update_combobox()[source]
update_shutter()[source]
update_values()[source]