RECV TANGO Device
Module for providing the RECV.MGMT capability for the Pulsar Timing Sub-element.
- class ska_pst_lmc.receive.receive_device.PstReceive(*args: Any, **kwargs: Any)[source]
A software TANGO device for managing the RECV component of the PST.LMC system.
- init_device() None [source]
Initialise the attributes and properties of the PstReceive.
This overrides the
SKABaseDevice
.
- create_component_manager() PstReceiveComponentManager [source]
Create and return a component manager for this device.
- Returns
a component manager for this device.
- delete_device() None [source]
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.
- handle_monitor_data_update(monitor_data: ReceiveData) None [source]
Handle monitoring data.
- Parameters
monitor_data (ReceiveData) – the latest monitoring data that has been reported.
- dataReceiveRate() float
Get the current data receive rate from the CBF interface.
- Returns
current data receive rate from the CBF interface in Gb/s.
- Return type
- dataReceived() int
Get the total amount of data received from CBF interface for current scan.
- Returns
total amount of data received from CBF interface for current scan in Bytes
- Return type
- dataDropRate() float
Get the current rate of CBF ingest data being dropped or lost by the receiving proces.
- Returns
current rate of CBF ingest data being dropped or lost in B/s.
- Return type
- dataDropped() int
Get the total number of bytes dropped in the current scan.
- Returns
total number of bytes dropped in the current scan.
- Return type
- misorderedPackets() int
Get the total number of packets received out of order in the current scan.
- Returns
total number of packets received out of order in the current scan.
- Return type
- misorderedPacketRate() float
Get the current rate of misordered packets.
- Returns
the current rate of misordered packets in packets/seconds.
- Return type
- malformedPackets() int
Get the total number of packets marked as malformed for current scan.
- Returns
the total number of packets marked as malformed for current scan.
- Return type
- malformedPacketRate() float
Get current rate of malformed packets.
- Returns
current rate of malformed packets in packets/seconds.
- Return type
- misdirectedPackets() int
Get the total number of packets as marked as misdirected for current scan.
- Returns
the total number of packets as marked as misdirected for current scan.
- Return type
- misdirectedPacketRate() float
Get the current rate of misdirected packets.
- Returns
the current rate of misdirected packets in packets/seconds.
- Return type
- checksumFailurePackets() int
Get the total number of packets with checksum failures for current scan.
- Returns
the total number of packets with checksum failures for current scan.
- Return type
- checksumFailurePacketRate() float
Get the current rate of packets with checkesum failures.
- Returns
the current rate of packets with checkesum failures in packets/seconds.
- Return type
- timestampSyncErrorPackets() int
Get the total number of packets with a timestamp sync error for current scan.
- Returns
the total number of packets with a timestamp sync error for current scan.
- Return type
- timestampSyncErrorPacketRate() float
Get the current rate of packets with a timestamp sync error.
- Returns
the current rate of packets with a timestamp sync error in packets/seconds.
- Return type
- seqNumberSyncErrorPackets() int
Get the total number of packets with a seq num sync error in current scan.
- Returns
the total number of packets with a seq num sync error in current scan.
- Return type
- seqNumberSyncErrorPacketRate() float
Get the current rate of packets with a sequence number sync error.
- Returns
the current rate of packets with a sequence number sync error in packets/seconds.
- Return type
- dataReceiveIpAddress() str
Get the data receive IP address.
It is only valid to call this method when the TANGO device is turned on and communicating.
- subbandBeamConfiguration() str
Get current subband beam configuration.
Retrieves the current subband configuration that is calculated during the ConfigureBeam request. When RECV is deconfigured for beam then the response is an empty JSON object {}.
- Returns
current subband beam configuration.
- Return type