LowTmcLeafNodeMccsSubarray Tango Device

MCCS Subarray Leaf node acts as a contact point for MCCS Subarray Node and also monitors and issues commands to the MCCS Subarray.

Properties

LowTmcLeafNodeMccsSubarray.AdapterTimeOut
Data type:

DevFloat

Default value:

2

LowTmcLeafNodeMccsSubarray.CommandTimeOutDefault
Data type:

DevFloat

Default value:

30

LowTmcLeafNodeMccsSubarray.EventSubscriptionCheckPeriod
Data type:

DevFloat

Default value:

1

LowTmcLeafNodeMccsSubarray.GroupDefinitions
Data type:

DevVarStringArray

LowTmcLeafNodeMccsSubarray.LivelinessCheckPeriod
Data type:

DevFloat

Default value:

1

LowTmcLeafNodeMccsSubarray.LoggingLevelDefault
Data type:

DevUShort

Default value:

4

LowTmcLeafNodeMccsSubarray.LoggingTargetsDefault
Data type:

DevVarStringArray

Default value:

[‘tango::logger’]

LowTmcLeafNodeMccsSubarray.MccsMasterFQDN

FQDN of the MCCS Master Tango Device Server.

Data type:

DevString

LowTmcLeafNodeMccsSubarray.MccsMasterLeafNodeFQDN

FQDN of the MCCS Master Leaf Node Tango Device Server.

Data type:

DevString

LowTmcLeafNodeMccsSubarray.MccsSubarrayFQDN

FQDN of the MCCS Subarray Tango Device Server.

Data type:

DevString

LowTmcLeafNodeMccsSubarray.SkaLevel
Data type:

DevShort

Default value:

4

Attributes

LowTmcLeafNodeMccsSubarray.State

The operational state of the device as enumeration.

Access:

READ

Data type:

DevState

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.Status

More detailed textual information about the device’s status.

Access:

READ

Data type:

DevString

Data format:

SCALAR

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

LowTmcLeafNodeMccsSubarray.buildState

Read the Build State of the device.

Returns:

the build state of the device

Access:

READ

Data type:

DevString

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.commandTimeOut

Command execution time limit.

Access:

READ_WRITE

Data type:

DevUShort

Data format:

SCALAR

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

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

LowTmcLeafNodeMccsSubarray.healthInfo

JSON string representing the health information.

Access:

READ

Data type:

DevString

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.healthState

Health state of the monitored MCCS Subarray

Access:

READ

Data type:

DevEnum

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.isAdminModeEnabled

Boolean Flag for admin mode enabled

Access:

READ

Data type:

DevBoolean

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.isSubsystemAvailable

Boolean Flag for sub system available

Access:

READ

Data type:

DevBoolean

Data format:

SCALAR

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

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

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

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

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

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

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

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

LowTmcLeafNodeMccsSubarray.lrcExecuting

Expose a signal as a Tango attribute.

Access:

READ

Data type:

DevString

Data format:

SPECTRUM

Max_dim_x:

2

LowTmcLeafNodeMccsSubarray.lrcFinished

Expose a signal as a Tango attribute.

Access:

READ

Data type:

DevString

Data format:

SPECTRUM

Max_dim_x:

100

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

LowTmcLeafNodeMccsSubarray.lrcQueue

Expose a signal as a Tango attribute.

Access:

READ

Data type:

DevString

Data format:

SPECTRUM

Max_dim_x:

32

LowTmcLeafNodeMccsSubarray.mccsSubarrayAdminMode

MCCS Controller Admin Mode

Access:

READ

Data type:

DevEnum

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.mccsSubarrayDevName

No description

Access:

READ_WRITE

Data type:

DevString

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.obsState

No description

Access:

READ

Data type:

DevEnum

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.simulationMode

When TRUE the device is using a simulator

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.testMode

If TEST the device is using testing logic

Access:

READ_WRITE

Data type:

DevEnum

Data format:

SCALAR

LowTmcLeafNodeMccsSubarray.versionId

Read the Version Id of the device.

Returns:

the version id of the device

Access:

READ

Data type:

DevString

Data format:

SCALAR

Commands

LowTmcLeafNodeMccsSubarray.Abort() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

A tuple containing a list of result codes and a list of unique IDs.

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

LowTmcLeafNodeMccsSubarray.CheckLongRunningCommandStatus(DevString) DevString

command id

Returns:

TaskStatus

LowTmcLeafNodeMccsSubarray.Configure(DevString) DevVarLongStringArray

argin (str): JSON-formatted string containing the subarray ID and

resources to be allocated.

Returns:

returns (Tuple[List[ResultCode], List[str]]): A tuple containing a list of result codes and a list of unique IDs.

LowTmcLeafNodeMccsSubarray.DebugDevice() DevUShort

No input parameter (DevVoid)

Returns:

The TCP port the debugger is listening on.

LowTmcLeafNodeMccsSubarray.End() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

returns (Tuple[List[ResultCode], List[str]]): A tuple containing a list of result codes and a list of unique IDs.

LowTmcLeafNodeMccsSubarray.EndScan() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

returns (Tuple[List[ResultCode], List[str]]): A tuple containing a list of result codes and a list of unique ids

LowTmcLeafNodeMccsSubarray.GetVersionInfo() DevVarStringArray

No input parameter (DevVoid)

Returns:

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

LowTmcLeafNodeMccsSubarray.Init() DevVoid

Init

LowTmcLeafNodeMccsSubarray.Off() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

[ResultCode][message or command id]

LowTmcLeafNodeMccsSubarray.On() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

[ResultCode][message or command id]

LowTmcLeafNodeMccsSubarray.Reset() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

[ResultCode][message or command id]

LowTmcLeafNodeMccsSubarray.Restart() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

returns (Tuple[List[ResultCode], List[str]]): A tuple containing a list of result codes and a list of unique IDs.

LowTmcLeafNodeMccsSubarray.Scan(DevString) DevVarLongStringArray

argin (str): JSON-formatted string containing scan configuration.

Returns:

returns (Tuple[List[ResultCode], List[str]]): A tuple containing a list of result codes and a list of unique IDs.

LowTmcLeafNodeMccsSubarray.SetAdminMode(DevEnum) DevVarLongStringArray

The input string in JSON format.

Returns:

(ReturnType, ‘informational message’)

LowTmcLeafNodeMccsSubarray.Standby() DevVarLongStringArray

No input parameter (DevVoid)

Returns:

[ResultCode][message or command id]