From: hadeshyp Date: Tue, 16 Oct 2012 13:24:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d6cdd1de296c037b5d504e01dcf456b82f7c791c;p=daqtools.git *** empty log message *** --- diff --git a/cts/htdocs/thresh/scripts.js b/cts/htdocs/thresh/scripts.js index 29b53a1..930d429 100644 --- a/cts/htdocs/thresh/scripts.js +++ b/cts/htdocs/thresh/scripts.js @@ -1,11 +1,15 @@ function getdata(command,callback) { + var xmlhttp = null; + var cb = null; xmlhttp=new XMLHttpRequest(); + cb = callback; + xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState == 4) { - if(callback) - callback(xmlhttp.responseText); + if(cb) + cb(xmlhttp.responseText); } } xmlhttp.open("GET",command,true); diff --git a/cts/htdocs/thresh/styles.css b/cts/htdocs/thresh/styles.css index fc212f6..db44aa0 100644 --- a/cts/htdocs/thresh/styles.css +++ b/cts/htdocs/thresh/styles.css @@ -3,20 +3,20 @@ body { } -table#content { +table#content, table#contentregs { border:1px solid #aaa; border-collapse:collapse; } -table#content td, table#content th { +table#content td, table#content th, table#contentregs td, table#contentregs th{ border:1px solid #aaa; width:100px; text-align:right; padding-right:15px; } -table#content { +table#content, table#contentregs { border:1px solid #aaa; } diff --git a/cts/htdocs/thresh/tdc.htm b/cts/htdocs/thresh/tdc.htm new file mode 100644 index 0000000..4ca61e5 --- /dev/null +++ b/cts/htdocs/thresh/tdc.htm @@ -0,0 +1,167 @@ + + + + + + +TDC Registers + + + + +

Hit Counters

+
+
Board +
# of Channels +
Update Interval (ms) +
Differences +
+
+
+ +
ChannelValue

 
+
RegisterValues
+ + + +