FspComponentManager Class
- class ska_mid_cbf_tdc_mcs.fsp.fsp_component_manager.FspComponentManager(*args: Any, **kwargs: Any)[source]
Bases:
CbfComponentManagerA component manager for the Fsp device.
- is_set_function_mode_allowed() bool[source]
Check if the SetFunctionMode command is allowed
- Returns:
True if the SetFunctionMode command is allowed, False otherwise
- set_function_mode(argin: str, task_callback: Callable | None = None) tuple[ska_control_model.task_status.TaskStatus, str][source]
Submit SetFunctionMode command thread to task executor queue.
- Parameters:
argin – one of ‘IDLE’,’CORR’,’PSS-BF’,’PST-BF’, or ‘VLBI’
task_callback – Callback function to update task status
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(TaskStatus, str)
- is_add_subarray_membership_allowed() bool[source]
Check if the AddSubarrayMembership command is allowed
- Returns:
True if the AddSubarrayMembership command is allowed, False otherwise
- add_subarray_membership(argin: int, task_callback: Callable | None = None) tuple[ska_control_model.task_status.TaskStatus, str][source]
Submit AddSubarrayMembership command thread to task executor queue.
- Parameters:
argin – an integer representing the subarray affiliation
task_callback – Callback function to update task status
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(TaskStatus, str)
- is_remove_subarray_membership_allowed() bool[source]
Check if the RemoveSubarrayMembership command is allowed
- Returns:
True if the RemoveSubarrayMembership command is allowed, False otherwise
- remove_subarray_membership(argin: int, task_callback: Callable | None = None) tuple[ska_control_model.task_status.TaskStatus, str][source]
Submit RemoveSubarrayMembership command thread to task executor queue.
- Parameters:
argin – an integer representing the subarray affiliation
task_callback – Callback function to update task status
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(TaskStatus, str)