LMC to MCS
MCS provides commands and attributes to turn MCS on and off (through the CBF Controller) as well as commands needed to configure and execute scans through the subarrays. (CBF Subarray)
The sequence diagram below shows the interactions between LMC and MCS to assign receptors to a subarray, configure a scan, and run a scan. It shows configuration of one Mid.CBF subarray followed by running a scan on that subarray. It ends with no receptors assigned to the subarray. The calls to write the frequency offset K and frequency offset delta F values only need to be written when there are updates to the values. They must be written to the CBF Controller before the scan configuration.
Commands for CbfController and CbfSubarray are below. For full details of MCS Controller see CbfController. For full details of MCS Subarray see CbfSubarray.
CbfController Commands
On
Off
Standby
- class ska_mid_cbf_mcs.controller.controller_device.CbfController.StandbyCommand(*args: Any, **kwargs: Any)
A class for the CbfController’s Standby() command.
- do() Tuple[ska_tango_base.commands.ResultCode, str]
Stateless hook for Standby() command functionality. Turn off subarray, vcc, fsp, turn CbfController to standby
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
CbfSubarray Commands
Add Receptors
- class ska_mid_cbf_mcs.subarray.subarray_device.CbfSubarray.AddReceptorsCommand(*args: Any, **kwargs: Any)
A class for CbfSubarray’s AddReceptors() command.
- do(argin: List[str]) Tuple[ska_tango_base.commands.ResultCode, str]
Stateless hook for AddReceptors() command functionality.
- 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)
Configure Scan
- class ska_mid_cbf_mcs.subarray.subarray_device.CbfSubarray.ConfigureScanCommand(*args: Any, **kwargs: Any)
A class for CbfSubarray’s ConfigureScan() command.
- do(argin: str) Tuple[ska_tango_base.commands.ResultCode, str]
Stateless hook for ConfigureScan() command functionality.
- Parameters:
argin – The configuration as JSON formatted string.
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
Scan
Remove Receptors
- class ska_mid_cbf_mcs.subarray.subarray_device.CbfSubarray.RemoveReceptorsCommand(*args: Any, **kwargs: Any)
A class for CbfSubarray’s RemoveReceptors() command. Equivalent to the ReleaseResourcesCommand in ADR-8.
- do(argin: List[str]) Tuple[ska_tango_base.commands.ResultCode, str]
Stateless hook for RemoveReceptors() command functionality.
- 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)