CbfSubarray Component Class
- class ska_mid_cbf_mcs.subarray.subarray_component_manager.CbfSubarrayComponentManager(*args: Any, **kwargs: Any)[source]
Bases:
CbfComponentManager
,CspSubarrayComponentManager
A component manager for the CbfSubarray class.
- start_communicating() None [source]
Establish communication with the component, then start monitoring.
- validate_ip(ip: str) bool [source]
Validate IP address format.
- Parameters:
ip – IP address to be evaluated
- Returns:
whether or not the IP address format is valid
- Return type:
- raise_configure_scan_fatal_error(msg: str) Tuple[ResultCode, str] [source]
Raise fatal error in ConfigureScan execution
- Parameters:
msg – error message
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- raise_update_delay_model_fatal_error(msg: str) Tuple[ResultCode, str] [source]
Raise fatal error in UpdateDelayModel execution
- Parameters:
msg – error message
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- deconfigure() None [source]
Completely deconfigure the subarray; all initialization performed by by the ConfigureScan command must be ‘undone’ here.
- configure_scan(argin: str) Tuple[ResultCode, str] [source]
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- remove_receptors(argin: List[str]) Tuple[ResultCode, str] [source]
Remove receptor from subarray.
- Parameters:
argin – The receptors to be released
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- remove_all_receptors() Tuple[ResultCode, str] [source]
Remove all receptors from subarray.
- Parameters:
receptor_id – The receptor to be released
- 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_receptors(argin: List[str]) Tuple[ResultCode, str] [source]
Add receptors to subarray.
- Parameters:
argin – The receptors to be assigned
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- end_scan() Tuple[ResultCode, str] [source]
End subarray Scan operation.
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)