MidTmcSubarray Tango Device

Provides the monitoring and control interface required by users as well as other TM Components (such as OET, Central Node) for a Subarray.

Device Properties
DishLeafNodePrefix:

Device name prefix for the Dish Leaf Node.

Device Attributes

Properties

MidTmcSubarray.AbortCommandTimeOut
Data type

DevUShort

Default value

40

MidTmcSubarray.CapabilityTypes
Data type

DevVarStringArray

MidTmcSubarray.CommandTimeOutDefault
Data type

DevFloat

Default value

30

MidTmcSubarray.CspAssignResourcesInterfaceURL

This property contains the interface URL of theCSP sub-system for AssignResources command

Data type

DevString

MidTmcSubarray.CspScanInterfaceURL

This property contains the interface URL of theCSP sub-system for Scan command

Data type

DevString

MidTmcSubarray.CspSubarrayFQDN

This property contains the FQDN of the CSP Subarrayassociated with the Subarray Node.

Data type

DevString

MidTmcSubarray.CspSubarrayLNFQDN

This property contains the FQDN of the CSP Subarray Leaf Nodeassociated with the Subarray Node.

Data type

DevString

MidTmcSubarray.DevFamily
Data type

DevString

Default value

leaf-node

MidTmcSubarray.DishLeafNodePrefix

Device name prefix for the Dish Leaf Node

Data type

DevString

MidTmcSubarray.DishMasterFQDNs

List of Dish Master devices

Data type

DevVarStringArray

MidTmcSubarray.DishMasterIdentifier

Device name tag for the Dish Master

Data type

DevString

MidTmcSubarray.EventSubscriptionCheckPeriod
Data type

DevFloat

Default value

1

MidTmcSubarray.GroupDefinitions
Data type

DevVarStringArray

MidTmcSubarray.JonesURI

This property contains URI for Jones

Data type

DevString

MidTmcSubarray.LivelinessCheckPeriod
Data type

DevFloat

Default value

1

MidTmcSubarray.LoggingLevelDefault
Data type

DevUShort

Default value

4

MidTmcSubarray.LoggingTargetsDefault
Data type

DevVarStringArray

Default value

[‘tango::logger’]

MidTmcSubarray.ProxyTimeout
Data type

DevUShort

Default value

500

MidTmcSubarray.ScanStartTimeEnabled

Flag to control start_time key injection in Scan cmd interface

Data type

DevBoolean

MidTmcSubarray.SdpScanInterfaceURL

This property contains the interface URL of theSDP sub-system for Scan command

Data type

DevString

MidTmcSubarray.SdpSubarrayFQDN

This property contains the FQDN of the SDP Subarrayassociated with the Subarray Node.

Data type

DevString

MidTmcSubarray.SdpSubarrayLNFQDN

This property contains the FQDN of the SDP Subarray Leaf Nodeassociated with the Subarray Node.

Data type

DevString

MidTmcSubarray.SkaLevel
Data type

DevShort

Default value

4

MidTmcSubarray.SubID
Data type

DevString

MidTmcSubarray.TelmodelPath

Telmodel path for array layout.

Data type

DevString

MidTmcSubarray.TelmodelSource

Telmodel source for array layout.

Data type

DevString

Attributes

MidTmcSubarray.State

The operational state of the device as enumeration.

Access

READ

Data type

DevState

Data format

SCALAR

MidTmcSubarray.Status

More detailed textual information about the device’s status.

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.activationTime

The time of activation in seconds since Unix epoch.

Access

READ

Data type

DevDouble

Data format

SCALAR

Unit

s

MidTmcSubarray.adminMode

The Admin Mode of the device. It may interpret the current device condition and condition of all managed devices to set this. Most possibly an aggregate attribute.

Access

READ_WRITE

Data type

DevEnum

Data format

SCALAR

MidTmcSubarray.arrayLayoutUrl

Get the memorized Array Layout URI.

Access

