From: Jan Michel Date: Thu, 26 Jun 2014 14:34:59 +0000 (+0200) Subject: added more registers to xml-db for trigger X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=ecc99d75774b3558ee8ff0d191016ae252a44c24;p=daqtools.git added more registers to xml-db for trigger --- diff --git a/web/htdocs/network/map.pl b/web/htdocs/network/map.pl index e4a740c..882522d 100755 --- a/web/htdocs/network/map.pl +++ b/web/htdocs/network/map.pl @@ -166,9 +166,14 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) { $feat .= ", single Fifo" if $d->{$addr}&0x1000; $feat .= ", indiv. Fifos" unless $d->{$addr}&0x1000; } - for($inclHigh->{$addr}>>16&0xF) { - when(1) {$feat .="\nTrigger Module: simple or";} - when(2) {$feat .="\nTrigger Module: edge detect";} + + if(($inclHigh->{$addr}>>16&0xF) == 1 || ($inclHigh->{$addr}>>16&0xF) == 2) { + for($inclHigh->{$addr}>>16&0xF) { + when(1) {$feat .="\nTrigger Module: simple or";} + when(2) {$feat .="\nTrigger Module: edge detect";} + } + my $d = trb_register_read($addr,0xcf27); + $feat .= sprintf(", %i inputs, %i outputs",($d->{$addr}&0x3F),($d->{$addr}>>8&0xF)); } for($inclHigh->{$addr}>>20&0xF) { when(0) {$feat .="\nClock: on-board 200 MHz";} diff --git a/xml-db/database/InputMonitor.xml b/xml-db/database/InputMonitor.xml index ddd1b81..b13357b 100644 --- a/xml-db/database/InputMonitor.xml +++ b/xml-db/database/InputMonitor.xml @@ -112,9 +112,24 @@ Inverts individual inputs for trigger generation. + + Enable input to be used in coincidence logic. First group of signals or'ed. At least one of the inputs to each group must fire within 40 ns to get a coincidence. + + + + Enable input to be used in coincidence logic. Second group of signals or'ed. At least one of the inputs to each group must fire within 40 ns to get a coincidence. + + + + Information about configuration. + + Number of inputs to the trigger logic + + + Number of outputs of the trigger logic + + - -