From 9ec134ca768da60a4323e52af12fc7e204ba8ce8 Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Tue, 16 Oct 2012 09:41:49 +0000 Subject: [PATCH] *** empty log message *** --- cts/htdocs/thresh/getmultreg.pl | 34 +++++++++ cts/htdocs/thresh/tdcregs.htm | 119 ++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+) create mode 100755 cts/htdocs/thresh/getmultreg.pl create mode 100644 cts/htdocs/thresh/tdcregs.htm diff --git a/cts/htdocs/thresh/getmultreg.pl b/cts/htdocs/thresh/getmultreg.pl new file mode 100755 index 0000000..3261120 --- /dev/null +++ b/cts/htdocs/thresh/getmultreg.pl @@ -0,0 +1,34 @@ +&htsponse(200, "OK"); +print "Content-type: text/html\r\n\r\n"; + + + +use HADES::TrbNet; +use Data::Dumper; + + if (!defined &trb_init_ports()) { + die("can not connect to trbnet-daemon on the $ENV{'DAQOPSERVER'}"); + } + +my ($board,@addr) = split('-',$ENV{'QUERY_STRING'}); + +$board = hex($board); + + +my @hits; + +for(my $i=0;$i{$b}); + } + print "&"; + } + + +exit 1; \ No newline at end of file diff --git a/cts/htdocs/thresh/tdcregs.htm b/cts/htdocs/thresh/tdcregs.htm new file mode 100644 index 0000000..82ccace --- /dev/null +++ b/cts/htdocs/thresh/tdcregs.htm @@ -0,0 +1,119 @@ + + + + + + + +TDC Registers + + + +

TDC Status Registers

+
+
Board +
Update Interval (ms) +
+
+
+ +
RegisterValues
+ + + -- 2.43.0