labscript_utils.connections.ConnectionTable

class labscript_utils.connections.ConnectionTable(h5file, logging_prefix=None, exceptions_in_thread=False)[source]

Bases: object

__init__(h5file, logging_prefix=None, exceptions_in_thread=False)[source]

Object to represent a connection table. Set logging prefix if you desire logging. Log used will be <prefix>.ConnectionTable

Methods

__init__(h5file[, logging_prefix, ...])

Object to represent a connection table.

assert_superset(other)

compare_to(other)

find_by_name(name)

find_child(parent_name, parent_port)

get_attached_devices()

Finds out which devices in the connection table are connected to BLACS, based on whether their 'BLACS_connection' attribute is non-empty.

print_details()

remove_device(device_name)

Removes a device from the ConnectionTable, but keeps it in the raw_table.

assert_superset(other)[source]
compare_to(other)[source]
find_by_name(name)[source]
find_child(parent_name, parent_port)[source]
get_attached_devices()[source]

Finds out which devices in the connection table are connected to BLACS, based on whether their ‘BLACS_connection’ attribute is non-empty. Returns a dictionary of them in the form {device_instance_name: labscript_class_name}

print_details()[source]
remove_device(device_name)[source]

Removes a device from the ConnectionTable, but keeps it in the raw_table. This can help make comparissons of connection tables fail for tables with broken devices.