LowWeatherMonitoring Tango Device

Tango device server for a SKA-Low Weather Monitoring Station.

Properties

Host

Host IP of Modbus device.

Data type:

DevString

Default value:

localhost

LoggingLevelDefault

Default logging level at device startup.

Data type:

DevUShort

Default value:

4

LoggingTargetsDefault

Default logging targets at device startup.

Data type:

DevVarStringArray

Default value:

[‘tango::logger’]

Port

Modbus port to use.

Data type:

DevLong64

Default value:

502

Attributes

State

The operational state of the device as enumeration.

Access:

READ

Data type:

DevState

Data format:

SCALAR

Status

More detailed textual information about the device’s status.

Access:

READ

Data type:

DevString

Data format:

SCALAR

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

buildState

Read the Build State of the device.

Access:

READ

Data type:

DevString

Data format:

SCALAR

controlMode

The control mode of the device.

The Tango Device either does not perform its monitor and control functions at all, performs only its monitoring functions, or performs both its monitoring and controlling functions.

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

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

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

humidity

Outside relative humidity

Access:

READ

Data type:

DevDouble

Data format:

SCALAR

Unit:

percent

loggingLevel

Read the logging level of the device.

Initialises to LoggingLevelDefault on startup. See LoggingLevel

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

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

pressure

Barometric air pressure

Access:

READ

Data type:

DevDouble

Data format:

SCALAR

Unit:

mbar

rainfallRate

Rainfall per hour

Access:

READ

Data type:

DevDouble

Data format:

SCALAR

Unit:

mm.h-1

simulationMode

When TRUE the device is using a simulator.

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

temperature

Outside temperature

Access:

READ

Data type:

DevDouble

Data format:

SCALAR

Unit:

deg C

versionId

Read the Version Id of the device.

Access:

READ

Data type:

DevString

Data format:

SCALAR

windDirection

Wind direction

Access:

READ

Data type:

DevDouble

Data format:

SCALAR

Unit:

deg

windSpeed

Wind speed

Access:

READ

Data type:

DevDouble

Data format:

SCALAR

Unit:

m.s-1

Commands

GetVersionInfo() → DevVarStringArray

Get the version information of the device.

Returns:

The device class name and its package information.

Init() → DevVoid

Reinitialise the Tango device.