blacs.device_base_class.DeviceTab

class blacs.device_base_class.DeviceTab(notebook, settings, restart=False)[source]

Bases: blacs.tab_base_classes.Tab

__init__(notebook, settings, restart=False)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(notebook, settings[, restart])

Initialize self.

abort_buffered(*args, **kwargs)

abort_transition_to_buffered(*args, **kwargs)

add_secondary_worker(worker)

auto_create_widgets()

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_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_child_from_connection_table(…)

get_front_panel_values()

get_save_data()

get_tab_layout()

hide_error()

initialise_GUI()

initialise_workers()

mainloop()

on_force_full_buffered_reprogram()

on_resolve_value_inconsistency()

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_BUSY

ICON_ERROR

ICON_FATAL_ERROR

ICON_OK

device_name

error_message

force_full_buffered_reprogram

mode

primary_worker

state

abort_buffered(*args, **kwargs)
abort_transition_to_buffered(*args, **kwargs)
add_secondary_worker(worker)[source]
auto_create_widgets()[source]
auto_place_widgets(*args)[source]
check_remote_values(*args, **kwargs)
create_analog_outputs(analog_properties)[source]
create_analog_widgets(channel_properties)[source]
create_dds_outputs(dds_properties)[source]
create_dds_widgets(channel_properties)[source]
create_digital_outputs(digital_properties)[source]
create_digital_widgets(channel_properties)[source]
create_image_outputs(image_properties)[source]
create_image_widgets(channel_properties)[source]
get_channel(channel)[source]
get_child_from_connection_table(parent_device_name, port)[source]
get_front_panel_values()[source]
get_save_data()[source]
initialise_GUI()[source]
initialise_workers()[source]
on_resolve_value_inconsistency()[source]
property primary_worker
program_device(*args, **kwargs)
restore_save_data(data)[source]
start_run(*args, **kwargs)
supports_remote_value_check(support)[source]
transition_to_buffered(*args, **kwargs)
transition_to_manual(*args, **kwargs)
update_from_settings(settings)[source]