From: hadeshyp Date: Wed, 28 Nov 2012 18:11:37 +0000 (+0000) Subject: first padiwa GUI X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=10f75a58f2c2c20b0831935e714f6738c3b7af96;p=daqtools.git first padiwa GUI --- diff --git a/cts/htdocs/thresh/padiwa.htm b/cts/htdocs/thresh/padiwa.htm index 2c21127..e311309 100644 --- a/cts/htdocs/thresh/padiwa.htm +++ b/cts/htdocs/thresh/padiwa.htm @@ -59,9 +59,9 @@ function update(data) { for(j=0;j 250) val = "---"; + if(val <= 0 || val > 100 || (c[j][i])&0xf000) val = "---"; else val = val.toFixed(1) - o += ""+(val); + o += ""+(val); } else if(option == "id") { val = c[j][(i-1)*4+4]+c[j][(i-1)*4+3]+c[j][(i-1)*4+2]+c[j][(i-1)*4+1];