FspComponentManager Class
- class ska_mid_cbf_mcs.fsp.fsp_component_manager.FspComponentManager(*args: Any, **kwargs: Any)[source]
Bases:
CbfComponentManagerA component manager for the Fsp device.
- start_communicating(*args: Any, admin_mode: AdminMode, **kwargs: Any) None[source]
Thread for start_communicating operation.
- stop_communicating(*args: Any, admin_mode: AdminMode, **kwargs: Any)[source]
Thread for stop_communicating operation.
- initial_write_timestamp_callback(event_data: EventData | None, fhs_fsp_corr_id: int)[source]
Callback for FSPCorrController initialWriteTimestamp change events
- Parameters:
event_data – the received change event data
fhs_fsp_corr_id – The ID of the FSPCorrController that sent the initialWriteTimestamp change event
- update_obs_mode(obs_mode_config: str, task_callback: Callable | None = None, task_abort_event: Event | None = None) None[source]
Used by subarray devices to update the observing mode and subarrayMembership of this FSP.
If the requested ObsMode is not IDLE, observing mode will only be set if this FSP is currently in ObsMode.IDLE or already in the requested ObsMode. Subarray ID will only be added to subarrayMembership if the requesting subarray has not already been added.
If IDLE is requested, the observing mode will only be set if this FSP does not belong to any other subarrays. Whether or not the observing mode is set to IDLE, the subarray ID will be removed from subarrayMembership.
- Parameters:
obs_mode_config – a JSON-formatted string containing a subarray ID to be added to membership and the ObsMode of the requested configuration.
task_callback – Callback function to update task status
task_abort_event – Event to signal task abort.