Channelizer Test
Purpose
This test verifies the operation of the channelizer firmware by generating a tone corresponding to the centre frequency of a given course frequency channel. This should result in a single course channel with a high power reading and the rest with low. This is repeated for the specified range of channels, by default this is channel 100-108. The software requests the LMC data type “channelised data“, and captures this using the DAQ receiver. A reference power is retrieved from a dictionary and compared to the actual power in the desired channel. A reference phase is also calculated and compared. If any channel other than the intended channel has a power above 0.2dB, the test reports a failure.
NOTE: This test only operates on the first TPM in a station.
NOTE: For data acquisition to function correctly, the network interfaces on the TPM must be working, as well as the link to the LMC destination. The LMC destination must be configured to route traffic to the server running the tests. For all tests the simplest option is for the CSP and LMC destinations to be the same network interface, routing all traffic to the server running the tests.
Methodology
DAQ receiver is configured and initialised with the required UDP port and network interface.
The frequency for the internal tone generator is calculated and applied, based on the channel being considered. A random delay is generated and applied to determine the expected phase.
An LMC snapshot of channelised data is requested from the TPM
The reference power is retrieved from a dictionary
For each antenna, channel and polarisation, the power and phase is evaluated against the expected.
If no other channels have high power, and the intended channel has the correct power and phase, then the test proceeds to the next channel and starts again.