From: hadeshyp Date: Wed, 28 Nov 2012 19:15:45 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=29c133db9643c959f0c9b9df67eaa86669af74cf;p=daqtools.git *** empty log message *** --- diff --git a/cts/htdocs/thresh/padiwa.htm b/cts/htdocs/thresh/padiwa.htm index b64ffa1..1908e61 100644 --- a/cts/htdocs/thresh/padiwa.htm +++ b/cts/htdocs/thresh/padiwa.htm @@ -72,8 +72,9 @@ function update(data) { o += ""; for(k=1;k<=16;k++) { val = c[j][(i-1)*16+k]; -// if(c[j][(i-1)*16+k]&0x7ff80000 != 0) val = "---"; - o += ""+((val*1).toString(16))+"
"; + if(c[j][(i-1)*16+k]&0x7ff80000 != Math.floor(k/2)<<20) val = "---"; + else val =((val&0xffff*1).toString(16)); + o += ""+val+"
"; } } }