From: Jan Michel Date: Fri, 26 Jan 2018 10:52:24 +0000 (+0100) Subject: add new register set for new Padiwa designs X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=b5eb4a860ea23c263447f2bfb4eb330f1105b962;p=daqtools.git add new register set for new Padiwa designs --- diff --git a/web/htdocs/thresh/threshold.htm b/web/htdocs/thresh/threshold.htm index d463043..4b1b4c8 100644 --- a/web/htdocs/thresh/threshold.htm +++ b/web/htdocs/thresh/threshold.htm @@ -15,7 +15,7 @@ Board DAC-Chain Channel -Board Type +Board Type Update Interval (ms) Reference (mV) DiRich2 Flash: @@ -85,6 +85,10 @@ function update(bar,scale) { command = (0x8 << 20) + ((chan%16+16) << 24) + (total); command = command.toString(16); } + else if(type == 9) { + command = (0x8 << 20) + ((chan%16) << 24) + (total); + command = command.toString(16); + } else { command = (type << 20) + (chan << 16) + (total); command = command.toString(16); @@ -180,6 +184,11 @@ function setValues() { document.getElementById("timeget").style.background = "#a55"; getdata(cmdstring,anaret2); } + else if(type == 9) { + cmdstring = "../commands/spiexec.pl?"+board+"-d400-"+((((chan%16) << 24)).toString(16))+"-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-"+(1<