TalonLRUComponentManager Class

class ska_mid_cbf_mcs.talon_lru.talon_lru_component_manager.TalonLRUComponentManager(*args: Any, **kwargs: Any)[source]

Bases: CbfComponentManager

A component manager for the TalonLRU device.

start_communicating() None[source]

Establish communication with the component, then start monitoring.

stop_communicating() None[source]

Stop communication with the component.

get_device_proxy(fqdn: str) CbfDeviceProxy | None[source]

Attempt to get a device proxy of the specified device.

Parameters:

fqdn – FQDN of the device to connect to

Returns:

CbfDeviceProxy to the device or None if no connection was made

check_power_mode(state: DevState) None[source]

Get the power mode of both PDUs and check that it is consistent with the current device state.

Parameters:

state – device operational state

on() Tuple[ResultCode, str][source]

Turn on the TalonLRU and its subordinate devices

Returns:

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

Return type:

(ResultCode, str)

off() Tuple[ResultCode, str][source]

Turn off the TalonLRU and its subordinate devices

Returns:

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

Return type:

(ResultCode, str)

standby() Tuple[ResultCode, str][source]

Turn the TalonLRU into low power standby mode

Returns:

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

Return type:

(ResultCode, str)