]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
Added rpc utils and latest state of some main files
authorhadaq@countinghouse <hadaq@gsi.de>
Thu, 24 Apr 2014 20:18:01 +0000 (22:18 +0200)
committerhadaq@countinghouse <hadaq@gsi.de>
Thu, 24 Apr 2014 20:18:01 +0000 (22:18 +0200)
95 files changed:
control/ctsmon/mon_cts.pl
control/ctsmon/tables/.hsh [deleted file]
control/ctsmon/tables/2012-03 RICH Pedestal Mode.hsh [deleted file]
control/ctsmon/tables/2012-03-27_cosmics.hsh [deleted file]
control/ctsmon/tables/2012-04 Beam 2.hsh [deleted file]
control/ctsmon/tables/2012-04 Beam 3.hsh [deleted file]
control/ctsmon/tables/2012-04 Beam 4.hsh [deleted file]
control/ctsmon/tables/2012-04 Beam 5.hsh [deleted file]
control/ctsmon/tables/2012-04 Beam 6.hsh [deleted file]
control/ctsmon/tables/2012-04 Beam.hsh [deleted file]
control/ctsmon/tables/2012-04 beam 10.hsh [deleted file]
control/ctsmon/tables/2012-04 beam 11.hsh [deleted file]
control/ctsmon/tables/2012-04 beam 12.hsh [deleted file]
control/ctsmon/tables/2012-04 beam 8.hsh [deleted file]
control/ctsmon/tables/2012-04 beam9.hsh [deleted file]
control/ctsmon/tables/2012-04-baem 7.hsh [deleted file]
control/ctsmon/tables/2012-10 beam-2.hsh [deleted file]
control/ctsmon/tables/2012-10 beam-3.hsh [deleted file]
control/ctsmon/tables/2012-10-25_test_mdc_a.hsh [deleted file]
control/ctsmon/tables/2012_10-25_test_mdc_a.hsh [deleted file]
control/ctsmon/tables/BEAM5.hsh [deleted file]
control/ctsmon/tables/FW cosmic.hsh [deleted file]
control/ctsmon/tables/test_beam_25102012_a.hsh [deleted file]
hmon/hmon_diamond.pl
hmon/hmon_endpoints.pl
hmon/hmon_hodo.pl [new file with mode: 0755]
hmon/hmon_pionrate.pl [new file with mode: 0755]
hmon/index.cgi
main/main_hades.script
rpc/utilities/progamEtraxp107.sh [new file with mode: 0755]
rpc/utilities/remTestSignalS1L.sh [new file with mode: 0755]
rpc/utilities/remTestSignalS2L.sh [new file with mode: 0755]
rpc/utilities/remTestSignalS3L.sh [new file with mode: 0755]
rpc/utilities/remTestSignalS4L.sh [new file with mode: 0755]
rpc/utilities/remTestSignalS5L.sh [new file with mode: 0755]
rpc/utilities/remTestSignalS6L.sh [new file with mode: 0755]
rpc/utilities/remTestSignalSX.sh [new file with mode: 0755]
rpc/utilities/remTestSignalSXL.sh [new file with mode: 0644]
rpc/utilities/setAll4M1.sh [new file with mode: 0755]
rpc/utilities/setCTS4SelfTrigger.sh [new file with mode: 0755]
rpc/utilities/setTestSignalS1L.sh [new file with mode: 0755]
rpc/utilities/setTestSignalS2L.sh [new file with mode: 0755]
rpc/utilities/setTestSignalS3L.sh [new file with mode: 0755]
rpc/utilities/setTestSignalS4L.sh [new file with mode: 0755]
rpc/utilities/setTestSignalS5L.sh [new file with mode: 0755]
rpc/utilities/setTestSignalS5R.sh [new file with mode: 0755]
rpc/utilities/setTestSignalS6L.sh [new file with mode: 0755]
rpc/utilities/setTestSignalSX.sh [new file with mode: 0755]
rpc/utilities/setTestSignalSXL.sh [new file with mode: 0644]
rpc/utilities/setThresholdsAll.sh [new file with mode: 0755]
rpc/utilities/setThresholdsAllFFFF.sh [new file with mode: 0755]
rpc/utilities/setThresholdsAll_b.sh [new file with mode: 0755]
rpc/utilities/setThresholdsAll_c.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS1.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS1ToFFFF.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS1_b.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS1_c.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS1_d.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS2.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS2ToFFFF.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS2_b.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS2_c.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS2_d.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS3.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS3ToFFFF.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS3_b.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS3_c.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS3_d.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS4.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS4ToFFFF.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS4_b.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS4_c.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS4_d.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS5.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS5ToFFFF.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS5_b.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS5_c.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS5_d.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS6.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS6ToFFFF.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS6_b.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS6_c.sh [new file with mode: 0755]
rpc/utilities/setThresholdsS6_d.sh [new file with mode: 0755]
rpc/utilities/setTriggerBoardS1.sh [new file with mode: 0755]
rpc/utilities/setTriggerBoardS2.sh [new file with mode: 0755]
rpc/utilities/setTriggerBoardS3.sh [new file with mode: 0755]
rpc/utilities/setTriggerBoardS4.sh [new file with mode: 0755]
rpc/utilities/setTriggerBoardS5.sh [new file with mode: 0755]
rpc/utilities/setTriggerBoardS6.sh [new file with mode: 0755]
rpc/utilities/setTriggerBoardSX.sh [new file with mode: 0755]
start/ThreshNinoStart.db [new file with mode: 0644]
start/ThreshPadiwaVeto.db
start/ThreshPadiwaVeto_100mV.db [new file with mode: 0644]
start/ThreshPadiwaVeto_125mV.db [new file with mode: 0644]
start/startup.script

