The outcomes of this feature include the following:
A) The mid-cbf-mcs VCC, FSP PSS mode and and FSP CORR mode configuration capabilities have been updated to support all observing states, the correct transitions and triggering commands as follows:
1 - Updated to the VCC Tango device class to inherit from the CspSubElementObsDevice base class (rather than from the SAKCapability class) and using the base classes command definition paradigm, ensuring in this way that the observing state state-machine as well as the commands that trigger them can be inherited; all the ad-hoc obState changes have been removed.
2 - Updated the subordinated 4 VCC_Band* device classes and the VccSearchWindow class to use the InitCommand() class (instead of init_device()) and removed the local SetState() functions.
3 - Updated, in a similar way to the Vcc class, the FspCorrSubarray and FspPssSubarray Tango device classes.
4 - Eliminated one level of the client-server hierarchy of tango classes, namely the CbfSubarrayCorrConfig and CbfSubarrayPssConfig classes and moved their functionality to CbfSubarry. In this way scan configuration for the Correlation and PSS modes will be done in one place (FspCorrSubarray and FspPssSubarry class respectively).
5 - Updated the CbfSubarray class to support all the obsState Vcc an Fsp related updates and interface changes.
6- Updated pytest testing classes to support the new implementation.
Note that given that the FSP configuration for the PST mode has been implemented in the same time (story AT5-611) the observing state updates have not been applied for the FSP PST mode; however, the approach is very similar to the one for the Correlation and PSS modes and will be applied in PI11.
Updates are currently on the https://gitlab.com/ska-telescope/mid-cbf-mcs/-/tree/at5-594-obsState-commands branch and the CICD pipeline passed.
B) Support for remote-debugging and various aspects of refactoring have been applied to the code base (stories AT5-668 to AT5-671). For the CbfSubarray refactoring a better approach for restructuring the code has been identified (see details in AT5-671 Outcomes). This approach will be discussed with the team and if confirmed, will be adopted in future PIs.
C) WebJive/Taranta dashboard was set up to display the commands and attribute values of the Mid-CBF MCS devices as they operate, behaving as a graphical user interface through which the system can be configured for scan operations (AT5-678). Devices displayed on the interface include:
- CbfMaster x1
- CbfSubarray x3
- Fsp x4
- TmCspLeafNodeTest x1
- Vcc x4