]> jspc29.x-matter.uni-frankfurt.de Git - hades_mdc_settings.git/commitdiff
add board serial to baseline script error output
authorJan Michel <michel@physik.uni-frankfurt.de>
Wed, 3 Apr 2024 11:42:47 +0000 (13:42 +0200)
committerJan Michel <michel@physik.uni-frankfurt.de>
Wed, 3 Apr 2024 11:45:54 +0000 (13:45 +0200)
scripts/generate_pasttrec_settings.pl
scripts/trbflash.log [deleted file]

index e98d51ec9cd99c027a11d2a3334138a79800fe5f..a6dae9d8063306333a3541148f481e96bcf7dc08 100755 (executable)
@@ -85,7 +85,7 @@ foreach my $uid (keys %$boards) {
 ###############################################################################
 foreach my $a (keys %$addresses) {
   if(!defined $baselines->{$addresses->{$a}}) {
-    printf("Baselines for FPGA %04x not found.\n",$a);
+    printf("Baselines for FPGA %04x, serial %i not found.\n",$a,$addresses->{$a});
     }
   else {
     printf("board %04x found.\n",$a) if $DEBUG;
@@ -94,7 +94,7 @@ foreach my $a (keys %$addresses) {
         $settings->{$a}[$pt*16+$i] = $default_settings[$i];
         }
       if(!defined $baselines->{$addresses->{$a}}{$pt}) {
-        printf("Baseline for FPGA %04x, PT %i not found.\n",$a,$pt);
+        printf("Baseline for FPGA %04x, serial %i, PT %i not found.\n",$a,$addresses->{$a},$pt);
         }
       else{  
         foreach my $i (0..7) {                                     #replace baselines
diff --git a/scripts/trbflash.log b/scripts/trbflash.log
deleted file mode 100644 (file)
index 0b446fb..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
------------- Thu Sep 28 15:30:53 2023 ----------------------------------
-