From: Jan Michel Date: Mon, 8 Jun 2020 11:19:53 +0000 (+0200) Subject: update registers & GUI for TRB3 trigger generation settings X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=5fb42542dcddef9c2bcbd02f7107c00a5d3e8700;p=daqtools.git update registers & GUI for TRB3 trigger generation settings --- diff --git a/web/htdocs/network/trigger.pl b/web/htdocs/network/trigger.pl index 994620d..a2fd562 100755 --- a/web/htdocs/network/trigger.pl +++ b/web/htdocs/network/trigger.pl @@ -175,6 +175,7 @@ sub makemasterbits { $o .= "".(($d->{0} & (1<<($i*4+$s)))?'➊':'◻')." "; $o .= "".(($d->{4} & (1<<($i*4+$s)))?'➋':'◻')."
"; $o .= "".(($d->{8} & (1<<($i*4+$s)))?'➌':'◻')." "; + $o .= "".(($d->{12} & (1<<($i*4+$s)))?'➍':'◻')." "; $o .= "".(($d->{0x33} & (1<<($i*4+$s)))?'◼':'◻')."
"; } return $o; @@ -278,15 +279,19 @@ sub gettable { $out .= sprintf("0x%4x",$b); if ($data->{$boards->[0]}{0x33} != 0) { $out .= "mult >=".(($data->{$boards->[0]}{0x32} >> 16)&0xFF)." "; - $out .= "".(($data->{$b}{0x34} & (1 << 8))?'◼':'◻')." "; - $out .= "".(($data->{$b}{0x34} & (9 << 9))?'◼':'◻')." "; -# $out .= sprintf("on outputs %04b",($data->{$b}{0x34} >> 8)); + $out .= "".(($data->{$b}{0x34} & (1 << 8))?'➊':'◻')." "; + $out .= "".(($data->{$b}{0x34} & (1 << 9))?'➋':'◻')." "; + $out .= "".(($data->{$b}{0x34} & (1 << 10))?'➌':'◻')." "; + $out .= "".(($data->{$b}{0x34} & (1 << 11))?'➍':'◻')." "; + # $out .= sprintf("on outputs %04b",($data->{$b}{0x34} >> 8)); } $out .= ""; - $out .= qq#
Redselected in 'or' for output 1 on central FPGA (TRG3) -
Blueselected in 'or' for output 2 on central FPGA (CLK3) -
Orangeselected in 'or' for output 3 central FPGA (CLK4) + $out .= qq# +
Redselected in 'or' for output 1 on central FPGA (TRG3) +
Blueselected in 'or' for output 2 on central FPGA (TRG4) +
Orangeselected in 'or' for output 3 on central FPGA (CLK3) +
Purpleselected in 'or' for output 4 central FPGA (CLK4)
Greenselected for multiplicity logic
BlackEnabled in 'or'
GenericThe generic tab only works for TRB3 central and TRB3sc crate master FPGA! @@ -361,7 +366,13 @@ else { $page->{getscript} = "trigger.pl"; my @setup; - + +push(@setup,({name => "Generic", + cmd => "getmap-0x8000", + period => -1, + address => 1, + norate => 1, + nocache => 1,})); push(@setup,({name => "EC0", cmd => "getmap-0x8a00", period => -1, @@ -404,12 +415,7 @@ push(@setup,({name => "Start", noaddress => 1, norate => 1, nocache => 1,})); -push(@setup,({name => "Generic", - cmd => "getmap-0x8000", - period => -1, - address => 1, - norate => 1, - nocache => 1,})); + xmlpage::initPage(\@setup,$page); } diff --git a/xml-db/database/InputMonitorTrb3sc.xml b/xml-db/database/InputMonitorTrb3sc.xml index d1ad12b..b773793 100644 --- a/xml-db/database/InputMonitorTrb3sc.xml +++ b/xml-db/database/InputMonitorTrb3sc.xml @@ -180,7 +180,10 @@ output #slice Select inputs 63-32 for multiplicity logic - + + If available, adds this amount of length to each input signal. Used for coincidence and multiplicity + + Coincidence Logic