DAQ (Data Acquisition) Test
Purpose
This test verifies the transmission and acquisition of the following TPM data products: raw data, raw data synchronised, burst channelized data, tile beam data, integrated channel data and integrated tile beam data. In each case, pattern generators within the firmware are used to generate deterministic data. In each case the software requests the LMC data type, and captures this using the DAQ receiver.
NOTE: This test operates on all TPMs in a station individually. 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.
Start JESD test pattern generator
An LMC snapshot of raw voltage data is requested from the TPM
The captured data is received over 40GbE and compared to the expected pattern
The same JESD test pattern generator is started again
An LMC snapshot of synchronised raw voltage data is requested from the TPM
The captured data is received over 40GbE and compared to the expected pattern
Start channel test pattern generator
An LMC snapshot of channelised data is requested from the TPM
The captured data is received over 40GbE and compared to the expected pattern
Start tile beam test pattern generator
An LMC snapshot of tile beam data is requested from the TPM
The captured data is received over 40GbE and compared to the expected pattern
Check if the firmware has integrated data broadcast enabled, if not the remainder of the test will be skipped.
Start channel and tile beam test pattern generators
The captured integrated channel data is received over 40GbE and compared to the expected result using an offline integrator
The captured integrated tile beam data is received over 40GbE and compared to the expected result using an offline integrator