FspComponentManager Class

class ska_mid_cbf_mcs.fsp.fsp_component_manager.FspComponentManager(*args: Any, **kwargs: Any)[source]

Bases: CbfComponentManager

A component manager for the Fsp device.

property subarray_membership: List[int]

Subarray Membership

Returns:

an array of affiliations of the FSP.

Return type:

List[int]

property function_mode: tango.DevEnum

Function Mode

Returns:

the Fsp function mode

Return type:

tango.DevEnum

property jones_matrix: str

Jones Matrix

Returns:

the jones matrix

Return type:

str

property delay_model: str

Delay Model

Returns:

the delay model

Return type:

str

property timing_beam_weights: str

Timing Beam Weights

Returns:

the timing beam weights

Return type:

str

property simulation_mode: SimulationMode

Get the simulation mode of the component manager.

Returns:

simulation mode of the component manager

start_communicating() None[source]

Establish communication with the component, then start monitoring.

stop_communicating() None[source]

Stop communication with the component

remove_subarray_membership(subarray_id: int) Tuple[ResultCode, str][source]

Remove subarray from the subarrayMembership list. If subarrayMembership is empty after removing (no subarray is using this FSP), set function mode to empty.

Parameters:

subarray_id – an integer representing the subarray affiliation

Returns:

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

Return type:

(ResultCode, str)

add_subarray_membership(subarray_id: int) Tuple[ResultCode, str][source]

Add a subarray to the subarrayMembership list.

Parameters:

subarray_id – an integer representing the subarray affiliation

Returns:

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

Return type:

(ResultCode, str)

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

Turn on the fsp 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 fsp 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]

Put the fsp 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)

set_function_mode(function_mode: str) Tuple[ResultCode, str][source]

Switch the function mode of the FSP; can only be done if currently unassigned from any subarray membership.

Parameters:

function_mode – one of ‘IDLE’,’CORR’,’PSS-BF’,’PST-BF’, or ‘VLBI’

Returns:

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

Return type:

(ResultCode, str)

update_jones_matrix(argin: str) Tuple[ResultCode, str][source]

Update the FSP’s jones matrix (serialized JSON object)

Parameters:

argin – the jones matrix data

Returns:

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

Return type:

(ResultCode, str)

update_delay_model(argin: str) Tuple[ResultCode, str][source]

Update the FSP’s delay model (serialized JSON object)

Parameters:

argin – the delay model data

Returns:

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

Return type:

(ResultCode, str)

update_timing_beam_weights(argin: str) Tuple[ResultCode, str][source]

Update the FSP’s timing beam weights (serialized JSON object)

Parameters:

argin – the timing beam weight data

Returns:

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

Return type:

(ResultCode, str)

get_fsp_corr_config_id() str[source]

Get the configID for all the fspCorrSubarray

Returns:

the configID

Return type:

str