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

index 4206ebac252942a951725941ac659cadcf9ffd38..b64ffa191c8b91ad506f2e037e75e27012513a3e 100644 (file)
@@ -71,9 +71,9 @@ function update(data) {
       else if(option == "thresh") {
         o += "<td>";
         for(k=1;k<=16;k++) {
-          val = c[j][(i-1)*16+k] & 0xffff;
-          if(c[j][(i-1)*16+k]&0x7ff80000 != 0) val = "---";
-          o += "<span class=\"fixed\" style=\"background:"+findcolor(val,0,65536,0)+"\">"+(val.toString(16))+"</span><br>";
+          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>";
           }
         }
       }