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)
- go_to_idle() Tuple[ResultCode, str] [source]
Send subarray from READY to IDLE.
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- 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)
- release_vcc(argin: List[str]) Tuple[ResultCode, str] [source]
Remove receptor/dish from subarray.
- Parameters:
argin – The list of receptor/DISH IDs 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)
- release_all_vcc() Tuple[ResultCode, str] [source]
Remove all receptors/dishes from subarray.
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- assign_vcc(argin: List[str]) Tuple[ResultCode, str] [source]
Add receptors/dishes to subarray.
- Parameters:
argin – The list of receptor/DISH IDs 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)