Obs Interface
Interface for devices with an observation state.
- class CommandedObsStateSignal[source]
Special signal for the commanded observation state.
Ensures that only stable enumerants from
ObsStatefor a commanded observation state are emitted for the signal.
- class ObsInterface[source]
Provides the Tango interface for an SKA device with an Observation State.
- _obs_state: Signal[ObsState]
Signal for the observation state of the device.
Write to this signal to report the observation state of the device to Tango clients.
- obsState
Observation state attribute of the device.
This should be set by subclasses of this interface by writing to
_obs_state.
- _commanded_obs_state: CommandedObsStateSignal
Signal for the commanded observation state of the device.
Write to this signal whenever a command is executed which will result in a obs state transition.
- commandedObsState
Attribute for the last commanded Observation State of the device.
This should be set by subclasses of this interface by writing to
_commanded_obs_state.
- _obs_mode: Signal[ObsMode]
Signal for the observation mode of the device.
Write to this signal to report observation mode of the device to Tango clients.
- obsMode
Observation mode attribute of the device.
This should be set by subclasses of this interface by writing to
_obs_mode.
- _config_progress: Signal[int]
Signal for the configuration progress of the device.
Write to this signal to report configuration progress to Tango clients.
- configurationProgress
Configuration progress attribute of the device.
This should be set by subclasses of this interface by writing to
_config_progress.
- _config_delay_expected: Signal[int]
Signal for the configuration delay expected of the device.
Write to this signal to report the expected configuration delay to Tango clients.
- configurationDelayExpected
Configuration delay expected attribute of the device.
This should be set by subclasses of this interface by writing to
_config_delay_expected.
- read_obsState() ObsState | tuple[ObsState, float, AttrQuality][source]
Read the observation state of the device.
Subclasses can override this to change the behaviour of the
obsStateattribute.
- read_commandedObsState() ObsState | tuple[ObsState, float, AttrQuality][source]
Read the commanded observation state of the device.
Subclasses can override this to change the behaviour of the
commandedObsStateattribute.
- read_obsMode() ObsMode | tuple[ObsMode, float, AttrQuality][source]
Read the observation mode of the device.
Subclasses can override this to change the behaviour of the
obsModeattribute.