SlimComponentManager Class

class ska_mid_cbf_tdc_mcs.slim.slim_component_manager.SlimComponentManager(*args: Any, **kwargs: Any)[source]

Bases: CbfComponentManager

Manages a Serial Lightweight Interconnect Mesh (SLIM).

get_configuration_string() str[source]

Returns the configurations string used to configure the SLIM.

Returns:

the SLIM configuration string

Return type:

str

Returns a list of SLIM Link FQDNs.

Returns:

the SLIM links associated with the mesh.

Return type:

list[str]

Returns a list of SLIM Link names, formatted ‘tx_device_name->rx_device_name’.

Returns:

the names of SLIM links associated with the mesh.

Return type:

list[str]

get_health_summary() list[ska_control_model.health_state.HealthState][source]

Returns a list of HealthState enums describing the status of each link.

Returns:

the health state of each SLIM link in the mesh.

Return type:

list[HealthState]

get_bit_error_rate() list[float][source]

Returns a list containing the bit-error rates for each link.

Returns:

the bit-error rate (BER) of each SLIM link in the mesh.

Return type:

list[float]

slim_test() tuple[ska_control_model.result_code.ResultCode, str][source]

Examines various attributes from active SLIM Links and logs the metrics in a summary table.

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

Return type:

tuple[ResultCode,str]

is_on_allowed() bool[source]
on(task_callback: Callable | None = None, **kwargs: any) tuple[ska_control_model.result_code.ResultCode, str][source]
is_configure_allowed() bool[source]
configure(config_str: str, task_callback: Callable | None = None, **kwargs: any) tuple[ska_control_model.result_code.ResultCode, str][source]
is_off_allowed() bool[source]
off(task_callback: Callable | None = None, **kwargs: any) tuple[ska_control_model.result_code.ResultCode, str][source]