READ_WRITE

Data type

DevString

Data format

SCALAR

MidTmcSubarray.assignedResources

Expose a signal as a Tango attribute.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

1024

MidTmcSubarray.buildState

Read the Build State of the device.

Returns

the build state of the device

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.commandTimeOut

Command execution time limit.

Access

READ_WRITE

Data type

DevUShort

Data format

SCALAR

MidTmcSubarray.commandedObsState

The last commanded stable Observation State of the device.

Initial value is EMPTY. The only stable states it can change to are EMPTY, IDLE, READY or ABORTED, following the start of any state transition command.

Access

READ

Data type

DevEnum

Data format

SCALAR

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

MidTmcSubarray.configurationDelayExpected

The expected configuration delay of the device in seconds.

Access

READ

Data type

DevUShort

Data format

SCALAR

Unit

seconds

MidTmcSubarray.configurationProgress

The percentage configuration progress of the device.

Access

READ

Data type

DevUShort

Data format

SCALAR

Unit

%

MidTmcSubarray.configuredCapabilities

The cabailities configured in the device.

For example, [“Correlators:512”, “PssBeams:4”, “PstBeams:4”, “VlbiBeams:0”].

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

10

MidTmcSubarray.controlMode

The control mode of the device are REMOTE, LOCAL Tango Device accepts only from a ‘local’ client and ignores commands and queries received from TM or any other ‘remote’ clients. The Local clients has to release LOCAL control before REMOTE clients can take control again.

Access

READ_WRITE

Data type

DevEnum

Data format

SCALAR

MidTmcSubarray.healthInfo

Expose a signal as a Tango attribute.

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.healthState

Read the Health State of the device. It interprets the current device condition and condition of all managed devices to set this. Most possibly an aggregate attribute.

Access

READ

Data type

DevEnum

Data format

SCALAR

MidTmcSubarray.internalModel

Json String representing the entire internal model.

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.isAdminModeEnabled

Return the isAdminModeEnabled attribute value

Returns: bool: True if the admin mode is enabled, False otherwise

Access

READ_WRITE

Data type

DevBoolean

Data format

SCALAR

MidTmcSubarray.isSubarrayAvailable

Shows aggregated value for availability on subarray device

Access

READ

Data type

DevBoolean

Data format

SCALAR

MidTmcSubarray.lastDeviceInfoChanged

Json String representing the last device info changed in the internal model.

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.loggingLevel

Read the logging level of the device.

Initialises to LoggingLevelDefault on startup. See LoggingLevel

Returns

Logging level of the device.

Access

READ_WRITE

Data type

DevEnum

Data format

SCALAR

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

Returns

Logging level of the device.

Access

READ_WRITE

Data type

DevString

Data format

SPECTRUM

Max_dim_x

4

MidTmcSubarray.longRunningCommandIDsInQueue

Read the IDs of the long running commands in the queue.

Every client that executes a command will receive a command ID as response. Keep track of IDs currently allocated. Entries are removed self._command_tracker._removal_time seconds after they have finished.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

66

MidTmcSubarray.longRunningCommandInProgress

Read the name(s) of the currently executing long running command(s).

Name(s) of command and possible abort in progress or empty string(s).

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

2

MidTmcSubarray.longRunningCommandProgress

Read the progress of the currently executing long running command(s).

ID, progress of the currently executing command(s). Clients can subscribe to on_change event and wait for the ID they are interested in.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

4

MidTmcSubarray.longRunningCommandResult

Read the result of the completed long running command.

Reports unique_id, json-encoded result. Clients can subscribe to on_change event and wait for the ID they are interested in.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

2

MidTmcSubarray.longRunningCommandStatus

Read the status of the currently executing long running commands.

ID, status pairs of the currently executing commands. Clients can subscribe to on_change event and wait for the ID they are interested in.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

132

MidTmcSubarray.longRunningCommandsInQueue

Read the long running commands in the queue.

