From: Hades DAQ Date: Mon, 24 Jan 2022 20:16:40 +0000 (+0100) Subject: added mV in display for threshold of Padiwa, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c46f6f8f6df529360d4f682a9d19775d8e4f672d;p=daqtools.git added mV in display for threshold of Padiwa, mt --- diff --git a/web/htdocs/padiwa/padiwa.htm b/web/htdocs/padiwa/padiwa.htm index db5b75c..4053ff4 100644 --- a/web/htdocs/padiwa/padiwa.htm +++ b/web/htdocs/padiwa/padiwa.htm @@ -100,9 +100,10 @@ function update(data) { } else { col = findcolor((val&0xffff),0x6500,0x9000,0); - val =((val&0xffff).toString(16)); + valhex = ((val&0xffff).toString(16)); + valmV = ((val&0xffff)*50.35E-3).toString(10).slice(0,7); } - o += ""+val+"
"; + o += ""+valhex+" "+valmV+"mV"+"
"; } } }