index 4194be77d9afe0cf994c0d2540dfa2d04c34e6c0..d154ec1fac038c4875423ebf753608fa159b3ee1 100755 (executable)
@@ -1934,8 +1934,7 @@ sub readRegs_trbcmd()
 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" ){
diff --git a/control/ctsmon/tables/.hsh b/control/ctsmon/tables/.hsh
deleted file mode 100644 (file)
index e2e4927..0000000
Binary files a/control/ctsmon/tables/.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-03 RICH Pedestal Mode.hsh b/control/ctsmon/tables/2012-03 RICH Pedestal Mode.hsh
deleted file mode 100644 (file)
index d6f1e5f..0000000
Binary files a/control/ctsmon/tables/2012-03 RICH Pedestal Mode.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-03-27_cosmics.hsh b/control/ctsmon/tables/2012-03-27_cosmics.hsh
deleted file mode 100644 (file)
index 08ddce7..0000000
Binary files a/control/ctsmon/tables/2012-03-27_cosmics.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 Beam 2.hsh b/control/ctsmon/tables/2012-04 Beam 2.hsh
deleted file mode 100644 (file)
index 64433f2..0000000
Binary files a/control/ctsmon/tables/2012-04 Beam 2.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 Beam 3.hsh b/control/ctsmon/tables/2012-04 Beam 3.hsh
deleted file mode 100644 (file)
index f681cc0..0000000
Binary files a/control/ctsmon/tables/2012-04 Beam 3.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 Beam 4.hsh b/control/ctsmon/tables/2012-04 Beam 4.hsh
deleted file mode 100644 (file)
index 7b3a7a7..0000000
Binary files a/control/ctsmon/tables/2012-04 Beam 4.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 Beam 5.hsh b/control/ctsmon/tables/2012-04 Beam 5.hsh
deleted file mode 100644 (file)
index 326f974..0000000
Binary files a/control/ctsmon/tables/2012-04 Beam 5.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 Beam 6.hsh b/control/ctsmon/tables/2012-04 Beam 6.hsh
deleted file mode 100644 (file)
index 0ff5639..0000000
Binary files a/control/ctsmon/tables/2012-04 Beam 6.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 Beam.hsh b/control/ctsmon/tables/2012-04 Beam.hsh
deleted file mode 100644 (file)
index 34862a7..0000000
Binary files a/control/ctsmon/tables/2012-04 Beam.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 beam 10.hsh b/control/ctsmon/tables/2012-04 beam 10.hsh
deleted file mode 100644 (file)
index d632666..0000000
Binary files a/control/ctsmon/tables/2012-04 beam 10.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 beam 11.hsh b/control/ctsmon/tables/2012-04 beam 11.hsh
deleted file mode 100644 (file)
index 0ff5639..0000000
Binary files a/control/ctsmon/tables/2012-04 beam 11.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 beam 12.hsh b/control/ctsmon/tables/2012-04 beam 12.hsh
deleted file mode 100644 (file)
index bbde18e..0000000
Binary files a/control/ctsmon/tables/2012-04 beam 12.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 beam 8.hsh b/control/ctsmon/tables/2012-04 beam 8.hsh
deleted file mode 100644 (file)
index c233603..0000000
Binary files a/control/ctsmon/tables/2012-04 beam 8.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04 beam9.hsh b/control/ctsmon/tables/2012-04 beam9.hsh
deleted file mode 100644 (file)
index bbde18e..0000000
Binary files a/control/ctsmon/tables/2012-04 beam9.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-04-baem 7.hsh b/control/ctsmon/tables/2012-04-baem 7.hsh
deleted file mode 100644 (file)
index 23290a3..0000000
Binary files a/control/ctsmon/tables/2012-04-baem 7.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-10 beam-2.hsh b/control/ctsmon/tables/2012-10 beam-2.hsh
deleted file mode 100644 (file)
index 91b574f..0000000
Binary files a/control/ctsmon/tables/2012-10 beam-2.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-10 beam-3.hsh b/control/ctsmon/tables/2012-10 beam-3.hsh
deleted file mode 100644 (file)
index 26fde7d..0000000
Binary files a/control/ctsmon/tables/2012-10 beam-3.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012-10-25_test_mdc_a.hsh b/control/ctsmon/tables/2012-10-25_test_mdc_a.hsh
deleted file mode 100644 (file)
index 6e2a227..0000000
Binary files a/control/ctsmon/tables/2012-10-25_test_mdc_a.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/2012_10-25_test_mdc_a.hsh b/control/ctsmon/tables/2012_10-25_test_mdc_a.hsh
deleted file mode 100644 (file)
index 6e2a227..0000000
Binary files a/control/ctsmon/tables/2012_10-25_test_mdc_a.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/BEAM5.hsh b/control/ctsmon/tables/BEAM5.hsh
deleted file mode 100644 (file)
index 326f974..0000000
Binary files a/control/ctsmon/tables/BEAM5.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/FW cosmic.hsh b/control/ctsmon/tables/FW cosmic.hsh
deleted file mode 100644 (file)
index 1b7aa48..0000000
Binary files a/control/ctsmon/tables/FW cosmic.hsh and /dev/null differ
diff --git a/control/ctsmon/tables/test_beam_25102012_a.hsh b/control/ctsmon/tables/test_beam_25102012_a.hsh
deleted file mode 100644 (file)
index 359f6a8..0000000
Binary files a/control/ctsmon/tables/test_beam_25102012_a.hsh and /dev/null differ
index 0e93d973da7e67a952c983dcdf2a0120192295c4..43d052ad5dbe77c02182f19f874771a0329e8d4f 100755 (executable)
@@ -30,6 +30,9 @@ $plot2->{xmax}    = 6.5;
 $plot2->{ymin}    = 6.5;
 $plot2->{ymax}    = 0.5;
 $plot2->{showvalues} = 1;
