From db7a60ee80cb85e65fd9e83e994b5cbc3e183604 Mon Sep 17 00:00:00 2001 From: Theo Yu Date: Fri, 21 Aug 2026 00:37:48 +0200 Subject: [PATCH] fix integ test to not produce adc pattern on CRT frames --- integtest/readout_type_scan_test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/integtest/readout_type_scan_test.py b/integtest/readout_type_scan_test.py index 307c0e8..f981480 100644 --- a/integtest/readout_type_scan_test.py +++ b/integtest/readout_type_scan_test.py @@ -308,6 +308,17 @@ utility_functions.set_rtcm_trigger_params(grenoble_crt_conf, readout_window_before_ticks=8000, readout_window_after_ticks=10) +# CRT frames carry 32 channels, but the emulator pattern generator draws channel +# numbers in 0-63. Disable the pattern generator for CRT readout. +for crt_conf in (bern_crt_conf, grenoble_crt_conf): + crt_conf.config_substitutions.append( + data_classes.attribute_substitution( + obj_class="StreamEmulationParameters", + obj_id="stream-emu", + updates={"generate_periodic_adc_pattern": 0}, + ) + ) + confgen_arguments = { "WIBEth_System": wibeth_conf, "WIBEth_TPG_System": wib_tpg_conf,