Keep track of which commands are that are currently known about. Entries are removed self._command_tracker._removal_time seconds after they have finished.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

66

MidTmcSubarray.lrcExecuting

Expose a signal as a Tango attribute.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

2

MidTmcSubarray.lrcFinished

Expose a signal as a Tango attribute.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

100

MidTmcSubarray.lrcProtocolVersions

Return supported protocol versions.

Returns

A tuple containing the lower and upper bounds of supported long running command protocol versions.

Access

READ

Data type

DevLong64

Data format

SPECTRUM

Max_dim_x

2

MidTmcSubarray.lrcQueue

Expose a signal as a Tango attribute.

Access

READ

Data type

DevString

Data format

SPECTRUM

Max_dim_x

32

MidTmcSubarray.obsMode

The Observation Mode of the device.

Access

READ

Data type

DevEnum

Data format

SCALAR

MidTmcSubarray.obsState

The Observation State of the device.

Access

READ

Data type

DevEnum

Data format

SCALAR

MidTmcSubarray.sbID

ID of ongoing Scheduling Block

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.scanDuration

This attribute is used for exposing the scan duration

of ongoing scan to other subsystems. Returns: float: The scan duration of the ongoing scan

Access

READ

Data type

DevDouble

Data format

SCALAR

MidTmcSubarray.scanID

ID of ongoing SCAN

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.scanStartTimeOffset

Offset for start_time for scan command in seconds.

Access

READ_WRITE

Data type

DevFloat

Data format

SCALAR

Unit

s

MidTmcSubarray.simulationMode

When TRUE the device is using a simulator

Access

READ_WRITE

Data type

DevEnum

Data format

SCALAR

MidTmcSubarray.testMode

If TEST the device is using testing logic

Access

READ_WRITE

Data type

DevEnum

Data format

SCALAR

MidTmcSubarray.transformedInternalModel

Json String representing the entire internal model transformed for better reading.

Access

READ

Data type

DevString

Data format

SCALAR

MidTmcSubarray.versionId

Read the Version Id of the device.

Returns

the version id of the device

Access

READ

Data type

DevString

Data format

SCALAR

Commands

MidTmcSubarray.Abort() DevVarLongStringArray

No input parameter (DevVoid)

Returns

information-only string

MidTmcSubarray.AbortCommands() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.AssignResources(DevString) DevVarLongStringArray

argin (str): the resources to be assigned

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.CheckLongRunningCommandStatus(DevString) DevString

command id

Returns

TaskStatus

MidTmcSubarray.Configure(DevString) DevVarLongStringArray

argin (str): configuration specification

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.DebugDevice() DevUShort

No input parameter (DevVoid)

Returns

The TCP port the debugger is listening on.

MidTmcSubarray.End() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.EndScan() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.GetVersionInfo() DevVarStringArray

No input parameter (DevVoid)

Returns

returns (None): The result code and the command unique ID

MidTmcSubarray.Init() DevVoid

Init

MidTmcSubarray.ObsReset() DevVarLongStringArray

No input parameter (DevVoid)

Returns

[ResultCode][message or command id]

MidTmcSubarray.Off() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.On() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns ((ResultCode, str)): None

MidTmcSubarray.ReleaseAllResources() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.ReleaseResources(DevString) DevVarLongStringArray

The resources to be released

Returns

[ResultCode][message or command id]

MidTmcSubarray.Reset() DevVarLongStringArray

No input parameter (DevVoid)

Returns

[ResultCode][message or command id]

MidTmcSubarray.Restart() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.Scan(DevString) DevVarLongStringArray

argin (Array of str): Information about the scan

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.SetAdminMode(DevString) DevVarLongStringArray

argin (str): The adminMode in json format

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.

MidTmcSubarray.Standby() DevVarLongStringArray

No input parameter (DevVoid)

Returns

returns (None): A tuple containing a return code and a string message indicating status. The message is for information purpose only.