+$plot2->{xlabel} = "column";
+$plot2->{ylabel} = "row";
+
 
 HPlot::PlotInit($plot2);
 
@@ -124,9 +127,10 @@ while (1) {
         }
       }
 
+
     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');      
index b964ea58d0871e5efeecb7e89bb6a857fbfc05dc..418ea617804dfabcfe5d5d33ff7ec08ccf83ef4c 100755 (executable)
@@ -112,7 +112,9 @@ while(1) {
        #Pion
        0x8900,0x3800,0x3801,
        #Start TRB3
-       0x8880,0x5000,0x5001,0x5002,0x5003
+       0x8880,0x5000,0x5002,0x5003,
+       #Hodo TRB3
+       0x8890,0x5010,0x5013
        );
 
     ###strip the register value
diff --git a/hmon/hmon_hodo.pl b/hmon/hmon_hodo.pl
new file mode 100755 (executable)
index 0000000..67799ed
--- /dev/null
@@ -0,0 +1,81 @@
+#!/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);
+  }
diff --git a/hmon/hmon_pionrate.pl b/hmon/hmon_pionrate.pl
new file mode 100755 (executable)
index 0000000..1b6e3d5
--- /dev/null
@@ -0,0 +1,31 @@
+#!/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 &);
+
+  
index b412820835f5134c2e30c39a5d9c84eb86fcc8e2..6b7255d0998bd5e369ccebc7dc672b4a452f451a 100755 (executable)
@@ -48,6 +48,14 @@ function openwin(url) {
 <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>
@@ -57,7 +65,7 @@ function openwin(url) {
 <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>
index 1669ae50e5fe2f67777eb9acf92151e699ab60b0..ead3f23c2ec334aa34ac654ef36c6428aec35d2f 100644 (file)
@@ -61,7 +61,10 @@ read_addrange_db ../main/address_range.db
   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
@@ -71,7 +74,10 @@ read_addrange_db ../main/address_range.db
   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
  
diff --git a/rpc/utilities/progamEtraxp107.sh b/rpc/utilities/progamEtraxp107.sh
new file mode 100755 (executable)
index 0000000..5b83810
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e 'etraxp107' -c 'jam_trbv2 --trb -aRUN_XILINX_PROC /home/hadaq/tof/fpga/20101110_tof_a.stapl'
diff --git a/rpc/utilities/remTestSignalS1L.sh b/rpc/utilities/remTestSignalS1L.sh
new file mode 100755 (executable)
index 0000000..f5654f8
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/remTestSignalS2L.sh b/rpc/utilities/remTestSignalS2L.sh
new file mode 100755 (executable)
index 0000000..b856cf2
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/remTestSignalS3L.sh b/rpc/utilities/remTestSignalS3L.sh
new file mode 100755 (executable)
index 0000000..361a60a
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/remTestSignalS4L.sh b/rpc/utilities/remTestSignalS4L.sh
new file mode 100755 (executable)
index 0000000..43bec0f
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/remTestSignalS5L.sh b/rpc/utilities/remTestSignalS5L.sh
new file mode 100755 (executable)
index 0000000..c3a4ea3
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/remTestSignalS6L.sh b/rpc/utilities/remTestSignalS6L.sh
new file mode 100755 (executable)
index 0000000..06734d4
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/remTestSignalSX.sh b/rpc/utilities/remTestSignalSX.sh
new file mode 100755 (executable)
index 0000000..7856180
--- /dev/null
@@ -0,0 +1,6 @@
+remTestSignalS1L.sh
+remTestSignalS2L.sh
+remTestSignalS3L.sh
+remTestSignalS4L.sh
+remTestSignalS5L.sh
+remTestSignalS6L.sh
diff --git a/rpc/utilities/remTestSignalSXL.sh b/rpc/utilities/remTestSignalSXL.sh
new file mode 100644 (file)
index 0000000..7856180
--- /dev/null
@@ -0,0 +1,6 @@
+remTestSignalS1L.sh
+remTestSignalS2L.sh
+remTestSignalS3L.sh
+remTestSignalS4L.sh
+remTestSignalS5L.sh
+remTestSignalS6L.sh
diff --git a/rpc/utilities/setAll4M1.sh b/rpc/utilities/setAll4M1.sh
new file mode 100755 (executable)
index 0000000..feb5774
--- /dev/null
@@ -0,0 +1,4 @@
+progamEtraxp107.sh
+setCTS4SelfTrigger.sh
+setTriggerBoardSX.sh
+setThresholdsAll.sh
diff --git a/rpc/utilities/setCTS4SelfTrigger.sh b/rpc/utilities/setCTS4SelfTrigger.sh
new file mode 100755 (executable)
index 0000000..43aa31a
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e etraxp107 -c 'spi_trbv2_7 /home/hadaq/cts/mult_thresholds/thresholds_RPCSelfTrigger'
diff --git a/rpc/utilities/setTestSignalS1L.sh b/rpc/utilities/setTestSignalS1L.sh
new file mode 100755 (executable)
index 0000000..6476794
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/setTestSignalS2L.sh b/rpc/utilities/setTestSignalS2L.sh
new file mode 100755 (executable)
index 0000000..4189973
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/setTestSignalS3L.sh b/rpc/utilities/setTestSignalS3L.sh
new file mode 100755 (executable)
index 0000000..30bb677
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/setTestSignalS4L.sh b/rpc/utilities/setTestSignalS4L.sh
new file mode 100755 (executable)
index 0000000..190191b
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/setTestSignalS5L.sh b/rpc/utilities/setTestSignalS5L.sh
new file mode 100755 (executable)
index 0000000..a6fcb71
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/setTestSignalS5R.sh b/rpc/utilities/setTestSignalS5R.sh
new file mode 100755 (executable)
index 0000000..4e75773
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/setTestSignalS6L.sh b/rpc/utilities/setTestSignalS6L.sh
new file mode 100755 (executable)
index 0000000..89f9b49
--- /dev/null
@@ -0,0 +1,4 @@
+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'
diff --git a/rpc/utilities/setTestSignalSX.sh b/rpc/utilities/setTestSignalSX.sh
new file mode 100755 (executable)
index 0000000..53deb09
--- /dev/null
@@ -0,0 +1,6 @@
+setTestSignalS1L.sh
+setTestSignalS2L.sh
+setTestSignalS3L.sh
+setTestSignalS4L.sh
+setTestSignalS5L.sh
+setTestSignalS6L.sh
diff --git a/rpc/utilities/setTestSignalSXL.sh b/rpc/utilities/setTestSignalSXL.sh
new file mode 100644 (file)
index 0000000..53deb09
--- /dev/null
@@ -0,0 +1,6 @@
+setTestSignalS1L.sh
+setTestSignalS2L.sh
+setTestSignalS3L.sh
+setTestSignalS4L.sh
+setTestSignalS5L.sh
+setTestSignalS6L.sh
diff --git a/rpc/utilities/setThresholdsAll.sh b/rpc/utilities/setThresholdsAll.sh
new file mode 100755 (executable)
index 0000000..cb505fd
--- /dev/null
@@ -0,0 +1,6 @@
+./setThresholdsS1.sh &
+./setThresholdsS2.sh &
+./setThresholdsS3.sh &
+./setThresholdsS4.sh &
+./setThresholdsS5.sh &
+./setThresholdsS6.sh
diff --git a/rpc/utilities/setThresholdsAllFFFF.sh b/rpc/utilities/setThresholdsAllFFFF.sh
new file mode 100755 (executable)
index 0000000..e602981
--- /dev/null
@@ -0,0 +1,6 @@
+./setThresholdsS1ToFFFF.sh &
+./setThresholdsS2ToFFFF.sh &
+./setThresholdsS3ToFFFF.sh &
+./setThresholdsS4ToFFFF.sh &
+./setThresholdsS5ToFFFF.sh &
+./setThresholdsS6ToFFFF.sh
diff --git a/rpc/utilities/setThresholdsAll_b.sh b/rpc/utilities/setThresholdsAll_b.sh
new file mode 100755 (executable)
index 0000000..1006e81
--- /dev/null
@@ -0,0 +1,6 @@
+./setThresholdsS1_b.sh &
+./setThresholdsS2_b.sh &
+./setThresholdsS3_b.sh &
+./setThresholdsS4_b.sh &
+./setThresholdsS5_b.sh &
+./setThresholdsS6_b.sh
diff --git a/rpc/utilities/setThresholdsAll_c.sh b/rpc/utilities/setThresholdsAll_c.sh
new file mode 100755 (executable)
index 0000000..e69326d
--- /dev/null
@@ -0,0 +1,6 @@
+./setThresholdsS1_c.sh &
+./setThresholdsS2_c.sh &
+./setThresholdsS3_c.sh &
+./setThresholdsS4_c.sh &
+./setThresholdsS5_c.sh &
+./setThresholdsS6_c.sh
diff --git a/rpc/utilities/setThresholdsS1.sh b/rpc/utilities/setThresholdsS1.sh
new file mode 100755 (executable)
index 0000000..e22bcc2
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS1ToFFFF.sh b/rpc/utilities/setThresholdsS1ToFFFF.sh
new file mode 100755 (executable)
index 0000000..255a14b
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS1_b.sh b/rpc/utilities/setThresholdsS1_b.sh
new file mode 100755 (executable)
index 0000000..910182f
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS1_c.sh b/rpc/utilities/setThresholdsS1_c.sh
new file mode 100755 (executable)
index 0000000..c3bbdf4
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS1_d.sh b/rpc/utilities/setThresholdsS1_d.sh
new file mode 100755 (executable)
index 0000000..ee9462b
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS2.sh b/rpc/utilities/setThresholdsS2.sh
new file mode 100755 (executable)
index 0000000..e1ac5d4
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS2ToFFFF.sh b/rpc/utilities/setThresholdsS2ToFFFF.sh
new file mode 100755 (executable)
index 0000000..8f11093
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS2_b.sh b/rpc/utilities/setThresholdsS2_b.sh
new file mode 100755 (executable)
index 0000000..1f09923
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS2_c.sh b/rpc/utilities/setThresholdsS2_c.sh
new file mode 100755 (executable)
index 0000000..77615dc
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS2_d.sh b/rpc/utilities/setThresholdsS2_d.sh
new file mode 100755 (executable)
index 0000000..8c7a555
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS3.sh b/rpc/utilities/setThresholdsS3.sh
new file mode 100755 (executable)
index 0000000..f6ad1a7
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS3ToFFFF.sh b/rpc/utilities/setThresholdsS3ToFFFF.sh
new file mode 100755 (executable)
index 0000000..684b1d5
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS3_b.sh b/rpc/utilities/setThresholdsS3_b.sh
new file mode 100755 (executable)
index 0000000..31c3680
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS3_c.sh b/rpc/utilities/setThresholdsS3_c.sh
new file mode 100755 (executable)
index 0000000..659d9e6
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS3_d.sh b/rpc/utilities/setThresholdsS3_d.sh
new file mode 100755 (executable)
index 0000000..7de60d1
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS4.sh b/rpc/utilities/setThresholdsS4.sh
new file mode 100755 (executable)
index 0000000..1f18d28
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS4ToFFFF.sh b/rpc/utilities/setThresholdsS4ToFFFF.sh
new file mode 100755 (executable)
index 0000000..8d84333
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS4_b.sh b/rpc/utilities/setThresholdsS4_b.sh
new file mode 100755 (executable)
index 0000000..667e4eb
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS4_c.sh b/rpc/utilities/setThresholdsS4_c.sh
new file mode 100755 (executable)
index 0000000..8f6b6d8
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS4_d.sh b/rpc/utilities/setThresholdsS4_d.sh
new file mode 100755 (executable)
index 0000000..3e3503f
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS5.sh b/rpc/utilities/setThresholdsS5.sh
new file mode 100755 (executable)
index 0000000..fd9267c
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS5ToFFFF.sh b/rpc/utilities/setThresholdsS5ToFFFF.sh
new file mode 100755 (executable)
index 0000000..39f01f4
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS5_b.sh b/rpc/utilities/setThresholdsS5_b.sh
new file mode 100755 (executable)
index 0000000..d323142
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS5_c.sh b/rpc/utilities/setThresholdsS5_c.sh
new file mode 100755 (executable)
index 0000000..1c4b0eb
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS5_d.sh b/rpc/utilities/setThresholdsS5_d.sh
new file mode 100755 (executable)
index 0000000..546af1e
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS6.sh b/rpc/utilities/setThresholdsS6.sh
new file mode 100755 (executable)
index 0000000..dff2454
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS6ToFFFF.sh b/rpc/utilities/setThresholdsS6ToFFFF.sh
new file mode 100755 (executable)
index 0000000..2adf5c1
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS6_b.sh b/rpc/utilities/setThresholdsS6_b.sh
new file mode 100755 (executable)
index 0000000..d26955c
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS6_c.sh b/rpc/utilities/setThresholdsS6_c.sh
new file mode 100755 (executable)
index 0000000..c163cde
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setThresholdsS6_d.sh b/rpc/utilities/setThresholdsS6_d.sh
new file mode 100755 (executable)
index 0000000..62ffe80
--- /dev/null
@@ -0,0 +1,4 @@
+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' 
diff --git a/rpc/utilities/setTriggerBoardS1.sh b/rpc/utilities/setTriggerBoardS1.sh
new file mode 100755 (executable)
index 0000000..077cc9f
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e etraxp059 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_059'
diff --git a/rpc/utilities/setTriggerBoardS2.sh b/rpc/utilities/setTriggerBoardS2.sh
new file mode 100755 (executable)
index 0000000..1c05342
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e etraxp094 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_094'
diff --git a/rpc/utilities/setTriggerBoardS3.sh b/rpc/utilities/setTriggerBoardS3.sh
new file mode 100755 (executable)
index 0000000..b756692
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e etraxp089 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_089'
diff --git a/rpc/utilities/setTriggerBoardS4.sh b/rpc/utilities/setTriggerBoardS4.sh
new file mode 100755 (executable)
index 0000000..d2afd85
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e etraxp091 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_091'
diff --git a/rpc/utilities/setTriggerBoardS5.sh b/rpc/utilities/setTriggerBoardS5.sh
new file mode 100755 (executable)
index 0000000..e6062a6
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e etraxp054 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_054'
diff --git a/rpc/utilities/setTriggerBoardS6.sh b/rpc/utilities/setTriggerBoardS6.sh
new file mode 100755 (executable)
index 0000000..6f9fe0c
--- /dev/null
@@ -0,0 +1 @@
+command_client.pl -e etraxp092 -c 'spi_trbv2_5 /home/hadaq/rpc/triggerBoards/triggerBoard_092'
diff --git a/rpc/utilities/setTriggerBoardSX.sh b/rpc/utilities/setTriggerBoardSX.sh
new file mode 100755 (executable)
index 0000000..211a54f
--- /dev/null
@@ -0,0 +1,6 @@
+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'
diff --git a/start/ThreshNinoStart.db b/start/ThreshNinoStart.db
new file mode 100644 (file)
index 0000000..26ced98
--- /dev/null
@@ -0,0 +1,146 @@
+# 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                         
index c97fd1b6781666afbd5109dd744be662adeb8dbe..97cc267e717e232ee885021333316f2f8d4be62f 100644 (file)
@@ -1,9 +1,9 @@
 # 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
diff --git a/start/ThreshPadiwaVeto_100mV.db b/start/ThreshPadiwaVeto_100mV.db
new file mode 100644 (file)
index 0000000..6cb2c35
--- /dev/null
@@ -0,0 +1,75 @@
+# 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
+
+                         
diff --git a/start/ThreshPadiwaVeto_125mV.db b/start/ThreshPadiwaVeto_125mV.db
new file mode 100644 (file)
index 0000000..c051d73
--- /dev/null
@@ -0,0 +1,75 @@
+# 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
+
+                         
index 45ceaf77df5dadfc9188557c181791df20944ae0..d54c89341d43caad0063896d73306644222fa026 100644 (file)
@@ -35,23 +35,30 @@ trbcmd w 0xfe4e 0xc804 0x00000080
  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
@@ -64,16 +71,24 @@ trbcmd w 0x8890 0xcf00 0x1001   #Forward to CTS via central FPGA
 
 #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