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 timing_beam_weights: str
Timing Beam Weights
- Returns:
the timing beam weights
- Return type:
- 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.
- remove_subarray_membership(argin: 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:
argin – 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(argin: int) Tuple[ResultCode, str] [source]
Add a subarray to the subarrayMembership list.
- Parameters:
argin – 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(argin: str) Tuple[ResultCode, str] [source]
Put the fsp into low power standby mode
- Parameters:
argin – 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)