Obs component manager

This module models component management for CSP subelement observation devices.

class CspObsComponentManager(*args: Any, **kwargs: Any)

A component manager for SKA CSP subelement observation Tango devices.

configure_scan(task_callback: Callable | None = None, **kwargs: Any) Tuple[TaskStatus, str]

Configure the component.

Parameters:
  • task_callback – callback to be called when the status of the command changes

  • kwargs – keyword arguments. These will be the root keys defined by the command schema.

Raises:

NotImplementedError – because this method has not been implemented

deconfigure(task_callback: Callable | None = None) Tuple[TaskStatus, str]

Deconfigure this component.

Parameters:

task_callback – callback to be called when the status of the command changes

Raises:

NotImplementedError – because this method has not been implemented

scan(task_callback: Callable | None = None, **kwargs: Any) Tuple[TaskStatus, str]

Start scanning.

Parameters:
  • task_callback – callback to be called when the status of the command changes

  • kwargs – keyword arguments. These will be the root keys defined by the command schema.

Raises:

NotImplementedError – because this method has not been implemented

end_scan(task_callback: Callable | None = None) Tuple[TaskStatus, str]

End scanning.

Parameters:

task_callback – callback to be called when the status of the command changes

Raises:

NotImplementedError – because this method has not been implemented

abort(task_callback: Callable | None = None) Tuple[TaskStatus, str]

Tell the component to abort whatever it was doing.

Parameters:

task_callback – callback to be called when the status of the command changes

Raises:

NotImplementedError – because this method has not been implemented

obsreset(task_callback: Callable | None = None) Tuple[TaskStatus, str]

Reset the configuration but do not release resources.

Parameters:

task_callback – callback to be called when the status of the command changes

Raises:

NotImplementedError – because this method has not been implemented

property config_id: str

Return the configuration id.

Raises:

NotImplementedError – because this method has not been implemented

property scan_id: int

Return the scan id.

Raises:

NotImplementedError – because this method has not been implemented