====================== SKADevice Tango Device ====================== A generic base device for SKA. Properties ---------- .. index:: single: LoggingLevelDefault; SKADevice.LoggingLevelDefault .. py:attribute:: LoggingLevelDefault :module: SKADevice Default logging level at device startup. :data type: DevUShort :default value: 4 .. index:: single: LoggingTargetsDefault; SKADevice.LoggingTargetsDefault .. py:attribute:: LoggingTargetsDefault :module: SKADevice Default logging targets at device startup. :data type: DevVarStringArray :default value: ['tango::logger'] Attributes ---------- .. index:: single: State; SKADevice.State .. py:attribute:: State :module: SKADevice The operational state of the device as enumeration. :access: READ :data type: DevState :data format: SCALAR .. index:: single: Status; SKADevice.Status .. py:attribute:: Status :module: SKADevice More detailed textual information about the device's status. :access: READ :data type: DevString :data format: SCALAR .. index:: single: buildState; SKADevice.buildState .. py:attribute:: buildState :module: SKADevice Read the Build State of the device. :access: READ :data type: DevString :data format: SCALAR .. index:: single: loggingLevel; SKADevice.loggingLevel .. py:attribute:: loggingLevel :module: SKADevice Read the logging level of the device. Initialises to LoggingLevelDefault on startup. See :py:class:`~ska_control_model.LoggingLevel` :access: READ_WRITE :data type: DevEnum :data format: SCALAR .. index:: single: loggingTargets; SKADevice.loggingTargets .. py:attribute:: loggingTargets :module: SKADevice 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 .. index:: single: versionId; SKADevice.versionId .. py:attribute:: versionId :module: SKADevice Read the Version Id of the device. :access: READ :data type: DevString :data format: SCALAR Commands -------- .. index:: single: GetVersionInfo; SKADevice.GetVersionInfo .. py:method:: GetVersionInfo() -> DevVarStringArray :module: SKADevice Get the version information of the device. :returns: The device class name and its package information. .. index:: single: Init; SKADevice.Init .. py:method:: Init() -> DevVoid :module: SKADevice Reinitialise the Tango device.