ControllerInterface Tango Device

Provides the Tango interface for a SKA controller device.

Properties

ControllerInterface.LoggingLevelDefault

Default logging level at device startup.

Data type:

DevUShort

Default value:

4

ControllerInterface.LoggingTargetsDefault

Default logging targets at device startup.

Data type:

DevVarStringArray

Default value:

[‘tango::logger’]

ControllerInterface.MaxCapabilities

List of maximum number of instances per capability type provided by this element.

Data type:

DevVarStringArray

Attributes

ControllerInterface.State

The operational state of the device as enumeration.

Access:

READ

Data type:

DevState

Data format:

SCALAR

ControllerInterface.Status

More detailed textual information about the device’s status.

Access:

READ

Data type:

DevString

Data format:

SCALAR

ControllerInterface.adminMode

The Admin Mode of the device.

Set by a client to mark the device for science or only engineering.

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

ControllerInterface.availableCapabilities

A list of available number of instances of each capability type, e.g. ‘CORRELATOR:512’, ‘PSS-BEAMS:4’.

Access:

READ

Data type:

DevString

Data format:

SPECTRUM

Max_dim_x:

20

ControllerInterface.buildState

Read the Build State of the device.

Access:

READ

Data type:

DevString

Data format:

SCALAR

ControllerInterface.healthInfo

Read the Health Info of the device.

It provides an explanation for the currently reported Health State

Access:

READ

Data type:

DevString

Data format:

SPECTRUM

Max_dim_x:

256

ControllerInterface.healthState

Read the Health State of the device.

It interprets the current device condition and condition of all managed devices to set this.

Access:

READ

Data type:

DevEnum

Data format:

SCALAR

ControllerInterface.loggingLevel

Read the logging level of the device.

Initialises to LoggingLevelDefault on startup. See LoggingLevel

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

ControllerInterface.loggingTargets

Read the additional logging targets of the device.

Note that this excludes the handlers provided by the ska_ser_logging library defaults - initialises to LoggingTargetsDefault on startup.

Access:

READ_WRITE

Data type:

DevString

Data format:

SPECTRUM

Max_dim_x:

4

ControllerInterface.maxCapabilities

Maximum number of instances of each capability type, e.g. ‘CORRELATOR:512’, ‘PSS-BEAMS:4’.

Access:

READ

Data type:

DevString

Data format:

SPECTRUM

Max_dim_x:

20

ControllerInterface.versionId

Read the Version Id of the device.

Access:

READ

Data type:

DevString

Data format:

SCALAR

Commands

ControllerInterface.GetVersionInfo() DevVarStringArray

Get the version information of the device.

Returns:

The device class name and its package information.

ControllerInterface.Init() DevVoid

Reinitialise the Tango device.

ControllerInterface.IsCapabilityAchievable(DevVarLongStringArray) DevBoolean

Check if provided capabilities can be achieved by the resource(s).

Parameter:

[No. of instances][Capability types]

Returns:

[ResultCode][Command ID]