MID CSP.LMC FSP Processing Mode Capability Device
- class ska_csp_lmc_mid.mid_capability_fsp_device.MidCspCapabilityFsp(*args: Any, **kwargs: Any)
Bases:
SKABaseDevice
Mid CSP Capability FSP device Aggregates FSP information and presents to higher level devices
- class InitCommand(*args: Any, **kwargs: Any)
Bases:
InitCommand
A class for the SKABaseDevice’s init_device() “command”.
- do()
Stateless hook for device initialisation.
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- init_device()
Initialise the tango device after startup.
- initialize_dynamic_attributes()
This method will be called automatically by the device_factory for each device. Within this method all the dynamic attributes are created. This method is called once, when the device starts
- delete_device() None
Hook to delete resources allocated in init_device.
This method allows for any memory or other resources allocated in the init_device method to be released. This method is called by the device destructor and by the device Init command.
- set_component_manager(cm_configuration: ska_csp_lmc_common.manager.manager_configuration.ComponentManagerConfiguration) MidFspCapabilityComponentManager
Configure the ComponentManager for the CSP Capability FSP device.
- Parameters:
cm_configuration – A class with all the device properties accessible as attributes
- Returns:
The CSP Capability FSP ComponentManager
- create_component_manager() MidFspCapabilityComponentManager
Override the base method.
- Returns:
The CSP ControllerComponentManager
- update_device_attribute(attr_name: str, attr_value: Any) None
General method invoked by the ComponentManager to push an event on a device attribute properly configured to push events from the device.
- Parameters:
attr_name – the TANGO attribute name
attr_value – the attribute value
- fspsDeployed() int
Read number of deployed FSPs
- fspState() List[tango.DevState]
Read list of state for FSPs
- fspsSubarrayMembership() List[str]
Return the FSPs subarray membership as a List of strings. Each string contains the IDs of the subarrays to which a FSP belongs to.
- fspsFqdnAssigned() str
Return the FQDNs of the FSPs assigned to subarrays.
The value is a matrix of dim 16*4 where in each row is reported the list of the FQDNs of the FSPs belonging to the subarray whose id = nrow * 1
- fspJson() str
Read json which contain raw FSP information.
- isCommunicating() bool
Whether the TANGO device is communicating with the controlled component.
- adminMode(value: ska_control_model.AdminMode) None
Set the Admin Mode of the device.
- Parameters:
value – Admin Mode of the device.
- Raises:
ValueError – for unknown adminMode
- fspsSwVersion() List[str]
Return the online fsps software Version attribute list.
- Returns:
the online fsps software Version attribute list.