======================== MccsStation Tango Device ======================== An implementation of a station Tango device for MCCS. Properties ---------- .. index:: single: AntennaIDs; MccsStation.AntennaIDs .. py:attribute:: AntennaIDs :module: MccsStation :data type: DevVarLong64Array .. index:: single: AntennaMasks; MccsStation.AntennaMasks .. py:attribute:: AntennaMasks :module: MccsStation Masked antenna indexed by TPM_Idx (i.e tpm_id * 16 + channel // 2). :data type: DevVarBooleanArray :default value: [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False] .. index:: single: AntennaXs; MccsStation.AntennaXs .. py:attribute:: AntennaXs :module: MccsStation :data type: DevVarDoubleArray .. index:: single: AntennaYs; MccsStation.AntennaYs .. py:attribute:: AntennaYs :module: MccsStation :data type: DevVarDoubleArray .. index:: single: AntennaZs; MccsStation.AntennaZs .. py:attribute:: AntennaZs :module: MccsStation :data type: DevVarDoubleArray .. index:: single: CalibrationLoadDelay; MccsStation.CalibrationLoadDelay .. py:attribute:: CalibrationLoadDelay :module: MccsStation :data type: DevDouble :default value: 1.0 .. index:: single: EarlyBeamformerStart; MccsStation.EarlyBeamformerStart .. py:attribute:: EarlyBeamformerStart :module: MccsStation True to start the beamformer at Configure and stop it at DeallocateSubarray. False to start it at Scan and stop it at EndScan. This sets the initial value of the earlyBeamformerStart attribute. :data type: DevBoolean .. index:: single: FieldStationName; MccsStation.FieldStationName .. py:attribute:: FieldStationName :module: MccsStation :data type: DevString .. index:: single: GroupDefinitions; MccsStation.GroupDefinitions .. py:attribute:: GroupDefinitions :module: MccsStation Each string in the list is a JSON serialised dict defining the ``group_name``, ``devices`` and ``subgroups`` in the group. A Tango Group object is created for each item in the list, according to the hierarchy defined. This provides easy access to the managed devices in bulk, or individually. :data type: DevVarStringArray .. index:: single: LoggingLevelDefault; MccsStation.LoggingLevelDefault .. py:attribute:: LoggingLevelDefault :module: MccsStation Default logging level at device startup. :data type: DevUShort :default value: 4 .. index:: single: LoggingTargetsDefault; MccsStation.LoggingTargetsDefault .. py:attribute:: LoggingTargetsDefault :module: MccsStation Default logging targets at device startup. :data type: DevVarStringArray :default value: ['tango::logger'] .. index:: single: ParentConnectionTimeout; MccsStation.ParentConnectionTimeout .. py:attribute:: ParentConnectionTimeout :module: MccsStation :data type: DevDouble :default value: 120 .. index:: single: ParentTRL; MccsStation.ParentTRL .. py:attribute:: ParentTRL :module: MccsStation :data type: DevString .. index:: single: RefHeight; MccsStation.RefHeight .. py:attribute:: RefHeight :module: MccsStation :data type: DevDouble .. index:: single: RefLatitude; MccsStation.RefLatitude .. py:attribute:: RefLatitude :module: MccsStation :data type: DevDouble .. index:: single: RefLongitude; MccsStation.RefLongitude .. py:attribute:: RefLongitude :module: MccsStation :data type: DevDouble .. index:: single: SkaLevel; MccsStation.SkaLevel .. py:attribute:: SkaLevel :module: MccsStation Indication of importance of the device in the SKA hierarchy to support drill-down navigation: 1..6, with 1 highest. :data type: DevShort :default value: 4 .. index:: single: SpsStationTrl; MccsStation.SpsStationTrl .. py:attribute:: SpsStationTrl :module: MccsStation :data type: DevString .. index:: single: StationCalibratorTrl; MccsStation.StationCalibratorTrl .. py:attribute:: StationCalibratorTrl :module: MccsStation :data type: DevString .. index:: single: StationId; MccsStation.StationId .. py:attribute:: StationId :module: MccsStation :data type: DevLong64 .. index:: single: UseBeamWeights; MccsStation.UseBeamWeights .. py:attribute:: UseBeamWeights :module: MccsStation True if we want to use the beam weighting in calibration coefficients. Currently only unit weights are allowed and masked antennas are zeros accross all channels. :data type: DevBoolean :default value: True Attributes ---------- .. index:: single: State; MccsStation.State .. py:attribute:: State :module: MccsStation The operational state of the device as enumeration. :access: READ :data type: DevState :data format: SCALAR .. index:: single: Status; MccsStation.Status .. py:attribute:: Status :module: MccsStation More detailed textual information about the device's status. :access: READ :data type: DevString :data format: SCALAR .. index:: single: activeBankCalibrationId; MccsStation.activeBankCalibrationId .. py:attribute:: activeBankCalibrationId :module: MccsStation Return the calibration id in the active bank. :access: READ :data type: DevString :data format: SCALAR .. index:: single: activeBeamInfo; MccsStation.activeBeamInfo .. py:attribute:: activeBeamInfo :module: MccsStation Return the configuration information of currently active PointingRequests. List information about each active beam. Info includes pointing type, values, reference time, scan time, time step, next update time, and whether the scan is complete. :access: READ :data type: DevString :data format: SCALAR .. index:: single: additionalDebug; MccsStation.additionalDebug .. py:attribute:: additionalDebug :module: MccsStation Return whether additional debug information is enabled. :access: READ_WRITE :data type: DevBoolean :data format: SCALAR .. index:: single: adminMode; MccsStation.adminMode .. py:attribute:: adminMode :module: MccsStation The Admin Mode of the device. It may interpret the current device condition and condition of all managed devices to set this. :access: READ_WRITE :data type: DevEnum :data format: SCALAR .. index:: single: antennaMasks; MccsStation.antennaMasks .. py:attribute:: antennaMasks :module: MccsStation Return the antennaMasks. :access: READ_WRITE :data type: DevBoolean :data format: SPECTRUM :max_dim_x: 256 .. index:: single: appliedWeightingBlock; MccsStation.appliedWeightingBlock .. py:attribute:: appliedWeightingBlock :module: MccsStation Return the last applied weighting block. Magic number -1 represents that this has not been updated. .. warning: This is not read from hardware and is not persisted well. please view TPM calibration_table for written value. :access: READ :data type: DevFloat :data format: IMAGE :max_dim_x: 384 .. index:: single: beamTrls; MccsStation.beamTrls .. py:attribute:: beamTrls :module: MccsStation Return the TRLs of station beams associated with this station. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 8 .. index:: single: beamformerTable; MccsStation.beamformerTable .. py:attribute:: beamformerTable :module: MccsStation Return the ids of the channels configured for this beam. :access: READ :data type: DevLong :data format: IMAGE :max_dim_x: 8 .. index:: single: buildState; MccsStation.buildState .. py:attribute:: buildState :module: MccsStation Read the Build State of the device. :access: READ :data type: DevString :data format: SCALAR .. index:: single: calibrationCoefficients; MccsStation.calibrationCoefficients .. py:attribute:: calibrationCoefficients :module: MccsStation Return the calibration coefficients for the station. :todo: How big should this array be? 4 complex values (Jones matrix. per channel. This station can have up to 16 tiles of up to 16 antennas, so that is 8 x 16 x 16 = 2048 coefficients per channel. But how many channels? 384 channels, 786432 elements per station (402M for SKA Low) :access: READ :data type: DevFloat :data format: SPECTRUM :max_dim_x: 512 .. index:: single: calibrationJobId; MccsStation.calibrationJobId .. py:attribute:: calibrationJobId :module: MccsStation Return the calibration job id. :access: READ :data type: DevLong :data format: SCALAR .. index:: single: calibrationLoadDelay; MccsStation.calibrationLoadDelay .. py:attribute:: calibrationLoadDelay :module: MccsStation Return the load time in seconds used when we call ApplyCalibration internally. Value defaults to 1 second. :access: READ_WRITE :data type: DevFloat :data format: SCALAR .. index:: single: commandedObsState; MccsStation.commandedObsState .. py:attribute:: commandedObsState :module: MccsStation 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 .. index:: single: commandedState; MccsStation.commandedState .. py:attribute:: commandedState :module: MccsStation 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 .. index:: single: configurationDelayExpected; MccsStation.configurationDelayExpected .. py:attribute:: configurationDelayExpected :module: MccsStation The expected configuration delay of the device in seconds. :access: READ :data type: DevUShort :data format: SCALAR :unit: seconds .. index:: single: configurationProgress; MccsStation.configurationProgress .. py:attribute:: configurationProgress :module: MccsStation The percentage configuration progress of the device. :access: READ :data type: DevUShort :data format: SCALAR :unit: % .. index:: single: configuredWeightingBlock; MccsStation.configuredWeightingBlock .. py:attribute:: configuredWeightingBlock :module: MccsStation Return the configured weighting block. This will return the Weighting Block configured. Note that this may or may not have been written to the hardware. Please view appliedWeightingBlock for the block applied. Magic number -1 represents that this has not been updated. .. warning: This is not read from hardware and is not persisted well. please view TPM calibration_table for written value. :access: READ :data type: DevFloat :data format: IMAGE :max_dim_x: 384 .. index:: single: controlMode; MccsStation.controlMode .. py:attribute:: controlMode :module: MccsStation The control mode of the device. A Tango Device accepts only from a 'local' client and ignores commands and queries received from TM or any other 'remote' clients. The local client has to release LOCAL control before REMOTE clients can take control again. :access: READ_WRITE :data type: DevEnum :data format: SCALAR .. index:: single: cspIngestConfig; MccsStation.cspIngestConfig .. py:attribute:: cspIngestConfig :module: MccsStation Report the CspIngest configuration in use for this station. :access: READ :data type: DevString :data format: SCALAR .. index:: single: daqJobId; MccsStation.daqJobId .. py:attribute:: daqJobId :module: MccsStation Return the DAQ job id. :access: READ :data type: DevLong :data format: SCALAR .. index:: single: daqPath; MccsStation.daqPath .. py:attribute:: daqPath :module: MccsStation Report the DAQ path in use for this station. :access: READ :data type: DevString :data format: SCALAR .. index:: single: dataDirectory; MccsStation.dataDirectory .. py:attribute:: dataDirectory :module: MccsStation Return the data directory. (the parent directory for all files generated by this station) :access: READ :data type: DevString :data format: SCALAR .. index:: single: dataReceivedResult; MccsStation.dataReceivedResult .. py:attribute:: dataReceivedResult :module: MccsStation Read the result of the receiving of data. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 2 .. index:: single: delayCentre; MccsStation.delayCentre .. py:attribute:: delayCentre :module: MccsStation Return the WGS84 position of the delay centre of the station. :todo: WGS84 is a datum. What is the coordinate system? Latitude and longitude? Or is it SUTM50 eastings and northings? Either way, do we need to allow for elevation too? :access: READ_WRITE :data type: DevFloat :data format: SPECTRUM :max_dim_x: 2 .. index:: single: earlyBeamformerStart; MccsStation.earlyBeamformerStart .. py:attribute:: earlyBeamformerStart :module: MccsStation Is beamformer started at Configure. If False, beamformer is started and stopped at Scan/EndScan If True, it is started at Configure and stopped at DeallocateSubarray :access: READ_WRITE :data type: DevBoolean :data format: SCALAR .. index:: single: eventHistory; MccsStation.eventHistory .. py:attribute:: eventHistory :module: MccsStation Return the event history of the event serialiser. :access: READ :data type: DevString :data format: SCALAR .. index:: single: failedPointingUpdates; MccsStation.failedPointingUpdates .. py:attribute:: failedPointingUpdates :module: MccsStation Return the tracking beams which are currently unlocked. :access: READ :data type: DevString :data format: SCALAR .. index:: single: healthInfo; MccsStation.healthInfo .. py:attribute:: healthInfo :module: MccsStation ('Read the Health Info of the device.\n\nIt provides an explanation for the currently reported Health State',) :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 256 .. index:: single: healthModelParams; MccsStation.healthModelParams .. py:attribute:: healthModelParams :module: MccsStation Get the health params from the health model. :access: READ_WRITE :data type: DevString :data format: SCALAR .. index:: single: healthReport; MccsStation.healthReport .. py:attribute:: healthReport :module: MccsStation Get the health report. :access: READ :data type: DevString :data format: SCALAR .. index:: single: healthState; MccsStation.healthState .. py:attribute:: healthState :module: MccsStation 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 .. index:: single: healthThresholds; MccsStation.healthThresholds .. py:attribute:: healthThresholds :module: MccsStation Get the health params from the health model. :access: READ_WRITE :data type: DevString :data format: SCALAR .. index:: single: inactiveBankCalibrationId; MccsStation.inactiveBankCalibrationId .. py:attribute:: inactiveBankCalibrationId :module: MccsStation Return the calibration id of the inactive bank. :access: READ :data type: DevString :data format: SCALAR .. index:: single: inheritModes; MccsStation.inheritModes .. py:attribute:: inheritModes :module: MccsStation Read the mode inheritance attribute. :access: READ_WRITE :data type: DevBoolean :data format: SCALAR .. index:: single: isCalibrated; MccsStation.isCalibrated .. py:attribute:: isCalibrated :module: MccsStation Return a flag indicating whether this station is currently calibrated or not. :access: READ :data type: DevBoolean :data format: SCALAR .. index:: single: isConfigured; MccsStation.isConfigured .. py:attribute:: isConfigured :module: MccsStation Return a flag indicating whether this station is currently configured or not. :access: READ :data type: DevBoolean :data format: SCALAR .. index:: single: isInitialised; MccsStation.isInitialised .. py:attribute:: isInitialised :module: MccsStation Return true if all tiles in the SpsStation are initialised. :access: READ :data type: DevBoolean :data format: SCALAR .. index:: single: isSynchronised; MccsStation.isSynchronised .. py:attribute:: isSynchronised :module: MccsStation Return true if all tiles in the SpsStation are synchronised. :access: READ :data type: DevBoolean :data format: SCALAR .. index:: single: lastPointingDelays; MccsStation.lastPointingDelays .. py:attribute:: lastPointingDelays :module: MccsStation Return last pointing delays applied to the tiles. Values are initialised to 0.0 if they haven't been set. These values are in antenna EEP order. :access: READ :data type: DevString :data format: SCALAR .. index:: single: latestPreferredJobId; MccsStation.latestPreferredJobId .. py:attribute:: latestPreferredJobId :module: MccsStation Return the user_friendly_name of the most recent preferred calibration job. :access: READ :data type: DevString :data format: SCALAR .. index:: single: loggingFilter; MccsStation.loggingFilter .. py:attribute:: loggingFilter :module: MccsStation Return if the logging filter is used. :access: READ_WRITE :data type: DevBoolean :data format: SCALAR .. index:: single: loggingLevel; MccsStation.loggingLevel .. py:attribute:: loggingLevel :module: MccsStation 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; MccsStation.loggingTargets .. py:attribute:: loggingTargets :module: MccsStation 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: longRunningCommandIDsInQueue; MccsStation.longRunningCommandIDsInQueue .. py:attribute:: longRunningCommandIDsInQueue :module: MccsStation 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. **DEPRECATED**: A client can check for the queued command(s) in 'lrcQueue'. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 67 .. index:: single: longRunningCommandInProgress; MccsStation.longRunningCommandInProgress .. py:attribute:: longRunningCommandInProgress :module: MccsStation 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). **DEPRECATED**: A client can check for the command(s) in progress in 'lrcExecuting'. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 3 .. index:: single: longRunningCommandProgress; MccsStation.longRunningCommandProgress .. py:attribute:: longRunningCommandProgress :module: MccsStation 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. **DEPRECATED**: A client can check the progress of command(s) in 'lrcExecuting'. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 6 .. index:: single: longRunningCommandResult; MccsStation.longRunningCommandResult .. py:attribute:: longRunningCommandResult :module: MccsStation Read the result of the completed long running command. Reports unique ID and json-encoded result. Clients can subscribe to on change event and wait for the ID they are interested in. **DEPRECATED**: A client can check for the result of a command in 'lrcFinished'. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 2 .. index:: single: longRunningCommandStatus; MccsStation.longRunningCommandStatus .. py:attribute:: longRunningCommandStatus :module: MccsStation 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. **DEPRECATED**: A client can check for the status of a command in the 'lrcQueue', 'lrcExecuting' and 'lrcFinished' attributes. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 134 .. index:: single: longRunningCommandsInQueue; MccsStation.longRunningCommandsInQueue .. py:attribute:: longRunningCommandsInQueue :module: MccsStation 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. **DEPRECATED**: A client can check for the queued command(s) in 'lrcQueue'. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 67 .. index:: single: lrcExecuting; MccsStation.lrcExecuting .. py:attribute:: lrcExecuting :module: MccsStation A list of info JSON blobs of the currently executing commands. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 3 .. index:: single: lrcFinished; MccsStation.lrcFinished .. py:attribute:: lrcFinished :module: MccsStation A list of info JSON blobs of the finished long running commands. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 100 .. index:: single: lrcProtocolVersions; MccsStation.lrcProtocolVersions .. py:attribute:: lrcProtocolVersions :module: MccsStation Return supported protocol versions. :access: READ :data type: DevLong64 :data format: SPECTRUM :max_dim_x: 2 .. index:: single: lrcQueue; MccsStation.lrcQueue .. py:attribute:: lrcQueue :module: MccsStation A list of info JSON blobs of the commands in queue. :access: READ :data type: DevString :data format: SPECTRUM :max_dim_x: 32 .. index:: single: numberOfChannels; MccsStation.numberOfChannels .. py:attribute:: numberOfChannels :module: MccsStation Return the total number of channels in the beamformer. :access: READ :data type: DevLong :data format: SCALAR .. index:: single: obsMode; MccsStation.obsMode .. py:attribute:: obsMode :module: MccsStation The Observation Mode of the device. :access: READ :data type: DevEnum :data format: SCALAR .. index:: single: obsState; MccsStation.obsState .. py:attribute:: obsState :module: MccsStation The Observation State of the device. :access: READ :data type: DevEnum :data format: SCALAR .. index:: single: parentConnectionFailed; MccsStation.parentConnectionFailed .. py:attribute:: parentConnectionFailed :module: MccsStation Return whether the connection to the parent device is failing. :access: READ :data type: DevLong64 :data format: SCALAR .. index:: single: parentTRL; MccsStation.parentTRL .. py:attribute:: parentTRL :module: MccsStation Return the current parent TRL. :access: READ :data type: DevString :data format: SCALAR .. index:: single: pointingUpdateTimingHistory; MccsStation.pointingUpdateTimingHistory .. py:attribute:: pointingUpdateTimingHistory :module: MccsStation Return the pointing update timing history as JSON. Contains timing information for the last N pointing updates (configurable via write, default 10), including: - window_start: Start time of the update window - window_end: End time of the update window - cycle_start: When the calculate/load/apply cycle started - cycle_end: When the calculate/load/apply cycle finished - load_time: The time supplied to hardware for applying delays - time_into_window: Seconds into the window when cycle started - time_consumed: Seconds consumed by the update cycle Write an integer to this attribute to change the history size. :access: READ_WRITE :data type: DevString :data format: SCALAR .. index:: single: refHeight; MccsStation.refHeight .. py:attribute:: refHeight :module: MccsStation Return the refHeight attribute. :access: READ :data type: DevDouble :data format: SCALAR :unit: meters .. index:: single: refLatitude; MccsStation.refLatitude .. py:attribute:: refLatitude :module: MccsStation Return the refLatitude attribute. :access: READ :data type: DevDouble :data format: SCALAR .. index:: single: refLongitude; MccsStation.refLongitude .. py:attribute:: refLongitude :module: MccsStation Return the refLongitude attribute. :access: READ :data type: DevDouble :data format: SCALAR .. index:: single: scanId; MccsStation.scanId .. py:attribute:: scanId :module: MccsStation Return list of current ScanId for subarrays. Array is 0-based, subarrayId 0 does not exist and always has ID = 0) :access: READ :data type: DevLong64 :data format: SPECTRUM :max_dim_x: 17 .. index:: single: simulationMode; MccsStation.simulationMode .. py:attribute:: simulationMode :module: MccsStation When TRUE the device is using a simulator :access: READ_WRITE :data type: DevEnum :data format: SCALAR .. index:: single: staticDelays; MccsStation.staticDelays .. py:attribute:: staticDelays :module: MccsStation Report the static delays in use for this station. :access: READ :data type: DevFloat :data format: SPECTRUM :max_dim_x: 512 .. index:: single: stationID; MccsStation.stationID .. py:attribute:: stationID :module: MccsStation Return the station ID. :access: READ :data type: DevLong64 :data format: SCALAR .. index:: single: testMode; MccsStation.testMode .. py:attribute:: testMode :module: MccsStation If TEST the device is using testing logic :access: READ_WRITE :data type: DevEnum :data format: SCALAR .. index:: single: trackingStatus; MccsStation.trackingStatus .. py:attribute:: trackingStatus :module: MccsStation Return the tracking status of currently active PointingRequests. Beam IDs not listed have no active PointingRequest. :access: READ :data type: DevString :data format: SCALAR .. index:: single: transientBufferTrl; MccsStation.transientBufferTrl .. py:attribute:: transientBufferTrl :module: MccsStation Return the TRL of the TANGO device that managers the transient buffer. :access: READ :data type: DevString :data format: SCALAR .. index:: single: useNewHealthModel; MccsStation.useNewHealthModel .. py:attribute:: useNewHealthModel :module: MccsStation Return a flag indicating whether this station is using the new health model. :access: READ_WRITE :data type: DevBoolean :data format: SCALAR .. index:: single: versionId; MccsStation.versionId .. py:attribute:: versionId :module: MccsStation Read the Version Id of the device. :access: READ :data type: DevString :data format: SCALAR Commands -------- .. index:: single: Abort; MccsStation.Abort .. py:method:: Abort() -> DevVarLongStringArray :module: MccsStation Abort any executing long running command(s) and empty the queue. :returns: [ResultCode.STARTED][Command ID] .. index:: single: AbortCommands; MccsStation.AbortCommands .. py:method:: AbortCommands() -> DevVarLongStringArray :module: MccsStation Empty out long running commands in queue. **DEPRECATED**: A client should call the tracked 'Abort' long running command instead. :returns: [ResultCode.STARTED]['Aborting commands'] .. index:: single: AcquireDataForCalibration; MccsStation.AcquireDataForCalibration .. py:method:: AcquireDataForCalibration(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: The first channel to acquire data for :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: ApplyCalibration; MccsStation.ApplyCalibration .. py:method:: ApplyCalibration(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: load time, in ISO formatted time. If not set, defaults to `calibrationLoadDelay` seconds in the future. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: ApplyConfiguration; MccsStation.ApplyConfiguration .. py:method:: ApplyConfiguration(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: containing optional transaction_id, calibration_id, subarray_id. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: ApplyPointingDelays; MccsStation.ApplyPointingDelays .. py:method:: ApplyPointingDelays(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: switch time, in ISO formatted time. Default: now :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: BeamformerRunningForSubarray; MccsStation.BeamformerRunningForSubarray .. py:method:: BeamformerRunningForSubarray(DevLong) -> DevBoolean :module: MccsStation :parameter: subarray_id, in the range 1 to 16 :returns: True if the beamformer is running .. index:: single: CheckLongRunningCommandStatus; MccsStation.CheckLongRunningCommandStatus .. py:method:: CheckLongRunningCommandStatus(DevString) -> DevString :module: MccsStation Check the status of a long running command by ID. :returns: Status of the asynchronous task. .. index:: single: ConfigureChannels; MccsStation.ConfigureChannels .. py:method:: ConfigureChannels(DevVarLongArray) -> DevVarLongStringArray :module: MccsStation :parameter: list of channel block description. Elements are: - channel block index: value in range 0:47 for the channel block to set - start_channel - (int) region starting channel, even in range 0 to 510 - beam_index - (int) beam used for this region with range 0 to 47 - subarray_id - (int) Subarray: 0 is reserved for unallocated entry - subarray_logical_channel - (int) logical channel # in the subarray - subarray_beam_id - (int) ID of the subarray beam - substation_id - (int) Substation - aperture_id: ID of the aperture (station*100+substation?) :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: ConfigureSemiStatic; MccsStation.ConfigureSemiStatic .. py:method:: ConfigureSemiStatic(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: Configuration specification for the station device. :returns: The task to be submitted as an LRC. .. index:: single: ConfigureStationForCalibration; MccsStation.ConfigureStationForCalibration .. py:method:: ConfigureStationForCalibration(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: JSON-ified argument containing DAQ configuration overrides. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: DeallocateSubarray; MccsStation.DeallocateSubarray .. py:method:: DeallocateSubarray(DevLong) -> DevVarLongStringArray :module: MccsStation :parameter: the ID of the subarray to deallocate :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: DebugDevice; MccsStation.DebugDevice .. py:method:: DebugDevice() -> DevUShort :module: MccsStation Enable remote debugging of this device. :returns: The TCP port the debugger is listening on. .. index:: single: EndScan; MccsStation.EndScan .. py:method:: EndScan(DevLong) -> DevVarLongStringArray :module: MccsStation :parameter: the subarray for which the command applies :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: GetPointingDelays; MccsStation.GetPointingDelays .. py:method:: GetPointingDelays(DevString) -> DevVarDoubleArray :module: MccsStation :parameter: The type of pointing requested. :returns: The pointing delays as pairs of (delay, delay rate) in EEP order. .. index:: single: GetVersionInfo; MccsStation.GetVersionInfo .. py:method:: GetVersionInfo() -> DevVarStringArray :module: MccsStation Get the version information of the device. :returns: The device class name and its package information. .. index:: single: Init; MccsStation.Init .. py:method:: Init() -> DevVoid :module: MccsStation Reinitialise the Tango device. .. index:: single: Initialise; MccsStation.Initialise .. py:method:: Initialise() -> DevVarLongStringArray :module: MccsStation Initialise :returns: The task to be submitted as an LRC. .. index:: single: LoadBeamWeights; MccsStation.LoadBeamWeights .. py:method:: LoadBeamWeights(DevString) -> DevVoid :module: MccsStation :parameter: The ID of the hardware beam for which to load weights. .. index:: single: LoadCalibrationCoefficients; MccsStation.LoadCalibrationCoefficients .. py:method:: LoadCalibrationCoefficients(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: Unique identifier for calibration. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: LoadPointingDelays; MccsStation.LoadPointingDelays .. py:method:: LoadPointingDelays(DevVarDoubleArray) -> DevVarLongStringArray :module: MccsStation :parameter: an array containing a beam index followed by antenna delays in antenna EEP order. 1 + 256*2 = 513 elements. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: Off; MccsStation.Off .. py:method:: Off() -> DevVarLongStringArray :module: MccsStation Turn the device off. :returns: [ResultCode][Status message or command ID] .. index:: single: On; MccsStation.On .. py:method:: On() -> DevVarLongStringArray :module: MccsStation Turn the device on. :returns: [ResultCode][Status message or command ID] .. index:: single: Reset; MccsStation.Reset .. py:method:: Reset() -> DevVarLongStringArray :module: MccsStation Reset the device. :returns: [ResultCode][Status message or command ID] .. index:: single: ResetCspIngest; MccsStation.ResetCspIngest .. py:method:: ResetCspIngest() -> DevVarLongStringArray :module: MccsStation Reset csp ingest :returns: result code name of ResetCspIngest .. index:: single: ResetParentTRL; MccsStation.ResetParentTRL .. py:method:: ResetParentTRL() -> DevVarLongStringArray :module: MccsStation Reset parent t r l :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: Scan; MccsStation.Scan .. py:method:: Scan(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: The subarray for which the command applies :returns: The task to be submitted as an LRC. .. index:: single: SetCspIngest; MccsStation.SetCspIngest .. py:method:: SetCspIngest(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: json dictionary with optional keywords: - destination_ip - (string) Destination IP - source_port - (int) Source port for integrated data streams - destination_port - (int) Destination port for integrated data streams :returns: result code name of SetCspIngest .. index:: single: SetParentTRL; MccsStation.SetParentTRL .. py:method:: SetParentTRL(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: the TRL of the new parent device. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: Standby; MccsStation.Standby .. py:method:: Standby() -> DevVarLongStringArray :module: MccsStation Put the device into standby mode. :returns: [ResultCode][Status message or command ID] .. index:: single: StartAcquisition; MccsStation.StartAcquisition .. py:method:: StartAcquisition(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: optional keywords: - start_time - (ISO UTC time) start time - delay - (int) delay start if StartTime is not specified, default 2s :returns: The task to be submitted as a LRC. .. index:: single: StopTracking; MccsStation.StopTracking .. py:method:: StopTracking(DevLong) -> DevVarLongStringArray :module: MccsStation :parameter: the beam id whose tracking you wish to stop. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. .. index:: single: StopTrackingAll; MccsStation.StopTrackingAll .. py:method:: StopTrackingAll() -> DevVarLongStringArray :module: MccsStation Stop tracking all :returns: The task to be submitted as a LRC. .. index:: single: TrackObject; MccsStation.TrackObject .. py:method:: TrackObject(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: the type of pointing requested :returns: A tuple containing a return code and a string message. ResultCode.OK if tracking was successfully queued in the pointing manager, ResultCode.REJECTED otherwise. .. index:: single: TriggerAdcEqualisation; MccsStation.TriggerAdcEqualisation .. py:method:: TriggerAdcEqualisation(DevString) -> DevVarLongStringArray :module: MccsStation :parameter: the expected average power received by antennas in ADU units. Has an input minimum of 0, but in code its limited to 4.2e-7 (corresponds to the maxiumum output of 31.75 dB). There is no maximum value, however, 40 ADUs will result in 0 dB with no bias and 1600 ADUs will result in 0 dB with the maxiumum bias allowed of 32dB. :returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only.