VccComponentManager Class
- class ska_mid_cbf_tdc_mcs.vcc.vcc_component_manager.VccComponentManager(*args: Any, **kwargs: Any)[source]
Bases:
CbfObsComponentManagerComponent manager for Vcc class.
- update_vcc_gains(gain: float) None[source]
Helper for updating VCC band device vccGain attribute.
- Parameters:
gain – the value to apply to vccGain.
- read_vcc_gains() list[float][source]
Helper for reading the current VCC gain values.
:return the list of vcc gains, rounded to 3 decimal places
- update_health_state_from_hps() HealthState[source]
Read the HPS VCC controller device’s healthState attr and update the MCS VCC device accordingly.
- Returns:
The current healthState of the FSP.
- Return type:
HealthState
- is_configure_band_allowed() bool[source]
Check if ConfigureBand is allowed.
- Returns:
True if ConfigureBand is allowed, False otherwise
- configure_band(argin: str, task_callback: Callable | None = None) tuple[ska_control_model.task_status.TaskStatus, str][source]
Configure the corresponding band. At the HPS level, this reconfigures the FPGA to the correct bitstream and enables the respective band device. All other band devices are disabled.
- Parameters:
argin – the frequency band name
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(TaskStatus, str)