blacs.device_base_class.DeviceTab
- class blacs.device_base_class.DeviceTab(notebook, settings, restart=False)[source]
Bases:
TabMethods
__init__(notebook, settings[, restart])abort_buffered(*args, **kwargs)abort_transition_to_buffered(*args, **kwargs)add_secondary_worker(worker)auto_place_widgets(*args)check_remote_values(*args, **kwargs)check_time()clean_ui_on_restart()close_tab([finalise])Close the tab, terminate subprocesses and join the mainloop thread.
connect_restart_receiver(function)continue_restart(currentpage)Called in a thread for the stages of restarting that may be blocking, so as to not block the main thread.
create_analog_outputs(analog_properties)create_analog_widgets(channel_properties)create_dds_outputs(dds_properties)create_dds_widgets(channel_properties)create_digital_outputs(digital_properties)create_digital_widgets(channel_properties)create_enum_outputs(eo_properties)create_enum_widgets(device_properties)create_image_outputs(image_properties)create_image_widgets(channel_properties)create_worker(name, WorkerClass[, workerargs])Set up a worker process.
disconnect_restart_receiver(function)finalise_close_tab(currentpage)finalise_restart(currentpage)get_all_save_data()get_builtin_save_data()Get builtin settings to be restored like whether the terminal is visible.
get_channel(channel)get_tab_layout()hide_error()mainloop()on_force_full_buffered_reprogram()program_device(*args, **kwargs)queue_work(worker_process, worker_function, ...)restart(*args)restore_builtin_save_data(data)Restore builtin settings to be restored like whether the terminal is visible.
restore_save_data(data)set_tab_icon_and_colour()Set the tab icon and the colour of its text to the values of self._tab_icon and self._tab_text_colour respectively
set_terminal_visible(visible)shutdown_workers(*args, **kwargs)start_run(*args, **kwargs)statemachine_timeout_add(delay, ...)statemachine_timeout_remove(statefunction)statemachine_timeout_remove_all()supports_remote_value_check(support)supports_smart_programming(support)transition_to_buffered(*args, **kwargs)transition_to_manual(*args, **kwargs)update_from_settings(settings)Attributes
ICON_BUSYICON_ERRORICON_FATAL_ERRORICON_OKdevice_nameerror_messageforce_full_buffered_reprogrammodestate- abort_buffered(*args, **kwargs)
- abort_transition_to_buffered(*args, **kwargs)
- check_remote_values(*args, **kwargs)
- property primary_worker
- program_device(*args, **kwargs)
- start_run(*args, **kwargs)
- transition_to_buffered(*args, **kwargs)
- transition_to_manual(*args, **kwargs)