From: hadaq@countinghouse Date: Thu, 24 Apr 2014 20:18:01 +0000 (+0200) Subject: Added rpc utils and latest state of some main files X-Git-Tag: pre2018~88 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c96cc73b2a909af7e044ba7c6441adb63f79a8b8;p=hadesdaq.git Added rpc utils and latest state of some main files --- diff --git a/control/ctsmon/mon_cts.pl b/control/ctsmon/mon_cts.pl index 4194be7..d154ec1 100755 --- a/control/ctsmon/mon_cts.pl +++ b/control/ctsmon/mon_cts.pl @@ -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 /dev/null >/dev/null 1{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'); diff --git a/hmon/hmon_endpoints.pl b/hmon/hmon_endpoints.pl index b964ea5..418ea61 100755 --- a/hmon/hmon_endpoints.pl +++ b/hmon/hmon_endpoints.pl @@ -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 index 0000000..67799ed --- /dev/null +++ b/hmon/hmon_hodo.pl @@ -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@
\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 index 0000000..1b6e3d5 --- /dev/null +++ b/hmon/hmon_pionrate.pl @@ -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 .= "
\n"; +$str .= "\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 .= "
\n"; +$str .= "\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 &); + + diff --git a/hmon/index.cgi b/hmon/index.cgi index b412820..6b7255d 100755 --- a/hmon/index.cgi +++ b/hmon/index.cgi @@ -48,6 +48,14 @@ function openwin(url) {
  • Data rate histogram
  • + + + diff --git a/main/main_hades.script b/main/main_hades.script index 1669ae5..ead3f23 100644 --- a/main/main_hades.script +++ b/main/main_hades.script @@ -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 index 0000000..5b83810 --- /dev/null +++ b/rpc/utilities/progamEtraxp107.sh @@ -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 index 0000000..f5654f8 --- /dev/null +++ b/rpc/utilities/remTestSignalS1L.sh @@ -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 index 0000000..b856cf2 --- /dev/null +++ b/rpc/utilities/remTestSignalS2L.sh @@ -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 index 0000000..361a60a --- /dev/null +++ b/rpc/utilities/remTestSignalS3L.sh @@ -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 index 0000000..43bec0f --- /dev/null +++ b/rpc/utilities/remTestSignalS4L.sh @@ -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 index 0000000..c3a4ea3 --- /dev/null +++ b/rpc/utilities/remTestSignalS5L.sh @@ -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 index 0000000..06734d4 --- /dev/null +++ b/rpc/utilities/remTestSignalS6L.sh @@ -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 index 0000000..7856180 --- /dev/null +++ b/rpc/utilities/remTestSignalSX.sh @@ -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 index 0000000..7856180 --- /dev/null +++ b/rpc/utilities/remTestSignalSXL.sh @@ -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 index 0000000..feb5774 --- /dev/null +++ b/rpc/utilities/setAll4M1.sh @@ -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 index 0000000..43aa31a --- /dev/null +++ b/rpc/utilities/setCTS4SelfTrigger.sh @@ -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 index 0000000..6476794 --- /dev/null +++ b/rpc/utilities/setTestSignalS1L.sh @@ -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 index 0000000..4189973 --- /dev/null +++ b/rpc/utilities/setTestSignalS2L.sh @@ -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 index 0000000..30bb677 --- /dev/null +++ b/rpc/utilities/setTestSignalS3L.sh @@ -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 index 0000000..190191b --- /dev/null +++ b/rpc/utilities/setTestSignalS4L.sh @@ -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 index 0000000..a6fcb71 --- /dev/null +++ b/rpc/utilities/setTestSignalS5L.sh @@ -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 index 0000000..4e75773 --- /dev/null +++ b/rpc/utilities/setTestSignalS5R.sh @@ -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 index 0000000..89f9b49 --- /dev/null +++ b/rpc/utilities/setTestSignalS6L.sh @@ -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 index 0000000..53deb09 --- /dev/null +++ b/rpc/utilities/setTestSignalSX.sh @@ -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 index 0000000..53deb09 --- /dev/null +++ b/rpc/utilities/setTestSignalSXL.sh @@ -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 index 0000000..cb505fd --- /dev/null +++ b/rpc/utilities/setThresholdsAll.sh @@ -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 index 0000000..e602981 --- /dev/null +++ b/rpc/utilities/setThresholdsAllFFFF.sh @@ -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 index 0000000..1006e81 --- /dev/null +++ b/rpc/utilities/setThresholdsAll_b.sh @@ -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 index 0000000..e69326d --- /dev/null +++ b/rpc/utilities/setThresholdsAll_c.sh @@ -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 index 0000000..e22bcc2 --- /dev/null +++ b/rpc/utilities/setThresholdsS1.sh @@ -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 index 0000000..255a14b --- /dev/null +++ b/rpc/utilities/setThresholdsS1ToFFFF.sh @@ -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 index 0000000..910182f --- /dev/null +++ b/rpc/utilities/setThresholdsS1_b.sh @@ -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 index 0000000..c3bbdf4 --- /dev/null +++ b/rpc/utilities/setThresholdsS1_c.sh @@ -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 index 0000000..ee9462b --- /dev/null +++ b/rpc/utilities/setThresholdsS1_d.sh @@ -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 index 0000000..e1ac5d4 --- /dev/null +++ b/rpc/utilities/setThresholdsS2.sh @@ -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 index 0000000..8f11093 --- /dev/null +++ b/rpc/utilities/setThresholdsS2ToFFFF.sh @@ -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 index 0000000..1f09923 --- /dev/null +++ b/rpc/utilities/setThresholdsS2_b.sh @@ -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 index 0000000..77615dc --- /dev/null +++ b/rpc/utilities/setThresholdsS2_c.sh @@ -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 index 0000000..8c7a555 --- /dev/null +++ b/rpc/utilities/setThresholdsS2_d.sh @@ -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 index 0000000..f6ad1a7 --- /dev/null +++ b/rpc/utilities/setThresholdsS3.sh @@ -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 index 0000000..684b1d5 --- /dev/null +++ b/rpc/utilities/setThresholdsS3ToFFFF.sh @@ -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 index 0000000..31c3680 --- /dev/null +++ b/rpc/utilities/setThresholdsS3_b.sh @@ -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 index 0000000..659d9e6 --- /dev/null +++ b/rpc/utilities/setThresholdsS3_c.sh @@ -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 index 0000000..7de60d1 --- /dev/null +++ b/rpc/utilities/setThresholdsS3_d.sh @@ -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 index 0000000..1f18d28 --- /dev/null +++ b/rpc/utilities/setThresholdsS4.sh @@ -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 index 0000000..8d84333 --- /dev/null +++ b/rpc/utilities/setThresholdsS4ToFFFF.sh @@ -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 index 0000000..667e4eb --- /dev/null +++ b/rpc/utilities/setThresholdsS4_b.sh @@ -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 index 0000000..8f6b6d8 --- /dev/null +++ b/rpc/utilities/setThresholdsS4_c.sh @@ -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 index 0000000..3e3503f --- /dev/null +++ b/rpc/utilities/setThresholdsS4_d.sh @@ -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 index 0000000..fd9267c --- /dev/null +++ b/rpc/utilities/setThresholdsS5.sh @@ -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 index 0000000..39f01f4 --- /dev/null +++ b/rpc/utilities/setThresholdsS5ToFFFF.sh @@ -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 index 0000000..d323142 --- /dev/null +++ b/rpc/utilities/setThresholdsS5_b.sh @@ -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 index 0000000..1c4b0eb --- /dev/null +++ b/rpc/utilities/setThresholdsS5_c.sh @@ -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 index 0000000..546af1e --- /dev/null +++ b/rpc/utilities/setThresholdsS5_d.sh @@ -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 index 0000000..dff2454 --- /dev/null +++ b/rpc/utilities/setThresholdsS6.sh @@ -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 index 0000000..2adf5c1 --- /dev/null +++ b/rpc/utilities/setThresholdsS6ToFFFF.sh @@ -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 index 0000000..d26955c --- /dev/null +++ b/rpc/utilities/setThresholdsS6_b.sh @@ -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 index 0000000..c163cde --- /dev/null +++ b/rpc/utilities/setThresholdsS6_c.sh @@ -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 index 0000000..62ffe80 --- /dev/null +++ b/rpc/utilities/setThresholdsS6_d.sh @@ -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 index 0000000..077cc9f --- /dev/null +++ b/rpc/utilities/setTriggerBoardS1.sh @@ -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 index 0000000..1c05342 --- /dev/null +++ b/rpc/utilities/setTriggerBoardS2.sh @@ -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 index 0000000..b756692 --- /dev/null +++ b/rpc/utilities/setTriggerBoardS3.sh @@ -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 index 0000000..d2afd85 --- /dev/null +++ b/rpc/utilities/setTriggerBoardS4.sh @@ -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 index 0000000..e6062a6 --- /dev/null +++ b/rpc/utilities/setTriggerBoardS5.sh @@ -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 index 0000000..6f9fe0c --- /dev/null +++ b/rpc/utilities/setTriggerBoardS6.sh @@ -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 index 0000000..211a54f --- /dev/null +++ b/rpc/utilities/setTriggerBoardSX.sh @@ -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 index 0000000..26ced98 --- /dev/null +++ b/start/ThreshNinoStart.db @@ -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 diff --git a/start/ThreshPadiwaVeto.db b/start/ThreshPadiwaVeto.db index c97fd1b..97cc267 100644 --- a/start/ThreshPadiwaVeto.db +++ b/start/ThreshPadiwaVeto.db @@ -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 @@ -11,28 +11,28 @@ 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 index 0000000..6cb2c35 --- /dev/null +++ b/start/ThreshPadiwaVeto_100mV.db @@ -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 index 0000000..c051d73 --- /dev/null +++ b/start/ThreshPadiwaVeto_125mV.db @@ -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 + + diff --git a/start/startup.script b/start/startup.script index 45ceaf7..d54c893 100644 --- a/start/startup.script +++ b/start/startup.script @@ -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