PoweredInterface Tango Device

The Tango interface provided by the PoweredInterface device class.

Properties

PoweredInterface.LoggingLevelDefault

Default logging level at device startup.

Data type:

DevUShort

Default value:

4

PoweredInterface.LoggingTargetsDefault

Default logging targets at device startup.

Data type:

DevVarStringArray

Default value:

[‘tango::logger’]

Attributes

PoweredInterface.State

The operational state of the device as enumeration.

Access:

READ

Data type:

DevState

Data format:

SCALAR

PoweredInterface.Status

More detailed textual information about the device’s status.

Access:

READ

Data type:

DevString

Data format:

SCALAR

PoweredInterface.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

PoweredInterface.buildState

Read the Build State of the device.

Access:

READ

Data type:

DevString

Data format:

SCALAR

PoweredInterface.commandedState

The last commanded Operating State of the device.

Initial string is “None”. Only other strings it can change to is “OFF”, “STANDBY” or “ON”, following the Off(), Standby() or On() commands. If the state transition commands are long running commands the commanded state will only update when the long running command starts executing.

Access:

READ

Data type:

DevString

Data format:

SCALAR

PoweredInterface.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

PoweredInterface.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

PoweredInterface.loggingLevel

Read the logging level of the device.

Initialises to LoggingLevelDefault on startup. See LoggingLevel

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

PoweredInterface.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

PoweredInterface.versionId

Read the Version Id of the device.

Access:

READ

Data type:

DevString

Data format:

SCALAR

Commands

PoweredInterface.GetVersionInfo() DevVarStringArray

Get the version information of the device.

Returns:

The device class name and its package information.

PoweredInterface.Init() DevVoid

Reinitialise the Tango device.

PoweredInterface.On() DevVarLongStringArray

Turn the device on.

Returns:

[ResultCode][Status message or command ID]