From: hadeshyp Date: Fri, 30 Nov 2012 16:56:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0b74669d781b58ef97e3b6456d8a33e300a17b1a;p=daqtools.git *** empty log message *** --- diff --git a/cts/htdocs/thresh/tdc.htm b/cts/htdocs/thresh/tdc.htm index f6ad950..239c5b5 100644 --- a/cts/htdocs/thresh/tdc.htm +++ b/cts/htdocs/thresh/tdc.htm @@ -174,7 +174,12 @@ function updateregs(data) { o += ((val>>20)/16).toFixed(1); } else if(i==1) { - o += (val&0xFF).toString(16)+"
"+((val&0xff00)>>8)+"
"+(val>>16 & 1); + o += (val&0xFF).toString(16)+"
"+((val&0xff00)>>8)+"
"; + if((val>>16 & 1)) + o += ""; + o += (val>>16 & 1); + if((val>>16 & 1)) + o += ""; } else if(i==2) { o += (val&0x7FF)+"
"+((val&0x7ff0000)>>16);