From: Jan Michel Date: Fri, 26 Apr 2013 09:11:00 +0000 (+0200) Subject: small fix in tdc.htm, new FPGA info in map X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=a24f0ef82c042bbf39f49ac74b84476acf10c89a;p=daqtools.git small fix in tdc.htm, new FPGA info in map --- diff --git a/web/htdocs/network/map.htm b/web/htdocs/network/map.htm index e008882..9740ee9 100644 --- a/web/htdocs/network/map.htm +++ b/web/htdocs/network/map.htm @@ -55,7 +55,7 @@ function update(data) { o += ""; 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 += ""; 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, ";} diff --git a/web/htdocs/tdc/tdc.htm b/web/htdocs/tdc/tdc.htm index 3811997..2039ed4 100644 --- a/web/htdocs/tdc/tdc.htm +++ b/web/htdocs/tdc/tdc.htm @@ -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; }