sub set_window()
{
if( $opt_mode eq "mon" ){
- print "/home/hadaq/trbsoft/hadesdaq/control/ctsmon/mon_cts.pl -m set -e $opt_etrax -a
-$opt_access 2>/dev/null </dev/null &\n";
+ print "/home/hadaq/trbsoft/hadesdaq/control/ctsmon/mon_cts.pl -m set -e $opt_etrax -a $opt_access 2>/dev/null </dev/null &\n";
system("bash -c \"/home/hadaq/trbsoft/hadesdaq/control/ctsmon/mon_cts.pl -m set -e $opt_etrax -a $opt_access 2>/dev/null >/dev/null 1</dev/null 2</dev/null &\"");
}
elsif( $opt_mode eq "set" ){
$plot2->{ymin} = 6.5;
$plot2->{ymax} = 0.5;
$plot2->{showvalues} = 1;
+$plot2->{xlabel} = "column";
+$plot2->{ylabel} = "row";
+
HPlot::PlotInit($plot2);
}
}
+
for my $x (0..5) {
for my $y (0..5) {
- HPlot::PlotFill('DiamondRate',$diff->{$fpga->[$y]->[$x]+0x5000}->[$chan->[$y]->[$x]],6-$y,6-$x);
+ HPlot::PlotFill('DiamondRate',$diff->{$fpga->[$y]->[$x]+0x5000}->[$chan->[$y]->[$x]],$x+1,$y+1);
}
}
HPlot::PlotDraw('DiamondRate');
#Pion
0x8900,0x3800,0x3801,
#Start TRB3
- 0x8880,0x5000,0x5001,0x5002,0x5003
+ 0x8880,0x5000,0x5002,0x5003,
+ #Hodo TRB3
+ 0x8890,0x5010,0x5013
);
###strip the register value
--- /dev/null
+#!/usr/bin/perl -w
+
+use warnings;
+use strict;
+use Data::Dumper;
+use Data::TreeDumper;
+use Hmon;
+use QA;
+use HADES::TrbNet;
+use HPlot;
+use Time::HiRes qw(usleep time);
+use List::Util qw[min max];
+
+
+my $plot2 = ();
+$plot2->{name} = "HodoRate";
+$plot2->{file} = "files/HodoRate";
+$plot2->{curves} = 1;
+$plot2->{entries} = 2;
+$plot2->{curves} = 16;
+$plot2->{type} = HPlot::TYPE_HEATMAP;
+$plot2->{output} = HPlot::OUT_PNG;
+$plot2->{zlabel} = "Hitrate";
+$plot2->{sizex} = 580;
+$plot2->{sizey} = 465;
+$plot2->{nokey} = 1;
+$plot2->{buffer} = 1;
+$plot2->{xmin} = -0.5;
+$plot2->{xmax} = 1.5;
+$plot2->{ymin} = 15.5;
+$plot2->{ymax} = -0.5;
+$plot2->{showvalues} = 1;
+
+HPlot::PlotInit($plot2);
+
+
+my $str = Hmon::MakeTitle(9, 10, "Hodoscope Hit Rate");
+$str .= qq@<img src="%ADDPNG files/HodoRate.png%" type="image/png"><br>\n@;
+$str .= Hmon::MakeFooter();
+Hmon::WriteFile("HodoRate",$str);
+
+
+my $old;
+my $oldtime = time();
+my $time = time();
+my $diff;
+my $iter = 0;
+
+trb_init_ports() or die trb_strerror();
+
+
+while (1) {
+ my $o;
+ foreach my $b (0x5010,0x5013) {
+ my $t = trb_register_read_mem($b,0xc000,0,33);
+ $o->{$b} = $t->{$b};
+ }
+
+ if (defined $old) {
+ foreach my $b (keys %$o) {
+ for my $v (0..32) {
+ my $tdiff = time() - $oldtime;
+ my $vdiff = ($o->{$b}->[$v]&0xffffff) - ($old->{$b}->[$v]&0xffffff);
+ if ($vdiff < 0) { $vdiff += 2**24;}
+ $diff->{$b}->[$v] = $vdiff/($tdiff|1);
+ }
+ }
+
+ for my $bar (0..7) {
+ for my $x (0..1) {
+ HPlot::PlotFill('HodoRate',$diff->{0x5010}->[$bar*2+1+$x*16],$x,$bar);
+ HPlot::PlotFill('HodoRate',$diff->{0x5013}->[$bar*2+1+$x*16],$x,$bar+8);
+ }
+ }
+ HPlot::PlotDraw('HodoRate');
+ }
+
+ $old = $o;
+ $oldtime = time();
+ sleep(1);
+ }
--- /dev/null
+#!/usr/bin/perl -w
+
+use warnings;
+use strict;
+use Hmon;
+
+my $str = "";
+
+
+$str = Hmon::MakeTitle(9,12,"Pion 1 Rates",0);
+#$str .= "\n#ADDFILE files/eventratehist.svg\n";
+$str .= "<img width=\"700\" height=\"265\" src=\"%ADDPNG files/Pion1X.png%\" type=\"image/png\"><br/>\n";
+$str .= "<img width=\"700\" height=\"265\" src=\"%ADDPNG files/Pion1Y.png%\" type=\"image/png\">\n";
+$str .= Hmon::MakeFooter();
+Hmon::WriteFile("pion1rate",$str);
+
+$str = Hmon::MakeTitle(9,12,"Pion 2 Rates",0);
+#$str .= "\n#ADDFILE files/eventratehist.svg\n";
+$str .= "<img width=\"700\" height=\"265\" src=\"%ADDPNG files/Pion2X.png%\" type=\"image/png\"><br/>\n";
+$str .= "<img width=\"700\" height=\"265\" src=\"%ADDPNG files/Pion2Y.png%\" type=\"image/png\">\n";
+$str .= Hmon::MakeFooter();
+Hmon::WriteFile("pion2rate",$str);
+
+
+
+ qx(./hmon_hadplot.sh -d 1000 -a 0x3800 -r 0x8800 -m 128 -w 32 -p 0 -output "PNG.files/Pion1X.700.265" regdiff >/dev/null &
+ ./hmon_hadplot.sh -d 1000 -a 0x3801 -r 0x8800 -m 128 -w 32 -p 0 -output "PNG.files/Pion1Y.700.265" regdiff >/dev/null &
+ ./hmon_hadplot.sh -d 1000 -a 0x3810 -r 0x8800 -m 128 -w 32 -p 0 -output "PNG.files/Pion2X.700.265" regdiff >/dev/null &
+ ./hmon_hadplot.sh -d 1000 -a 0x3811 -r 0x8800 -m 128 -w 32 -p 0 -output "PNG.files/Pion2Y.700.265" regdiff >/dev/null &);
+
+
<li><a href="monitor.cgi?2-window-datarate">Data rate histogram</a></li>
</ul></div>
+<div class="linkbox" style="float:right"><h4>Pion</h4><ul>
+<li><a href="monitor.cgi?1-window-DiamondRate">Rate on Start Diamond</a></li>
+<li><a href="monitor.cgi?1-window-pion1rate">Rate on Pion 1</a></li>
+<li><a href="monitor.cgi?1-window-pion2rate">Rate on Pion 2</a></li>
+<li><a href="monitor.cgi?1-window-HodoRate">Rate on Hodoscope</a></li>
+</ul></div>
+
+
<div class="linkbox" style="float:right"><h4>Trigger</h4><ul>
<li><a href="monitor.cgi?1-window-CTSRates">Rates on CTS Trigger I/O</a></li>
<li><a href="monitor.cgi?1-window-eventrateshort">Eventrate histogram (10s)</a></li>
<li><a href="monitor.cgi?10-window-Pt3AcceptRatio">Ratio of accepted PT3 per spill</a></li>
<li><a href="monitor.cgi?10-window-EvtsPerSpill">Recorded events per spill</a></li>
<li><a href="monitor.cgi?5-window-Starthist">Start hit count histograms</a></li>
-<li><a href="monitor.cgi?5-window-Vetohist">Veto hit count histograms</a></li>
+<!--<li><a href="monitor.cgi?5-window-Vetohist">Veto hit count histograms</a></li>-->
<li><a href="monitor.cgi?5-window-Muxhist">CTS mux output histograms</a></li>
<li><a href="monitor.cgi?5-window-CtsMuxRatio">CTS mux output ratio histo.</a></li>
</ul></div>
exec_cmd{hub} jam_trbv2 --addononly -aFP /home/hadaq/hub/hub2_fpga1_single_20110517.stp
exec_cmd{hubcts} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga1_full_20110517.stp
# exec_cmd{hubcentral} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga1_full_20110517.stp
- exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20120410_cts_fpga1_only_etrax_a.stp
+ # exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20120410_cts_fpga1_only_etrax_a.stp
+ # exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20140412_cts_fpga1_only_etrax_a.stp
+ # exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20140418_cts_fpga1_only_etrax_a.stp
+ exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20140422_cts_fpga1_only_etrax_a.stp
exec_cmd{shower} jam_trbv2 --addon -aFP /home/hadaq/shower/shower_fpga1_20110808_a.stp #stable
wait
exec_cmd{hub} jam_trbv2 --addononly -aFP /home/hadaq/hub/hub2_fpga2_single_20111121.stp #experimental
# exec_cmd{hubcentral} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga2_full_20110523.stp # leave this hub with old
exec_cmd{hubcts} jam_trbv2 --addon -aFP /home/hadaq/hub/hub2_fpga2_full_20111121.stp #experimental
- exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20120321_cts_fpga2_only_etrax_a.stp
+# exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20120321_cts_fpga2_only_etrax_a.stp
+# exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20140412_cts_fpga2_only_etrax_a.stp
+exec_cmd{cts} jam_trbv2 --addononly -aFP /home/hadaq/cts/20140422_cts_fpga2_only_etrax_a.stp
+
exec_cmd{shower} jam_trbv2 --addon -aFP /home/hadaq/shower/shower_fpga2_20120214.stp #stable
wait
--- /dev/null
+command_client.pl -e 'etraxp107' -c 'jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20101110_tof_a.stapl'
--- /dev/null
+command_client.pl -e etraxp059 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp067 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp110 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp056 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
--- /dev/null
+command_client.pl -e etraxp094 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp085 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp065 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp063 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
--- /dev/null
+command_client.pl -e etraxp089 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp031 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp040 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp074 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
--- /dev/null
+command_client.pl -e etraxp091 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp080 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp078 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp122 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
--- /dev/null
+command_client.pl -e etraxp092 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp083 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp075 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
+command_client.pl -e etraxp061 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400000'
--- /dev/null
+remTestSignalS1L.sh
+remTestSignalS2L.sh
+remTestSignalS3L.sh
+remTestSignalS4L.sh
+remTestSignalS5L.sh
+remTestSignalS6L.sh
--- /dev/null
+remTestSignalS1L.sh
+remTestSignalS2L.sh
+remTestSignalS3L.sh
+remTestSignalS4L.sh
+remTestSignalS5L.sh
+remTestSignalS6L.sh
--- /dev/null
+progamEtraxp107.sh
+setCTS4SelfTrigger.sh
+setTriggerBoardSX.sh
+setThresholdsAll.sh
--- /dev/null
+command_client.pl -e etraxp107 -c 'spi_trbv2_7 /home/hadaq/cts/mult_thresholds/thresholds_RPCSelfTrigger'
--- /dev/null
+command_client.pl -e etraxp059 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp067 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp110 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp056 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
--- /dev/null
+command_client.pl -e etraxp094 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp085 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp065 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp063 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
--- /dev/null
+command_client.pl -e etraxp089 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp031 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp040 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp074 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
--- /dev/null
+command_client.pl -e etraxp091 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp080 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp078 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp122 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x4000CC'
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x4000CC'
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x4000CC'
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x4000CC'
--- /dev/null
+command_client.pl -e etraxp092 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp083 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp075 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
+command_client.pl -e etraxp061 -c '/home/hadaq/bin/rw_trbv2 --trb w 0 c2 0x400033'
--- /dev/null
+setTestSignalS1L.sh
+setTestSignalS2L.sh
+setTestSignalS3L.sh
+setTestSignalS4L.sh
+setTestSignalS5L.sh
+setTestSignalS6L.sh
--- /dev/null
+setTestSignalS1L.sh
+setTestSignalS2L.sh
+setTestSignalS3L.sh
+setTestSignalS4L.sh
+setTestSignalS5L.sh
+setTestSignalS6L.sh
--- /dev/null
+./setThresholdsS1.sh &
+./setThresholdsS2.sh &
+./setThresholdsS3.sh &
+./setThresholdsS4.sh &
+./setThresholdsS5.sh &
+./setThresholdsS6.sh
--- /dev/null
+./setThresholdsS1ToFFFF.sh &
+./setThresholdsS2ToFFFF.sh &
+./setThresholdsS3ToFFFF.sh &
+./setThresholdsS4ToFFFF.sh &
+./setThresholdsS5ToFFFF.sh &
+./setThresholdsS6ToFFFF.sh
--- /dev/null
+./setThresholdsS1_b.sh &
+./setThresholdsS2_b.sh &
+./setThresholdsS3_b.sh &
+./setThresholdsS4_b.sh &
+./setThresholdsS5_b.sh &
+./setThresholdsS6_b.sh
--- /dev/null
+./setThresholdsS1_c.sh &
+./setThresholdsS2_c.sh &
+./setThresholdsS3_c.sh &
+./setThresholdsS4_c.sh &
+./setThresholdsS5_c.sh &
+./setThresholdsS6_c.sh
--- /dev/null
+command_client.pl -e etraxp059 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp067 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp110 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp056 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV'
--- /dev/null
+command_client.pl -e etraxp059 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp067 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp068 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp056 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
--- /dev/null
+command_client.pl -e etraxp059 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp067 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp068 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp056 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb'
--- /dev/null
+command_client.pl -e etraxp059 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp067 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp068 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp056 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc'
--- /dev/null
+command_client.pl -e etraxp059 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp067 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp068 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp056 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd'
--- /dev/null
+command_client.pl -e etraxp094 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp085 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp065 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp063 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV'
--- /dev/null
+command_client.pl -e etraxp094 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp085 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp065 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp063 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
--- /dev/null
+command_client.pl -e etraxp094 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp085 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp065 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp063 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb'
--- /dev/null
+command_client.pl -e etraxp094 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp085 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp065 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp063 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc'
--- /dev/null
+command_client.pl -e etraxp094 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp085 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp065 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp063 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd'
--- /dev/null
+command_client.pl -e etraxp089 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp031 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp040 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp074 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV'
--- /dev/null
+command_client.pl -e etraxp089 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp031 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp040 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp074 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
--- /dev/null
+command_client.pl -e etraxp089 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp031 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp040 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp074 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb'
--- /dev/null
+command_client.pl -e etraxp089 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp031 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp040 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp074 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc'
--- /dev/null
+command_client.pl -e etraxp089 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp031 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp040 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp074 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd'
--- /dev/null
+command_client.pl -e etraxp091 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp080 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp078 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp122 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV'
--- /dev/null
+command_client.pl -e etraxp091 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp080 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp078 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp122 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
--- /dev/null
+command_client.pl -e etraxp091 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp080 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp078 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp122 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb'
--- /dev/null
+command_client.pl -e etraxp091 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp080 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp078 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp122 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc'
--- /dev/null
+command_client.pl -e etraxp091 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp080 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp078 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp122 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc'
--- /dev/null
+command_client.pl -e etraxp054 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp053 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp052 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp051 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd'
--- /dev/null
+command_client.pl -e etraxp092 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp083 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp075 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV' &
+command_client.pl -e etraxp061 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mV'
--- /dev/null
+command_client.pl -e etraxp092 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp083 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp075 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
+command_client.pl -e etraxp061 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_FFFF'
--- /dev/null
+command_client.pl -e etraxp092 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp083 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp075 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb' &
+command_client.pl -e etraxp061 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVb'
--- /dev/null
+command_client.pl -e etraxp092 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp083 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp075 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc' &
+command_client.pl -e etraxp061 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVc'
--- /dev/null
+command_client.pl -e etraxp092 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp083 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp075 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd' &
+command_client.pl -e etraxp061 -c '/home/hadaq/bin/spi_trbv2_5 /home/hadaq/rpc/configFile_40mVd'
--- /dev/null
+command_client.pl -e etraxp059 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_059'
--- /dev/null
+command_client.pl -e etraxp094 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_094'
--- /dev/null
+command_client.pl -e etraxp089 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_089'
--- /dev/null
+command_client.pl -e etraxp091 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_091'
--- /dev/null
+command_client.pl -e etraxp054 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_054'
--- /dev/null
+command_client.pl -e etraxp092 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_092'
--- /dev/null
+command_client.pl -e etraxp059 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_059'
+command_client.pl -e etraxp094 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_094'
+command_client.pl -e etraxp089 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_089'
+command_client.pl -e etraxp091 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_091'
+command_client.pl -e etraxp054 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_054'
+command_client.pl -e etraxp092 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_092'
--- /dev/null
+# Board Chain ChainLen DAC Channel Command Value
+ 5000 1 2 0 0 3 0x8000 # ---Glob. Thres #1
+ 5000 1 2 0 1 3 0x7000 #
+ 5000 1 2 0 2 3 0x6000 # --- Str. 9-10ns, 7-20ns, 6 - 30ns, 5-70ns
+ 5000 1 2 0 3 3 0x7000 #
+ 5000 1 2 0 4 3 0x7000 # --- Hyst. min d
+ 5000 1 2 0 5 3 0x7000
+ 5000 1 2 0 6 3 0x7000
+ 5000 1 2 0 7 3 0x7000
+ 5000 1 2 1 0 3 0xc000 ### ch. 4
+ 5000 1 2 1 1 3 0xa000 ### ch. 3
+ 5000 1 2 1 2 3 0xc000 ### ch. 2
+ 5000 1 2 1 3 3 0x1000 ### ch. 1
+ 5000 1 2 1 4 3 0xa000 ### ch. 5
+ 5000 1 2 1 5 3 0xb000 ### ch. 6
+ 5000 1 2 1 6 3 0xb000 ### ch. 7
+ 5000 1 2 1 7 3 0xa000 ### ch. 8
+#############################################################################
+ 5000 2 2 0 0 3 0x8000 # ---Glob. Thres #2
+ 5000 2 2 0 1 3 0x5000 #
+ 5000 2 2 0 2 3 0x6000 # --- Str. 9-20ns, 7-30ns, 5-80ns
+ 5000 2 2 0 3 3 0x5000 #
+ 5000 2 2 0 4 3 0xd000 # --- Hyst. min d
+ 5000 2 2 0 5 3 0x9000
+ 5000 2 2 0 6 3 0x9000
+ 5000 2 2 0 7 3 0x9000
+ 5000 2 2 1 0 3 0xb000 ### ch. 4
+ 5000 2 2 1 1 3 0xc000 ### ch. 3
+ 5000 2 2 1 2 3 0xb000 ### ch. 2
+ 5000 2 2 1 3 3 0xa000 ### ch. 1
+ 5000 2 2 1 4 3 0xb000 ### ch. 5
+ 5000 2 2 1 5 3 0xa000 ### ch. 6
+ 5000 2 2 1 6 3 0xa000 ### ch. 7
+ 5000 2 2 1 7 3 0xb000 ### ch. 8
+#######
+####### Next TDC
+#######
+# Board Chain ChainLen DAC Channel Command Value
+ 5001 1 2 0 0 3 0x8000 # ---Glob. Thres #3
+ 5001 1 2 0 1 3 0x7000 #
+ 5001 1 2 0 2 3 0x5000 # --- Str. 9-20ns, 7-30ns, 5-80ns
+ 5001 1 2 0 3 3 0x7000 #
+ 5001 1 2 0 4 3 0x7000 # --- Hyst. min d
+ 5001 1 2 0 5 3 0x7000
+ 5001 1 2 0 6 3 0x7000
+ 5001 1 2 0 7 3 0x7000
+ 5001 1 2 1 0 3 0xf000 ### ch. 4
+ 5001 1 2 1 1 3 0xa000 ### ch. 3
+ 5001 1 2 1 2 3 0xb000 ### ch. 2
+ 5001 1 2 1 3 3 0xa000 ### ch. 1
+ 5001 1 2 1 4 3 0xf000 ### ch. 5
+ 5001 1 2 1 5 3 0xb000 ### ch. 6
+ 5001 1 2 1 6 3 0xf000 ### ch. 7
+ 5001 1 2 1 7 3 0xc000 ### ch. 8
+#############################################################################
+ 5001 2 2 0 0 3 0xf000 # ---Glob. Thres #4
+ 5001 2 2 0 1 3 0x5000 #
+ 5001 2 2 0 2 3 0x6000 # --- Str. 9-20ns, 7-30ns, 5-80ns
+ 5001 2 2 0 3 3 0x5000 #
+ 5001 2 2 0 4 3 0xf000 # --- Hyst. min d
+ 5001 2 2 0 5 3 0x9000
+ 5001 2 2 0 6 3 0x9000
+ 5001 2 2 0 7 3 0x9000
+ 5001 2 2 1 0 3 0xf000 ### ch. 4
+ 5001 2 2 1 1 3 0xf000 ### ch. 3
+ 5001 2 2 1 2 3 0xf000 ### ch. 2
+ 5001 2 2 1 3 3 0xf000 ### ch. 1
+ 5001 2 2 1 4 3 0xf000 ### ch. 5
+ 5001 2 2 1 5 3 0xf000 ### ch. 6
+ 5001 2 2 1 6 3 0xf000 ### ch. 7
+ 5001 2 2 1 7 3 0xf000 ### ch. 8
+#######
+####### Next TDC
+#######
+# Board Chain ChainLen DAC Channel Command Value
+ 5002 1 2 0 0 3 0x8000 # ---Glob. Thres #5
+ 5002 1 2 0 1 3 0x0000 #
+ 5002 1 2 0 2 3 0x5000 # --- Str. 9-10ns, 7-20ns, 6 - 30ns, 5-70ns
+ 5002 1 2 0 3 3 0x6000 #
+ 5002 1 2 0 4 3 0x7000 # --- Hyst. min d
+ 5002 1 2 0 5 3 0x8000
+ 5002 1 2 0 6 3 0x9000
+ 5002 1 2 0 7 3 0xa000
+ 5002 1 2 1 0 3 0xb000 ### ch. 4
+ 5002 1 2 1 1 3 0xc000 ### ch. 3
+ 5002 1 2 1 2 3 0xc000 ### ch. 2
+ 5002 1 2 1 3 3 0x4000 ### ch. 1
+ 5002 1 2 1 4 3 0x4000 ### ch. 5
+ 5002 1 2 1 5 3 0xa000 ### ch. 6
+ 5002 1 2 1 6 3 0xa000 ### ch. 7
+ 5002 1 2 1 7 3 0xb000 ### ch. 8
+#############################################################################
+ 5002 2 2 0 0 3 0x8000 # ---Glob. Thres #6
+ 5002 2 2 0 1 3 0x5000 #
+ 5002 2 2 0 2 3 0x8000 # --- Str. 9-20ns, 7-30ns, 5-80ns
+ 5002 2 2 0 3 3 0x5000 #
+ 5002 2 2 0 4 3 0xd000 # --- Hyst. min d
+ 5002 2 2 0 5 3 0x9000
+ 5002 2 2 0 6 3 0x9000
+ 5002 2 2 0 7 3 0x9000
+ 5002 2 2 1 0 3 0xb000 ### ch. 4
+ 5002 2 2 1 1 3 0xb000 ### ch. 3
+ 5002 2 2 1 2 3 0xb000 ### ch. 2
+ 5002 2 2 1 3 3 0xa000 ### ch. 1
+ 5002 2 2 1 4 3 0xa000 ### ch. 5
+ 5002 2 2 1 5 3 0xb000 ### ch. 6
+ 5002 2 2 1 6 3 0xb000 ### ch. 7
+ 5002 2 2 1 7 3 0xa000 ### ch. 8
+#######
+####### Next TDC
+#######
+# Board Chain ChainLen DAC Channel Command Value
+ 5003 1 2 0 0 3 0x8000 # ---Glob. Thres #7
+ 5003 1 2 0 1 3 0x7000 #
+ 5003 1 2 0 2 3 0x9000 # --- Str. 9-10ns, 7-20ns, 6 - 30ns, 5-70ns
+ 5003 1 2 0 3 3 0x7000 #
+ 5003 1 2 0 4 3 0x7000 # --- Hyst. min d
+ 5003 1 2 0 5 3 0x7000
+ 5003 1 2 0 6 3 0x7000
+ 5003 1 2 0 7 3 0x7000
+ 5003 1 2 1 0 3 0xc000 ### ch. 4
+ 5003 1 2 1 1 3 0xc000 ### ch. 3
+ 5003 1 2 1 2 3 0xb000 ### ch. 2
+ 5003 1 2 1 3 3 0xb000 ### ch. 1
+ 5003 1 2 1 4 3 0xc000 ### ch. 5
+ 5003 1 2 1 5 3 0x5000 ### ch. 6
+ 5003 1 2 1 6 3 0xb000 ### ch. 7
+ 5003 1 2 1 7 3 0x5000 ### ch. 8
+#############################################################################
+ 5003 2 2 0 0 3 0x8000 # ---Glob. Thres #8
+ 5003 2 2 0 1 3 0x5000 #
+ 5003 2 2 0 2 3 0x6000 # --- Str. 9-20ns, 7-30ns, 5-80ns
+ 5003 2 2 0 3 3 0x5000 #
+ 5003 2 2 0 4 3 0x7000 # --- Hyst. min d
+ 5003 2 2 0 5 3 0x9000
+ 5003 2 2 0 6 3 0x9000
+ 5003 2 2 0 7 3 0x9000
+ 5003 2 2 1 0 3 0xb000 ### ch. 4
+ 5003 2 2 1 1 3 0xb000 ### ch. 3
+ 5003 2 2 1 2 3 0xa000 ### ch. 2
+ 5003 2 2 1 3 3 0xa000 ### ch. 1
+ 5003 2 2 1 4 3 0xc000 ### ch. 5
+ 5003 2 2 1 5 3 0xb000 ### ch. 6
+ 5003 2 2 1 6 3 0xb000 ### ch. 7
+ 5003 2 2 1 7 3 0xb000 ### ch. 8
+# EndOF
# Board Chain ChainLen DAC Channel Command Value
5010 1 1 0 0 8 0x0400
5010 1 1 0 2 8 0x05ad
- 5010 1 1 0 4 8 0x0556
+ 5010 1 1 0 4 8 0x07a4
5010 1 1 0 6 8 0x0724
- 5010 1 1 0 8 8 0x0562
+ 5010 1 1 0 8 8 0x05a5
5010 1 1 0 10 8 0x0527
5010 1 1 0 12 8 0x04aa
5010 1 1 0 14 8 0x06ce
5010 2 1 0 0 8 0x0572
5010 2 1 0 2 8 0x05c5
5010 2 1 0 4 8 0x06ff
- 5010 2 1 0 6 8 0x04d2
+ 5010 2 1 0 6 8 0x0562
5010 2 1 0 8 8 0x0582
5010 2 1 0 10 8 0x0642
- 5010 2 1 0 12 8 0x05dc
- 5010 2 1 0 14 8 0x0470
+ 5010 2 1 0 12 8 0x06d1
+ 5010 2 1 0 14 8 0x04fc
5013 1 1 0 0 8 0x0560
5013 1 1 0 2 8 0x0556
5013 1 1 0 4 8 0x03e6
5013 1 1 0 6 8 0x051d
- 5013 1 1 0 8 8 0x03ee
- 5013 1 1 0 10 8 0x0755
+ 5013 1 1 0 8 8 0x05fb
+ 5013 1 1 0 10 8 0x0a7f
5013 1 1 0 12 8 0x0510
- 5013 1 1 0 14 8 0x04a8
+ 5013 1 1 0 14 8 0x06d2
5013 2 1 0 0 8 0x050a
5013 2 1 0 2 8 0x0598
5013 2 1 0 4 8 0x0579
- 5013 2 1 0 6 8 0x050f
+ 5013 2 1 0 6 8 0x06d6
5013 2 1 0 8 8 0x0549
5013 2 1 0 10 8 0x06ae
- 5013 2 1 0 12 8 0x0522
+ 5013 2 1 0 12 8 0x06c6
5013 2 1 0 14 8 0x0500
#Unused slow channels
--- /dev/null
+# Board Chain ChainLen DAC Channel Command Value
+ 5010 1 1 0 0 8 0x07b0
+ 5010 1 1 0 2 8 0x07b0
+ 5010 1 1 0 4 8 0x07b0
+ 5010 1 1 0 6 8 0x07b0
+ 5010 1 1 0 8 8 0x07b0
+ 5010 1 1 0 10 8 0x07b0
+ 5010 1 1 0 12 8 0x07b0
+ 5010 1 1 0 14 8 0x07b0
+
+ 5010 2 1 0 0 8 0x07b0
+ 5010 2 1 0 2 8 0x07b0
+ 5010 2 1 0 4 8 0x07b0
+ 5010 2 1 0 6 8 0x07b0
+ 5010 2 1 0 8 8 0x07b0
+ 5010 2 1 0 10 8 0x07b0
+ 5010 2 1 0 12 8 0x07b0
+ 5010 2 1 0 14 8 0x07b0
+
+ 5013 1 1 0 0 8 0x07b0
+ 5013 1 1 0 2 8 0x07b0
+ 5013 1 1 0 4 8 0x07b0
+ 5013 1 1 0 6 8 0x07b0
+ 5013 1 1 0 8 8 0x07b0
+ 5013 1 1 0 10 8 0x07b0
+ 5013 1 1 0 12 8 0x07b0
+ 5013 1 1 0 14 8 0x07b0
+
+ 5013 2 1 0 0 8 0x07b0
+ 5013 2 1 0 2 8 0x07b0
+ 5013 2 1 0 4 8 0x07b0
+ 5013 2 1 0 6 8 0x07b0
+ 5013 2 1 0 8 8 0x07b0
+ 5013 2 1 0 10 8 0x07b0
+ 5013 2 1 0 12 8 0x07b0
+ 5013 2 1 0 14 8 0x07b0
+
+#Unused slow channels
+ 5010 1 1 0 1 8 0xffff
+ 5010 1 1 0 3 8 0xffff
+ 5010 1 1 0 5 8 0xffff
+ 5010 1 1 0 7 8 0xffff
+ 5010 1 1 0 9 8 0xffff
+ 5010 1 1 0 11 8 0xffff
+ 5010 1 1 0 13 8 0xffff
+ 5010 1 1 0 15 8 0xffff
+
+ 5010 2 1 0 1 8 0xffff
+ 5010 2 1 0 3 8 0xffff
+ 5010 2 1 0 5 8 0xffff
+ 5010 2 1 0 7 8 0xffff
+ 5010 2 1 0 9 8 0xffff
+ 5010 2 1 0 11 8 0xffff
+ 5010 2 1 0 13 8 0xffff
+ 5010 2 1 0 15 8 0xffff
+
+ 5013 1 1 0 1 8 0xffff
+ 5013 1 1 0 3 8 0xffff
+ 5013 1 1 0 5 8 0xffff
+ 5013 1 1 0 7 8 0xffff
+ 5013 1 1 0 9 8 0xffff
+ 5013 1 1 0 11 8 0xffff
+ 5013 1 1 0 13 8 0xffff
+ 5013 1 1 0 15 8 0xffff
+
+ 5013 2 1 0 1 8 0xffff
+ 5013 2 1 0 3 8 0xffff
+ 5013 2 1 0 5 8 0xffff
+ 5013 2 1 0 7 8 0xffff
+ 5013 2 1 0 9 8 0xffff
+ 5013 2 1 0 11 8 0xffff
+ 5013 2 1 0 13 8 0xffff
+ 5013 2 1 0 15 8 0xffff
+
+
--- /dev/null
+# Board Chain ChainLen DAC Channel Command Value
+ 5010 1 1 0 0 8 0x099c
+ 5010 1 1 0 2 8 0x099c
+ 5010 1 1 0 4 8 0x099c
+ 5010 1 1 0 6 8 0x099c
+ 5010 1 1 0 8 8 0x099c
+ 5010 1 1 0 10 8 0x099c
+ 5010 1 1 0 12 8 0x099c
+ 5010 1 1 0 14 8 0x099c
+
+ 5010 2 1 0 0 8 0x099c
+ 5010 2 1 0 2 8 0x099c
+ 5010 2 1 0 4 8 0x099c
+ 5010 2 1 0 6 8 0x099c
+ 5010 2 1 0 8 8 0x099c
+ 5010 2 1 0 10 8 0x099c
+ 5010 2 1 0 12 8 0x099c
+ 5010 2 1 0 14 8 0x099c
+
+ 5013 1 1 0 0 8 0x099c
+ 5013 1 1 0 2 8 0x099c
+ 5013 1 1 0 4 8 0x099c
+ 5013 1 1 0 6 8 0x099c
+ 5013 1 1 0 8 8 0x099c
+ 5013 1 1 0 10 8 0x099c
+ 5013 1 1 0 12 8 0x099c
+ 5013 1 1 0 14 8 0x099c
+
+ 5013 2 1 0 0 8 0x099c
+ 5013 2 1 0 2 8 0x099c
+ 5013 2 1 0 4 8 0x099c
+ 5013 2 1 0 6 8 0x099c
+ 5013 2 1 0 8 8 0x099c
+ 5013 2 1 0 10 8 0x099c
+ 5013 2 1 0 12 8 0x099c
+ 5013 2 1 0 14 8 0x099c
+
+#Unused slow channels
+ 5010 1 1 0 1 8 0xffff
+ 5010 1 1 0 3 8 0xffff
+ 5010 1 1 0 5 8 0xffff
+ 5010 1 1 0 7 8 0xffff
+ 5010 1 1 0 9 8 0xffff
+ 5010 1 1 0 11 8 0xffff
+ 5010 1 1 0 13 8 0xffff
+ 5010 1 1 0 15 8 0xffff
+
+ 5010 2 1 0 1 8 0xffff
+ 5010 2 1 0 3 8 0xffff
+ 5010 2 1 0 5 8 0xffff
+ 5010 2 1 0 7 8 0xffff
+ 5010 2 1 0 9 8 0xffff
+ 5010 2 1 0 11 8 0xffff
+ 5010 2 1 0 13 8 0xffff
+ 5010 2 1 0 15 8 0xffff
+
+ 5013 1 1 0 1 8 0xffff
+ 5013 1 1 0 3 8 0xffff
+ 5013 1 1 0 5 8 0xffff
+ 5013 1 1 0 7 8 0xffff
+ 5013 1 1 0 9 8 0xffff
+ 5013 1 1 0 11 8 0xffff
+ 5013 1 1 0 13 8 0xffff
+ 5013 1 1 0 15 8 0xffff
+
+ 5013 2 1 0 1 8 0xffff
+ 5013 2 1 0 3 8 0xffff
+ 5013 2 1 0 5 8 0xffff
+ 5013 2 1 0 7 8 0xffff
+ 5013 2 1 0 9 8 0xffff
+ 5013 2 1 0 11 8 0xffff
+ 5013 2 1 0 13 8 0xffff
+ 5013 2 1 0 15 8 0xffff
+
+
trbcmd w 0x5013 0xc803 0x00000000 # disable channel 32-63
#Start inputs
- trbcmd w 0x5000 0xc802 0xffff0000 # disable channel 0-31
+ trbcmd w 0x5000 0xc802 0xfffcfcfc # disable channel 0-31
trbcmd w 0x5000 0xc803 0x00000000 # disable channel 32-63
trbcmd w 0x5001 0xc802 0x00000000 # disable channel 0-31
trbcmd w 0x5001 0xc803 0x00000000 # disable channel 32-63
- trbcmd w 0x5002 0xc802 0x00000000 # disable channel 0-31
+ trbcmd w 0x5002 0xc802 0xfffcfcfc # disable channel 0-31
trbcmd w 0x5002 0xc803 0x00000000 # disable channel 32-63
- trbcmd w 0x5003 0xc802 0x00000000 # disable channel 0-31
+ trbcmd w 0x5003 0xc802 0xfff003fc # disable channel 0-31
trbcmd w 0x5003 0xc803 0x00000000 # disable channel 32-63
+# trbcmd w 0x5000 0xc802 0x00000000 # disable channel 32-63
+# trbcmd w 0x5002 0xc802 0x00000000 # disable channel 32-63
+# trbcmd w 0x5003 0xc802 0x00000000 # disable channel 32-63
+
+
+
+
#Trigger Generator Settings
#Replace with proper values
-trbcmd w 0x5000 0xcf00 0xff00
-trbcmd w 0x5001 0xcf00 0x0
-trbcmd w 0x5002 0xcf00 0x0
-trbcmd w 0x5003 0xcf00 0x0
-trbcmd w 0x8880 0xcf00 0x0111 #Forward to CTS via central FPGA
+trbcmd w 0x5000 0xcf00 0xfeee
+trbcmd w 0x5001 0xcf00 0x0000
+trbcmd w 0x5002 0xcf00 0xfeee
+trbcmd w 0x5003 0xcf00 0xfc1e
+trbcmd w 0x8880 0xcf00 0x1101 #Forward to CTS via central FPGA
#Connected to second Start input on CTS
trbcmd w 0x5010 0xcf00 0xffff
#Input Monitor Settings
#Enable 16 inputs on all
-trbcmd w 0x5000 0xcf80 0xffff
-trbcmd w 0x5001 0xcf80 0xffff
-trbcmd w 0x5002 0xcf80 0xffff
-trbcmd w 0x5003 0xcf80 0x0000
+trbcmd w 0x5000 0xcf80 0xfeee
+trbcmd w 0x5001 0xcf80 0x0000
+trbcmd w 0x5002 0xcf80 0xfeee
+trbcmd w 0x5003 0xcf80 0xf81e
trbcmd w 0x5010 0xcf80 0xffff
trbcmd w 0x5011 0xcf80 0x0000
trbcmd w 0x5012 0xcf80 0x0000
trbcmd w 0x5013 0xcf80 0xffff
+trbcmd clearbit 0x8880 0xc0 0x2
+trbcmd clearbit 0x8880 0xc1 0x2
+trbcmd clearbit 0x8880 0xc3 0x2
+
+trbcmd clearbit 0x8890 0xc0 0x6
+trbcmd clearbit 0x8890 0xc1 0x6
+trbcmd clearbit 0x8890 0xc3 0x6
+
exec_cmd{local} /home/hadaq/trbsoft/daqtools/tools/dac_program.pl ../start/ThreshPadiwaVeto.db
exec_cmd{local} /home/hadaq/trbsoft/daqtools/tools/dac_program.pl ../start/ThreshNinoStart.db