nomad_camels.manual_controls.set_panel package

Subpackages

Submodules

nomad_camels.manual_controls.set_panel.set_panel module

class nomad_camels.manual_controls.set_panel.set_panel.Button_Group_Tab(name='', group_data=None, parent=None)

Bases: QWidget

add_button(name='', data=None)
get_data()
remove_button(n)
signal_move_left
signal_move_right
signal_name_change
signal_remove
staticMetaObject = PySide6.QtCore.QMetaObject("Button_Group_Tab" inherits "QWidget": Methods:   #33 type=Signal, signature=signal_remove()   #34 type=Signal, signature=signal_move_left()   #35 type=Signal, signature=signal_move_right()   #36 type=Signal, signature=signal_name_change(QString), parameters=QString )
class nomad_camels.manual_controls.set_panel.set_panel.Readback_Thread(parent=None, channels=None, read_time=5)

Bases: QThread

data_sig
do_reading()
exception_signal
run(self) None
staticMetaObject = PySide6.QtCore.QMetaObject("Readback_Thread" inherits "QThread": Methods:   #12 type=Signal, signature=data_sig(QVariantMap), parameters=QVariantMap   #13 type=Signal, signature=exception_signal(PyObject), parameters=PyObject )
class nomad_camels.manual_controls.set_panel.set_panel.Set_Panel(parent=None, control_data=None)

Bases: Manual_Control

This class provides convenience to set given values quickly at the push of a button. Further, it provides a utility-instrument using the buttons as channels to easily use the functionality in protocols.

button_pushed()
check_readback(vals)
close(self) bool
closeEvent(a0) None

Overwritten, so that self.closing is emitted, telling the main UI window that this manual control is no longer opened.

device_ready()

Called when the devices are ready to be used, i.e. when the instantiate_devices_thread is finished.

read_error(e)

Shows a message box with the error message. And asks wether the read thread should be restarted

start_read_thread()
staticMetaObject = PySide6.QtCore.QMetaObject("Set_Panel" inherits "Manual_Control": )
class nomad_camels.manual_controls.set_panel.set_panel.Set_Panel_Config(parent=None, control_data=None)

Bases: Manual_Control_Config

accept()
add_button_group(name='', group_data=None)
change_tab_name()
move_tab(direction=1)
Parameters:

direction – (Default value = 1)

provide_instrument()
remove_button_group()
remove_instrument()
staticMetaObject = PySide6.QtCore.QMetaObject("Set_Panel_Config" inherits "Manual_Control_Config": )
nomad_camels.manual_controls.set_panel.set_panel.conv_value(value)

Module contents