From: Cahit Ugur Date: Fri, 25 Jul 2014 09:30:19 +0000 (+0200) Subject: warnings for the data limit X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=53a7e18bc941247f932f97344be030c427743cf7;p=daqtools.git warnings for the data limit --- diff --git a/web/htdocs/tdc/tdc.htm b/web/htdocs/tdc/tdc.htm index 09779f3..96776d0 100644 --- a/web/htdocs/tdc/tdc.htm +++ b/web/htdocs/tdc/tdc.htm @@ -275,9 +275,9 @@ function updatestatregs(data) { if((val>>16 & 1)) o += ""; if((val>>16 & 1)) - o += "polarity wrong"; + o += " polarity wrong "; else - o += "polarity correct"; + o += " polarity correct "; if((val>>16 & 1)) o += ""; } @@ -344,9 +344,15 @@ function updatectrlregs(data) { if(i==3) enableGroup[j][1] = val*1.; } else if(i==4) { - o += ""; - } - else { + if((val&0xFF)==0x80) + o += (val&0xFF); + else{ + o += (val&0xFF); + + o += "
Sure about this?
"; + } + } + else { o += val; } }