CspMaster Class Documentation

class csp_lmc_mid.MidCspMasterBase.MidCspMasterBase(*args: Any, **kwargs: Any)

Bases: ska.base.

The base class for MID CspMAster. Fuctionality to monitor CSP.LMC Capabilities are implemented in separate TANGO Devices.

Properties:

  • Device Property
    VCCsMonitor
    • TANGO Device to monitor the Mid.CSP VCCs Capabilities

devices.
  • Type:’DevString’

FSPsMonitor
  • TANGO Device to monitor the Mid.CSP FSPs Capabilities

devices.
  • Type:’DevString’

VCCsMonitor

TANGO property

FSPsMonitor

TANGO property

availableCapabilities

Class attribute

The list of available instances of each capability type.

Note

This attribute is defined in SKAMaster Class from which CspMaster class inherits. To override the attribute read method, the availableCapabilities attribute is added again (“overload” button enabled in POGO).

receptorMembership

The receptors affiliation to MID CSP sub-arrays.

unassignedReceptorIDs

The list of available receptors IDs.

vccCapabilitiesAddresses

The list of VCC Capabilities FQDNs

fspCapabilitiesAddresses

The list of FSP Capabilites FQDNs

reportSearchBeamState

TANGO attribute

reportSearchBeamHealthState

TANGO attribute

reportSearchBeamObsState

TANGO attribute

reportSearchBeamAdminMode

TANGO attribute

reportTimingBeamState

TANGO attribute

reportTimingBeamHealthState

TANGO attribute

reportTimingBeamObsState

TANGO attribute

reportTimingBeamAdminMode

TANGO attribute

reportVlbiBeamState

TANGO attribute

reportVlbiBeamHealthState

TANGO attribute

reportVlbiBeamObsState

TANGO attribute

reportVlbiBeamAdminMode

TANGO attribute

unassignedVlbiBeamIDs

TANGO attribute

unassignedTimingBeamIDs

TANGO attribute

unassignedSearchBeamIDs

TANGO attribute

numOfUnassignedVlbiBeams

TANGO attribute

numOfUnassignedTimingBeams

TANGO attribute

numOfUnassignedSearchBeams

TANGO attribute

numOfReservedSearchBeams

TANGO attribute

searchBeamMembership

TANGO attribute

timingBeamMembership

TANGO attribute

vlbiBeamMembership

TANGO attribute

reportVCCState

TANGO attribute

reportVCCHealthState

TANGO attribute

reportVCCAdminMode

TANGO attribute

reportFSPState

TANGO attribute

reportFSPHealthState

TANGO attribute

reportFSPAdminMode

TANGO attribute

vccMembership

TANGO attribute

init_device()

Initialises the attributes and properties of the MidCspMasterBase.

always_executed_hook()

Method always executed before any TANGO command is executed.

delete_device()

Hook to delete resources allocated in init_device.

This method allows for any memory or other resources allocated in the init_device method to be released. This method is called by the device destructor and by the device Init command.

read_availableCapabilities()

Override read attribute method.

Returns

A list of strings with the number of available resources for each capability/resource type.

Example

[“VCC:95”, “SearchBeam:1000”, “TimingBeam:16”, “VlbiBeam:20”]

Raises

tango.DevFailed

read_receptorMembership()

Class attribute method.

Returns

The subarray affiliation of the receptors.

read_unassignedReceptorIDs()

Class attribute method.

Returns

The list of the available receptors IDs. The list includes all the receptors that are not assigned to any subarray and, from the side of CSP, are considered “full working”. This means:

  • a valid link connection receptor-VCC

  • the connected VCC healthState OK

Type: array of DevUShort

Raises

tango.DevFailed – if there is no DeviceProxy providing interface to the CBF sub-element Master Device or an error is caught during command execution.

read_vccCapabilitiesAddresses()

Return the vccCapabilitiesAddresses attribute.

read_fspCapabilitiesAddresses()

Return the fspCapabilitiesAddresses attribute.