]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
small fix in tdc.htm, new FPGA info in map
authorJan Michel <j.michel@gsi.de>
Fri, 26 Apr 2013 09:11:00 +0000 (11:11 +0200)
committerJan Michel <j.michel@gsi.de>
Fri, 26 Apr 2013 09:11:00 +0000 (11:11 +0200)
web/htdocs/network/map.htm
web/htdocs/tdc/tdc.htm

index e008882fc52adeaee15374a0680f3cb29a34fcee..9740ee921f43fc1fa2070662612c8c71f17961f5 100644 (file)
@@ -55,7 +55,7 @@ function update(data) {
     
     o += "<td title=\"0x"+(c[j][4]*1).toString(16)+"\">";
     if(type == 0x91) {
-      switch(c[j][4]>>12 & 0xF) {
+      switch(c[j][4]>>12 & 0x7) {
         case 0: o += "ADA v1"; break;
         case 1: o += "ADA v2"; break;
         case 2: o += "Multitest"; break;
@@ -68,6 +68,7 @@ function update(data) {
       o+= "---";
     o += "<td title=\"0x"+(c[j][4]*1).toString(16)+"\">";
     if(type == 0x91 || type == 0x92) {
+      if((c[j][4] & 0x8000) == 0x8000) o += "RX sync, ";
       if((c[j][4] & 0x0b00) == 0x000) {o += "TDC, single, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";}
       if((c[j][4] & 0x0900) == 0x100) {o += "TDC, double, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";}
       if((c[j][4] & 0x0900) == 0x800) {o += "TDC, dbl-sep, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";}
index 3811997c3a105534bf232badf7d51e0777f1c93b..2039ed428e0b4f7035172bd40455d7ba11c9a2ab 100644 (file)
@@ -145,6 +145,7 @@ function update(data) {
   oldvalues = c;
   document.getElementById("content").innerHTML  = o;
   settimers(0,-1);
+  delete isShown;
   }
   
 function setValues() {
@@ -257,6 +258,7 @@ function updateregs(data) {
     }
   document.getElementById("contentregs").innerHTML  = o;
   settimers(-1,0);
+  delete isShown;
   }