]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Wed, 28 Nov 2012 19:15:45 +0000 (19:15 +0000)
committerhadeshyp <hadeshyp>
Wed, 28 Nov 2012 19:15:45 +0000 (19:15 +0000)
cts/htdocs/thresh/padiwa.htm

index b64ffa191c8b91ad506f2e037e75e27012513a3e..1908e61fa92d5608462d1bda16eede672c2a2fc9 100644 (file)
@@ -72,8 +72,9 @@ function update(data) {
         o += "<td>";
         for(k=1;k<=16;k++) {
           val = c[j][(i-1)*16+k];
-//           if(c[j][(i-1)*16+k]&0x7ff80000 != 0) val = "---";
-          o += "<span class=\"fixed\" style=\"background:"+findcolor(val,0,65536,0)+"\">"+((val*1).toString(16))+"</span><br>";
+          if(c[j][(i-1)*16+k]&0x7ff80000 != Math.floor(k/2)<<20) val = "---";
+          else val =((val&0xffff*1).toString(16));
+          o += "<span class=\"fixed\" style=\"background:"+findcolor(val,0,65536,0)+"\">"+val+"</span><br>";
           }
         }
       }