From 0070e0ceb39ee75637ccb1a72ff837191ebb7f43 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 6 Jan 2023 12:45:27 +0100 Subject: [PATCH] add busy signal to CTS output multiplexers --- web/CtsPlugins/CtsMod13.pm | 5 +++++ web/CtsPlugins/CtsMod40.pm | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/web/CtsPlugins/CtsMod13.pm b/web/CtsPlugins/CtsMod13.pm index a922033..1a897de 100755 --- a/web/CtsPlugins/CtsMod13.pm +++ b/web/CtsPlugins/CtsMod13.pm @@ -51,6 +51,11 @@ sub init { $enum->{$j} = "sysclk"; $j++; + if ($cprop->{'trb_compiletime'} > 1671100000) { + $enum->{$j} = "busy"; + $j++; + } + # registers my @mux_names = (); for(my $i = 0; $i < $header->{'len'}; $i++) { diff --git a/web/CtsPlugins/CtsMod40.pm b/web/CtsPlugins/CtsMod40.pm index 006e651..c7e0ede 100755 --- a/web/CtsPlugins/CtsMod40.pm +++ b/web/CtsPlugins/CtsMod40.pm @@ -38,9 +38,9 @@ sub init { 0x7 => '0x7', 0x8 => '0x8', - 0x9 => '0x9_mdc_calibration_trigger', - 0xa => '0xa_shower_calibration_trigger', - 0xb => '0xb_shower_pedestal_trigger', + 0x9 => '0x9', + 0xa => '0xa', + 0xb => '0xb', 0xc => '0xc', 0xd => '0xd_tdc_calibration_trigger', 0xe => '0xe_status_information_trigger', -- 2.43.0