]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
added MVD information to network map
authorJan Michel <j.michel@gsi.de>
Mon, 22 Dec 2014 16:43:11 +0000 (17:43 +0100)
committerJan Michel <j.michel@gsi.de>
Mon, 22 Dec 2014 16:43:11 +0000 (17:43 +0100)
web/htdocs/network/map.pl

index 0a8ac78af2799ca571503f7f109f048ba8a0a31c..9278f5545ef9af77ac1e9ee196fc59927e6857a6 100755 (executable)
@@ -159,6 +159,13 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) {
           $feat .= GetTDCInfo($addr,$inclLow->{$addr},1);
           }
         }
+      if($table == 3) {
+        $feat .= sprintf("%i sensors in %i chains",$inclLow->{$addr} & 0xff,$inclLow->{$addr}>>8 & 0xf);
+        $feat .= ", normal readout"    if ($inclLow->{$addr}>>16 & 0x3) == 0;
+        $feat .= ", testmode"          if ($inclLow->{$addr}>>16 & 0x3) == 1;
+        $feat .= ", testmode optional" if ($inclLow->{$addr}>>16 & 0x3) == 2;
+        $feat .= ", for M26"           if ($inclLow->{$addr}>>20 & 0xf) == 0;
+        }
       if($table == 4) {
         $feat .= sprintf("Channels: %i",               $inclLow->{$addr}>>16 & 0x000000ff);
         $feat .= sprintf(", Sampling Frequency %i MHz",$inclLow->{$addr}>>0  & 0x000000ff);
@@ -169,7 +176,7 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) {
         $feat .= ", baseline determination"        if ($inclLow->{$addr}&0x4000);
         $feat .= ", trigger generation"            if ($inclLow->{$addr}&0x8000);
         }
-      if($table == 1 || $table == 2 || $table == 4) {
+      if($table == 1 || $table == 2 || $table ==3 || $table == 4) {
         if ($inclHigh->{$addr} & 0x200) { $feat .= "\nReference Time: through Clock Manager";}
         if ($inclHigh->{$addr} & 0x400) { $feat .= "\nSPI";}
         if ($inclHigh->{$addr} & 0x800) { $feat .= "\nUART";}