Mid CSP.LMC Controller
- class ska_csp_lmc_mid.mid_controller_device.MidCspController(*args: Any, **kwargs: Any)
Bases:
CspController
The base class for MID CspMAster. Functionality to monitor CSP.LMC Capabilities are implemented in separate TANGO Devices.
Device Properties:
- CspVccCapability
TANGO Device to monitor the Mid.CSP VCCs Capabilities devices.
Type:’DevString’Properties
- CspFspCapability
TANGO Device to monitor the Mid.CSP FSPs Capabilities devices.
Type:’DevString’
- set_component_manager(cm_configuration: ska_csp_lmc_common.manager.manager_configuration.ComponentManagerConfiguration) MidCspControllerComponentManager
Set the Component Manager for the Mid CSP Controller device.
- Parameters:
cm_configuration – A class with all the device properties accessible as attributes
- Returns:
The Mid.Csp ControllerComponentManager
- read_commandResultName() str
Return the name of the last executed CSP task.
- Returns:
The name of the CSP task.
- read_commandResultCode() str
Return the ResultCode of the last executed CSP task.
- Returns:
The result code (see
ResultCode
) of the last executed task.
- read_availableCapabilities() List[str]
Return the list of available capabilities.
- Returns:
For each Mid.CSP capability type, reports the number of available resources.
- read_receptorsList() List[str]
Return the list with all the (deployed) receptors IDs.
- Returns:
The list of receptors Ids.
- read_receptorMembership() List[int]
Return the information about the receptors/VCCs affiliation to Mid.CSP subarrays. The value stored in the (receptor_id -1) element corresponds to the subarray Id owing the VCC associated to the receptor. This value is in the range [0, 16]: 0 means the current resource is not assigned to any subarray.
On failure an empty list is returned (VERIFY!!!)
- Returns:
The subarray affiliation of the receptors.
- read_unassignedReceptorIDs() List[str]
Return the list of available receptors IDs. The list includes all the receptors that are not assigned to any subarray and, are “full working”. This means:
a valid link connection receptor-VCC
the connected VCC healthState OK
On failure an empty list is returned.
- Returns:
The list of the available receptors IDs.