hmon/qa
hmon/logs
hmon/vertex
+hmon/archive
+trbflash.log
*~
*.bak
*.log
.limbo
bak
*.dev
+old
'rich'=>'RICH',
'ecal'=>'ECal',
'hv'=>'HV',
+ 'hv2'=>'HV',
'misc'=>'misc'};
# Order of categories
"rich",
"ecal",
"hv",
+ "hv2",
"misc",
];
$entries->{'eb'} = ['run', 'rate','bytes', 'lostevt', 'errbits'];
$entries->{'mdc'} = ['token', 'blocked', 'temp', 'linkqual', 'voltage'];
$entries->{'endp'} = ['mdc','rich', 'tof', 'rpc', 'other'];
-$entries->{'feeerr'} = ['trb', 'feeerr','trginp','trgqual','richthr'];
+$entries->{'feeerr'} = ['feeerr','trginp','trgqual','',''];
+$entries->{'rich'} = ['temp','LV','bkpl','isob','richthr'];
+$entries->{'ecal'} = ['temp','count','thr','',''];
+$entries->{'hv'} = ['richhv','ecalhv','rpchv','fwhv','tofhv'];
+$entries->{'hv2'} = ['mdchv','stshv','starthv','sequencer',''];
+$entries->{'misc'} = ['irq','calib','magnet','env',''];
+
+
$entries->{'pion'} = ['nxstatus', 'HV', 'HVcurr', 'cooling','seu'];
-$entries->{'rich'} = ['temp','volt','curr','bkpl','isob'];
-$entries->{'ecal'} = ['temp','count','thr','','starthv'];
-$entries->{'hv'} = ['magnet','mdchv','richhv','ecalhv','sequencer'];
-$entries->{'misc'} = ['irq','calib','tofhv','rpchv','fwhv'];
our $QAServer = "hades33";
our $PadiwaECalNumber = 84;
-our @PadiwaEcalLimits = (0, 1, 2);
+our @PadiwaEcalLimits = (36, 37, 39);
our @LimitTriggerPerSpill = (1000, 0, 0);
our $AcceleratorCycle = 7;
###############################################################################
# Switched off systems
###############################################################################
-our $MdcHvOff = 0;
-our $RichHvOff = 0;
+our $MdcHvOff = 1;
+our $RichHvOff = 1;
our $TofHvOff = 0;
our $RpcHvOff = 0;
-our $FwHvOff = 0;
+our $FwHvOff = 1;
our $MagnetOff = 1;
our @mdc_chambers_removed =();
our @rich_boards_removed =();
our @tof_boards_removed =();
-our @rpc_boards_removed =();
+our @rpc_boards_removed =(0x6010, 0x6011, 0x6012, 0x6030, 0x6031, 0x6032, 0x6033, 0x6034, 0x6035, 0x6036, 0x6051, 0x6052, 0x6053, 0x6054, 0x6055, 0x6056, 0x8a00, 0x8a05);
our @other_boards_removed =();
if($min[0]<3290 || $min[1]<2260 || $min[2]<1260 || $min[3]<1160) {$status = QA::WARN}
if($min[10]<3360 || $min[11]<2260 || $min[12]<1260 || $min[13]<1160) {$status = QA::WARN}
- QA::WriteQALog($fqa,"rich","volt",30,$status,'Voltages',$value,$longtext);
+# QA::WriteQALog($fqa,"rich","volt",30,$status,'Voltages',$value,$longtext);
- $longtext = "Voltage Rail: Current<br>"
+ $longtext .= "Voltage Rail: Current<br>"
."1.1V: $min[20]-$max[20] --- "
."1.2V: $min[21]-$max[21]<br>"
."2.5V: $min[22]-$max[22] --- "
."3.3V: $min[23]-$max[23]<br>";
- $value = '';
- $status = QA::NOSTATE;
- $status = QA::OK;
- QA::WriteQALog($fqa,"rich","curr",30,$status,'Currents',$value,$longtext);
+# $value .= '';
+# $status = QA::NOSTATE;
+# $status = QA::OK;
+ QA::WriteQALog($fqa,"rich","LV",30,$status,'LV',$value,$longtext);
my $timeStamp = localtime();
#TOF -> is TOF, RPC,FW
my @tof_boards =(
-#0x86c0,0x5c00,0x5c01,0x5c02,0x5c03,
-#0x86c1,0x5c10,0x5c11,0x5c12,0x5c13,
-#0x86c2,0x5c20,0x5c21,0x5c22,0x5c23,
+0x86c0,0x5c00,0x5c01,0x5c02,0x5c03,
+0x86c1,0x5c10,0x5c11,0x5c12,0x5c13,
+0x86c2,0x5c20,0x5c21,0x5c22,0x5c23,
0x86c3,0x5c30,0x5c31,0x5c32,0x5c33,
-#0x86c4,0x5c40,0x5c41,0x5c42,0x5c43,
-#0x86c5,0x5c50,0x5c51,0x5c52,0x5c53,
+0x86c4,0x5c40,0x5c41,0x5c42,0x5c43,
+0x86c5,0x5c50,0x5c51,0x5c52,0x5c53,
#0x86c6,0x5c60,0x5c61,0x5c62,0x5c63,
0x84c0,0x84c1,0x84c2,0x84c3,0x84c4,0x84c5,
#RPC -> is ECAL
my @rpc_boards = (
0x8a00,0x8a01,0x8a02,0x8a03,0x8a04,0x8a05,
- #0x6000,0x6001,0x6002,0x6003,0x6004,0x6005,0x6006,
+# 0x6000,0x6001,0x6002,0x6003,0x6004,0x6005,0x6006,
0x6010,0x6011,0x6012,0x6013,0x6014,0x6015,0x6016,
0x6020,0x6021,0x6022,0x6023,0x6024,0x6025,0x6026,
0x6030,0x6031,0x6032,0x6033,0x6034,0x6035,0x6036,
$old = $o;
$oldtime = time();
- sleep 2;
+ sleep 1;
}
use QA;
use HADES::TrbNet;
use HPlot;
-use Perl2Epics;
+#use Perl2Epics;
+
use LWP::Simple;
my $opt_debug = 0;
my $masterurl = 'http://lxhadeb07:8099/';
my $url_prefix = $masterurl . 'Master/BNET/RunPrefix/get.json?field="value"';
-Perl2Epics::Connect("Rate", "HAD:DAQ:EventRate");
+#Perl2Epics::Connect("Rate", "HAD:DAQ:EventRate");
my $spillcount = 0;
$lastres = $res;
print "debug: short:$qashort long:$qalong, spillcount:$spillcount\n" unless $opt_debug==0;
- Perl2Epics::Put("Rate",$evtrate);
- my $dataRate = Perl2Epics::GetAll();
+ #Perl2Epics::Put("Rate",$evtrate);
+ #my $dataRate = Perl2Epics::GetAll();
usleep(250000);
<li style="width:600px;"><a href="monitor.cgi?1-window9x27-busyhist-eventratelong-eventrateshort-StartBars">Main Screen 1</a> Eventrate & Busy
<li style="width:600px;"><a href="monitor.cgi?1-window8x26-busy-DutyFactor-Pt3AcceptRatio-EvtsPerSpill-StartCountSpill">Main Screen 2</a> Spill Info
<li style="width:600px;"><a href="monitor.cgi?1-window14x14-EBSummary-hldlast-CTSRates">Main Screen 3</a> EBs</li>
-<li style="width:600px;"><a href="monitor.cgi?2-window13x18-TofRate-RpcRate-StsRate-EcalSimpleRate">Main Screen 4</a> Tof Rpc STS Ecal rates</li>
+<li style="width:600px;"><a href="monitor.cgi?2-window12x18-TofRate-RpcRate-StsRate-EcalSimpleRate">Main Screen 4</a> Tof Rpc STS Ecal rates</li>
</ul></div>
<div class="linkbox" style="clear:both"><h4>DAQ Network</h4><ul>
$store = {};
for(my $n=0;$n< scalar @srv;$n++) {
my @out = Hmon::qxtimeout("ssh $srv[$n] \"cat /proc/stat \" </dev/null",10);
+ print "$srv[$n]\n";
foreach my $a (@out) {
if($a =~ /cpu(\d+)/) {
my @s = split(/\s/,$a);
# my $res = ($rh_result->{0x3001} || 0) & 0xFFFF;
# JAM2017: try to check rate with tof if rich is not up:
- $rh_result = trb_register_read(0x4c00, 0x1) or $trbneterr = 1;
- my $res = ($rh_result->{0x4c00} || 0) & 0xFFFF;
+ $rh_result = trb_register_read(0x5840, 0x1) or $trbneterr = 1;
+ my $res = ($rh_result->{0x5840} || 0) & 0xFFFF;
$evtrate = $res - ($events || $res);
for (my $d=1;$d<=15;$d++) {
$str .= "<th>$d";
}
- for (my $n=5;$n<=12;$n++) {
+ for (my $n=6;$n<=12;$n++) {
my $hostn=sprintf("lxhadeb%02d", $n);
my @out = Hmon::qxtimeout("ssh $hostn \"df -h \"",10);
foreach my $a (@out) {
--- /dev/null
+#!/usr/bin/perl -w
+
+use warnings;
+use strict;
+use Time::HiRes qw( gettimeofday usleep time );
+use FileHandle;
+use Data::Dumper;
+use POSIX qw/floor ceil/;
+use List::Util qw'max min';
+use IO::Socket;
+use IO::Handle;
+# use Perl2Epics;
+use Encode qw(encode from_to);
+use JSON::XS;
+use Hmon;
+use QA;
+use HPlot;
+
+my $fqa = QA::OpenQAFile();
+
+
+my $plot = ();
+$plot->{name} = "Env";
+$plot->{file} = "files/Environment";
+$plot->{entries} = 1200;
+$plot->{type} = HPlot::TYPE_HISTORY;
+$plot->{output} = HPlot::OUT_PNG;
+$plot->{titles}->[0] = "Temperature";
+$plot->{titles}->[1] = "rel. humidity";
+$plot->{xlabel} = "Minutes";
+$plot->{ylabel} = "°C/%";
+$plot->{sizex} = 630;
+$plot->{sizey} = 220;
+$plot->{ymin} = 5;
+$plot->{ymax} = 80;
+$plot->{xscale} = 10;
+$plot->{nokey} = 1;
+$plot->{buffer} = 1;
+$plot->{storable} = 1;
+$plot->{curves} = 2;
+
+HPlot::PlotInit($plot);
+my $str = Hmon::MakeTitle(8,5,"Environment",0);
+$str .= qq@<img src="%ADDPNG files/Environment.png%" type="image/png">@;
+$str .= Hmon::MakeFooter();
+Hmon::WriteFile("Environment",$str);
+
+while (1) {
+ my $port = IO::Socket::INET->new(PeerAddr => "192.168.103.118", PeerPort => 2323, Proto => "tcp", Type => SOCK_STREAM, Timeout => 2)
+ or (print("Device not found") && return);
+
+ my ($mx,$my,$mz,$t,$p,$h);
+ my $i = 8;
+ while(<$port>) {
+ my $s = $_;
+
+ $mx = $1 if $s =~ /^M_11_0_X\s([-0-9\.]+)/;
+ $my = $1 if $s =~ /^M_11_0_Y\s([-0-9\.]+)/;
+ $mz = $1 if $s =~ /^M_11_0_Z\s([-0-9\.]+)/;
+
+ if ($s =~ /^Temp: ([-0-9\.]+) Pres: ([-0-9\.]+) Humid: ([-0-9\.]+)/) {
+ $t = $1;
+ $p = $2/100;
+ $h = $3;
+ }
+
+ last unless $i--;
+ }
+
+ my $tp = 243.12*((17.62*$t)/(243.12+$t)+log($h/100))/((17.62*243.12)/(243.12+$t)-log($h/100));
+
+ my $value0 = sprintf("%2.1f° / %imbar",$t,$p);
+ my $value = sprintf("%.2fmT / %2.1f%%",sqrt($mx*$mx+$my*$my+$mz*$mz)/1000,$h);
+ my $longtext = sprintf("Mag: %.2fmT<br>Temp: %2.1f°C<br>Pres: %imbar<br>Hum: %2.1f%%<br>dew point: %2.1f°C",sqrt($mx*$mx+$my*$my+$mz*$mz)/1000,$t,$p,$h,$tp);
+
+ QA::WriteQALog($fqa,"misc","env",30,QA::OK,$value0,$value,$longtext);
+
+ HPlot::PlotAdd("Env",$t,0);
+ HPlot::PlotAdd("Env",$h,1);
+ HPlot::PlotDraw("Env");
+ $port->close();
+
+ sleep 9;
+ }
+
if ($QA::FwHvOff == 1) { $qastate = QA::NOTE;}
- QA::WriteQALog($flog,"misc","fwhv",30,$qastate,"FW HV",$value,$longtext);
+ QA::WriteQALog($flog,"hv","fwhv",30,$qastate,"FW HV",$value,$longtext);
usleep(2500000);
my $str = "";
my ($hub_href) = @_;
- $str = Hmon::MakeTitle(20,14,"Hub Monitor",1);
+ $str = Hmon::MakeTitle(20,19,"Hub Monitor",1);
$str .= '<table class="hubmon"><tr><td colspan=5><pre>';
chomp($msg);
$str .= "Status: ";
if ($msg =~ /^OK$/ ) {
- $str .= "<font class='gr'>$msg</font>\n";
+ $str .= "<font class='gr'>$msg</font>";
$log_statMsg_done = 0; # Set back to zero if the error's gone
} else {
- $str .= "<font class='rd'>$msg</font>\n";
+ $str .= "<font class='rd'>$msg</font>";
unless($log_statMsg_done){
system("logger -p local1.info -t DAQ MONHUB \\<E\\> $msg") if($Logger && ! ($msg =~ m/^trbcmd:/));
$log_statMsg_done = 1; # To avoid logging the same error many times
my $nrOfMissBoards = scalar @missBoards;
- $str .= "Missing boards: ";
+# $str .= "Missing boards: ";
if ($nrOfMissBoards == 0 || ($nrOfMissBoards == 1 && $missBoards[0] == 0xfc00)) {
- if ($opt_miss eq "on") {
- $str .= 0;
- } else {
- $str .= "-";
- }
+# if ($opt_miss eq "on") {
+# $str .= 0;
+# } else {
+# $str .= "-";
+# }
$log_missBrds_done = 0; # Set back to zero if the error's gone
} else {
}
}
- $str .= "<font class='rdn'>$cntr</font>";
- $str .= " Addr:";
- $str .= "<font class='rdn'>$miss_msg</font>";
+# $str .= "<font class='rdn'>$cntr</font>";
+# $str .= " Addr:";
+# $str .= "<font class='rdn'>$miss_msg</font>";
# print BOLD RED ON_BLACK "$miss_msg";
$miss_msg = "Missing boards: ".$miss_msg;
#--- Print busy times
#
my $col = 0;
- my $row = 5;
- my $row_max = 20;
+ my $row = 3;
+ my $row_max = 30;
my $col_shift = 25;
my $cntr = 0;
my $busyboardslist = "";
$str .= "\n";
$row += 2;
- if ($row >= 40) {
- $row = 5;
+ if ($row >= 58) {
+ $row = 3;
$str .= "</pre><td><pre> ";
}
if ($fatal_error_counter>3) {
$fatal_error_string .= " (last good check at $last_good_time)";
my $state = $magnet_on?(QA::FATAL):(QA::NOTE);
- QA::WriteQALog($flog,"hv","magnet",$interval+20,$state,$title,$value,$fatal_error_string);
+ QA::WriteQALog($flog,"misc","magnet",$interval+20,$state,$title,$value,$fatal_error_string);
} elsif ($red_error_counter > 0) {
$fatal_error_string .= " (last good check at $last_good_time)";
my $state = $magnet_on?(QA::ERROR):(QA::NOTE);
- QA::WriteQALog($flog,"hv","magnet",$interval+20,$state,$title,$value,$fatal_error_string);
+ QA::WriteQALog($flog,"misc","magnet",$interval+20,$state,$title,$value,$fatal_error_string);
} elsif ($yellow_error_counter > 0) {
$fatal_error_string .= " (last good check at $last_good_time)";
my $state = $magnet_on?(QA::WARN):(QA::NOTE);
- QA::WriteQALog($flog,"hv","magnet",$interval+20,$state,$title,$value,$fatal_error_string);
+ QA::WriteQALog($flog,"misc","magnet",$interval+20,$state,$title,$value,$fatal_error_string);
} else {
$longtext = "Checked at $time";
- QA::WriteQALog($flog,"hv","magnet",$interval+20,QA::OK,$title,$value,$longtext);
+ QA::WriteQALog($flog,"misc","magnet",$interval+20,QA::OK,$title,$value,$longtext);
$last_good_time = $time;
}
$mdcHvMax[1],$mdcHvMax[2],$mdcHvMax[3],$mdcHvMax[4],
$QA::MdcNominalHV[0],$QA::MdcNominalHV[1],$QA::MdcNominalHV[2],$QA::MdcNominalHV[3]
);
- QA::WriteQALog($flog,"hv","mdchv",10,$qastate,"MDC HV",$value,$longtext);
+ QA::WriteQALog($flog,"hv2","mdchv",10,$qastate,"MDC HV",$value,$longtext);
# print Dumper $QA::MdcHVOffsetLimits;
#Generate output file at most once per second
if($oldtime < time) {
$oldtime = scalar time();
- $str = Hmon::MakeTitle(7,13,"Tactical Overview",1);
+ $str = Hmon::MakeTitle(7,14,"Tactical Overview",1);
$str .= "<div class=\"QA\">";
foreach my $c (@{$entries->{'cats'}}) {
$str .= "<div class=\"header\" style=\"clear:both\">$cats->{$c}</div>\n";
Hmon::WriteFile("QA",$str);
-# $str = Hmon::MakeTitle(8,5,"Status Summary",1);
-# $str .= "<table>";
-#
-# $str .= "<tr><td>Trigger Rate<td>".$store->{'main'}->{'rate'}->{'val'} ;
-#
-# if(($store->{'trg'}->{'source'}->{'long'} || '') ne "") {
-# $store->{'trg'}->{'source'}->{'long'} =~ m/sources:\s(.*)/;
-# $str .= "<tr><td>Trigger Source<td>$1";
-# }
-# else {
-# $str .= "<tr><td>Trigger Source<td>N/A";
-# }
-#
-# $str .= "</table>";
-# $str .= Hmon::MakeFooter();
-# Hmon::WriteFile("Summary",$str);
}
}
}
$value = sprintf("HV is OFF");
$longtext = sprintf("HV is OFF");
}
- QA::WriteQALog($flog,"misc","rpchv",30,$qastate,"RPC HV",$value,$longtext);
+ QA::WriteQALog($flog,"hv","rpchv",30,$qastate,"RPC HV",$value,$longtext);
}
$longtxt = "All sequencers running" if $longtxt eq "";
my $value = ((scalar @names)-$count)."/".(scalar @names);
- QA::WriteQALog($flog,"hv","sequencer",20,$qastate,"HV Sequencer",$value,$longtxt);
+ QA::WriteQALog($flog,"hv2","sequencer",20,$qastate,"HV Sequencer",$value,$longtxt);
if($qastate == QA::FATAL) {
if(!($errorcounter%15)){
Hmon::Speak('nobeam', "High Voltage Control is not working");
my $longtext = " Start: ".QA::SciNotation($sv)." V / ".ceil($simin*1000).' - '.ceil($simax*1000)." nA<br>";
$longtext .=" Veto: ".QA::SciNotation($vv)." V / ".ceil($vimin*1000).' - '.ceil($vimax*1000)." nA";
- QA::WriteQALog($flog,"ecal","starthv",30,$qastate,"Start HV",$value,$longtext);
+ QA::WriteQALog($flog,"hv2","starthv",30,$qastate,"Start HV",$value,$longtext);
$value = sprintf("HV is OFF");
$longtext = sprintf("HV is OFF");
}
- QA::WriteQALog($flog,"misc","tofhv",30,$qastate,"TOF HV",$value,$longtext);
+ QA::WriteQALog($flog,"hv","tofhv",30,$qastate,"TOF HV",$value,$longtext);
}
tmux new-session -s cerberus_tunnel -d 'while true; do ssh -R 8888:hades33.gsi.de:80 -R 3060:hades33.gsi.de:80 cerberus.x-matter.uni-frankfurt.de -N -v; sleep 10; done'
fi
+#########
ssh hadesp50 pkill -f speakdaemon.pl
ssh hadesp33 pkill -f speakdaemon.pl
DISPLAY=:0 ssh -f -X lxhadeb06p "ping -i 100 lxhadesdaqp" &>/dev/null &
-sshfs -o allow_other hades-qa@lxhadeb06p:/home/hades-qa/online/mar19/pics/vertex `pwd`/vertex
-sshfs -o allow_other hades-qa@lxhadeb06p:/home/hades-qa/online/mar19/pics `pwd`/qa
+#sshfs -o allow_other hades-qa@lxhadeb06p:/home/hades-qa/online/mar19/pics/vertex `pwd`/vertex
+#sshfs -o allow_other hades-qa@lxhadeb06p:/home/hades-qa/online/mar19/pics `pwd`/qa
+
# sshfs -o allow_other hadaq@lxhadeb06p:/data01/tmp/ `pwd`/pion
#rm ~/trbsoft/hadesdaq/hmon/files/*.htt
+
echo " <Hmon> Starting scripts..."
ls permanent/hmon_*.pl | perl -ne '
print "\t\t".$_;
rm ~/trbsoft/hadesdaq/hmon/files/note.htt
+
ssh hadesp50 'cd /home/hadaq/trbsoft/daq/hmon/; PERL5LIB=. ./speakdaemon.pl 1>/dev/null 2>>/home/hadaq/trbsoft/hadesdaq/hmon/logs/perlerror_speakdaemon' &
ssh hadesp33 'cd /home/hadaq/trbsoft/daq/hmon/; PERL5LIB=. ./speakdaemon.pl 1>/dev/null 2>>/home/hadaq/trbsoft/hadesdaq/hmon/logs/perlerror_speakdaemon' &
body>div>div {
float:left;
- margin: 0px 5px 5px 0;
+ margin: 0px 3px 5px 0;
padding: 0 0 0 0 ;
border: 1px solid #777;
border-width:0 1px 1px 1px;
#Address # S/N # FPGA # Design # TRB #
###################################################
#StartTRB3
-0x8880 0065 5 0 006
-0x8890 1065 5 0 106
+#0x8880 0065 5 0 006
+#0x8890 1065 5 0 106
#new STS2
0x8b10 0715 5 0 071
0x8b13 0315 5 0 031
0x8b14 1575 5 0 157
0x8b15 1545 5 0 154
+
+#new STS1
+ 0x8b00 1255 5 0 125
+ 0x8b01 1085 5 0 108
+ 0x8b02 0645 5 0 064
+ 0x8b03 1185 5 0 118
+
+#new TOF
+ 0x86c0 2415 5 0 0
+ 0x86c1 0885 5 0 0
+ 0x86c2 0065 5 0 0
+ 0x86c3 2425 5 0 0
+ 0x86c4 1135 5 0 0
+ 0x86c5 0945 5 0 0
+
0x84c5 3191 1 0 319
#new TOF sc
- 0x86c3 3071 1 0 307
+# 0x86c3 3071 1 0 307
# Hub # Type # C0 # C5 # C7 #
##########################################################
0x8000 1 0x8000 0 0
-# 0x8100 1 0x8100 0 0
-# 0x8110 1 0x8110 0 0
+# 0x8100 1 0x8100 0 0
+# 0x8110 1 0x8110 0 0
0x83c0 1 0x83c0 1 1
0x83c1 1 0x83c1 1 1
0x83ca 1 0x83ca 1 1
0x83cb 1 0x83cb 1 1
- 0x8400 1 0x8400 1 1
- 0x8410 1 0x8410 1 1
+# 0x8400 1 0x8400 1 1
+# 0x8410 1 0x8410 1 1
0x84c0 1 0x84c0 1 1
0x84c1 1 0x84c1 1 1
0x84c2 1 0x84c2 1 1
# 0x8420 1 0x8420 1 0
- 0x8600 1 0x8600 1 0
- 0x8700 1 0x8700 1 0
+# 0x8600 1 0x8600 1 0
+# 0x8700 1 0x8700 1 0
0x8800 1 0x8800 1 0
0x8810 1 0x8810 1 0
- 0x8880 1 0x8880 1 0
+# 0x8880 1 0x8880 1 0
# 0x8890 1 0x8890 1 0
# 0x8900 1 0x8900 1 0
# 0x8910 1 0x8910 1 0
0x8a04 1 0x8a04 1 1
0x8a05 1 0x8a05 1 1
+ 0x8b00 1 0x8b00 1 1
+ 0x8b01 1 0x8b01 1 1
+ 0x8b02 1 0x8b02 1 1
+ 0x8b03 1 0x8b03 1 1
0x8b10 1 0x8b10 1 1
0x8b11 1 0x8b11 1 1
0x8b12 1 0x8b12 1 1
0x86c4 0 0xc694 0xdead86c4 0xc0a864C4 0xc694 0xc0a8690B 2 # tof hub 4 lxhadeb11
0x86c5 0 0xc695 0xdead86c5 0xc0a864C5 0xc695 0xc0a8690C 2 # tof hub 5 lxhadeb12
0x86c6 0 0xc696 0xdead86c6 0xc0a864C6 0xc696 0xc0a8690C 2 # tof hub 6 lxhadeb12
-
+ 0x8b00 0 0xc6B0 0xdead8b00 0xc0a864D0 0xc6B0 0xc0a86409 1 # STS1 0 lxhadeb09
+ 0x8b01 0 0xc6B1 0xdead8b01 0xc0a864D1 0xc6B1 0xc0a86409 1 # STS1 1 lxhadeb09
+ 0x8b02 0 0xc6B2 0xdead8b02 0xc0a864D2 0xc6B2 0xc0a8690C 1 # STS1 2 lxhadeb12
+ 0x8b03 0 0xc6B3 0xdead8b03 0xc0a864D3 0xc6B3 0xc0a8690C 1 # STS1 3 lxhadeb12
0x8b10 0 0xc6B4 0xdead8b10 0xc0a864D9 0xc6B4 0xc0a8640a 1 # STS2 0 lxhadeb10
0x8b11 0 0xc6B5 0xdead8b11 0xc0a864DA 0xc6B5 0xc0a8640a 1 # STS2 1 lxhadeb10
0x8b12 0 0xc6B6 0xdead8b12 0xc0a864DB 0xc6B6 0xc0a8640a 1 # STS2 2 lxhadeb10
0x86c4 100 0x6b8b62f1 0xac1f 0xc0a8690b 0x0230 0x0578 # tof hub 4 lxhadeb11
0x86c5 100 0x6b8b601f 0xac1f 0xc0a8690c 0x0230 0x0578 # tof hub 5 lxhadeb12
0x86c6 100 0x6b8b601f 0xac1f 0xc0a8690c 0x0230 0x0578 # tof hub 6 lxhadeb12
-
+ 0x8b00 100 0xbaf7cfa1 0x90e2 0xc0a86409 0x0230 0x0578 # STS1 0 lxhadeb09
+ 0x8b01 100 0xbaf7cfa1 0x90e2 0xc0a86409 0x0230 0x0578 # STS1 1 lxhadeb09
+ 0x8b02 100 0x6b8b601f 0xac1f 0xc0a8690c 0x0230 0x0578 # STS1 2 lxhadeb12
+ 0x8b03 100 0x6b8b601f 0xac1f 0xc0a8690c 0x0230 0x0578 # STS1 3 lxhadeb12
0x8b10 100 0xbae2c995 0x90e2 0xc0a8640a 0x0230 0x0578 # STS2 0 lxhadeb10
0x8b11 100 0xbae2c995 0x90e2 0xc0a8640a 0x0230 0x0578 # STS2 1 lxhadeb10
0x8b12 100 0xbae2c995 0x90e2 0xc0a8640a 0x0230 0x0578 # STS2 2 lxhadeb10
load_register register_configgbe_ip.db
!endif
-#Remove TRB3 from this - TODO needs update
- trbcmd w 0xfe11 0x8000 0x8000
- trbcmd w 0x8400 0x8000 0x8000
- trbcmd w 0x8410 0x8000 0x8000
- trbcmd w 0x8600 0x8000 0x8000
- trbcmd w 0x8700 0x8000 0x8000
- trbcmd w 0xfe11 0x8000 0x0000
- trbcmd w 0x8400 0x8000 0x0000
- trbcmd w 0x8410 0x8000 0x0000
- trbcmd w 0x8600 0x8000 0x0000
- trbcmd w 0x8700 0x8000 0x0000
+#Remove TRB3 from this
+# trbcmd w 0xfe15 0x8000 0x8000
+# trbcmd w 0xfe15 0x8000 0x0000
+
trbcmd w 0xfc00 0xc5 0xffff
trbcmd w 0x8000 0xc5 0x5000
-# Set the maximum subevents in the queue for TRB3s
-# trbcmd w 0x8900 0x830e 0x4
-# trbcmd w 0x8910 0x830e 0x4
-# trbcmd w 0x8880 0x830e 0x4
-# trbcmd w 0x8890 0x830e 0x4
#Load hub level setting for time-out for each hub in the system
trbcmd loadbit 0xfe61 0xc5 0xffff0000 0x00080000 #Ecal bkpl master
+ trbcmd loadbit 0x8b00 0xc5 0xffff0000 0x00080000 #STS1
+ trbcmd loadbit 0x8b01 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x8b02 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x8b03 0xc5 0xffff0000 0x00080000
trbcmd loadbit 0x8b10 0xc5 0xffff0000 0x00080000 #STS2
trbcmd loadbit 0x8b11 0xc5 0xffff0000 0x00080000
trbcmd loadbit 0x8b12 0xc5 0xffff0000 0x00080000
trbcmd loadbit 0x8b13 0xc5 0xffff0000 0x00080000
trbcmd loadbit 0x8b14 0xc5 0xffff0000 0x00080000
trbcmd loadbit 0x8b15 0xc5 0xffff0000 0x00080000
+
+ trbcmd loadbit 0x86c0 0xc5 0xffff0000 0x00080000 #TOF
+ trbcmd loadbit 0x86c1 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x86c2 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x86c3 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x86c4 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x86c5 0xc5 0xffff0000 0x00080000
+
+ trbcmd loadbit 0x84c0 0xc5 0xffff0000 0x00080000 #RPC
+ trbcmd loadbit 0x84c1 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x84c2 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x84c3 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x84c4 0xc5 0xffff0000 0x00080000
+ trbcmd loadbit 0x84c5 0xc5 0xffff0000 0x00080000
trbcmd loadbit 0xfe11 0xc5 0xffff0000 0x80300000 #with new hub (with auto-switch-off)
trbcmd loadbit 0xfe15 0xc5 0xffff0000 0x00080000 #MDC hubs
trbcmd loadbit 0xfe66 0xc5 0xffff0000 0x00040000 #trb3sc gbe nobkpl RICH
-
- trbcmd loadbit 0x8401 0xc5 0xffff0000 0x00060000
- trbcmd loadbit 0x8411 0xc5 0xffff0000 0x00060000
- trbcmd loadbit 0x8601 0xc5 0xffff0000 0x00060000
- trbcmd loadbit 0x8701 0xc5 0xffff0000 0x00060000
-
- trbcmd loadbit 0x8400 0xc5 0xffff0000 0x00040000 #rpc
- trbcmd loadbit 0x8410 0xc5 0xffff0000 0x00040000
- trbcmd loadbit 0x8600 0xc5 0xffff0000 0x00040000 #tof
- trbcmd loadbit 0x8700 0xc5 0xffff0000 0x00040000 #wall
-
-# trbcmd loadbit 0x8880 0xc5 0xffff0000 0x00040000 #start
-# trbcmd loadbit 0x8890 0xc5 0xffff0000 0x00040000 #veto
-
-# trbcmd loadbit 0x8900 0xc5 0xffff0000 0x00040000 #pion
-# trbcmd loadbit 0x8910 0xc5 0xffff0000 0x00040000 #pion
-
+
trbcmd loadbit 0x8800 0xc5 0xffff0000 0x00020000
+ trbcmd loadbit 0x8011 0xc5 0xffff0000 0x00020000
trbcmd loadbit 0x8012 0xc5 0xffff0000 0x00020000
trbcmd loadbit 0x8013 0xc5 0xffff0000 0x00020000
+ trbcmd loadbit 0x8014 0xc5 0xffff0000 0x00020000
trbcmd loadbit 0x8015 0xc5 0xffff0000 0x00020000
trbcmd loadbit 0x8016 0xc5 0xffff0000 0x00020000
trbcmd loadbit 0x8017 0xc5 0xffff0000 0x00020000
0x201c 097 1 12 0
0x201d 480 1 12 0
###################################################
-0x2020 365 1 12 0
-0x2021 470 1 12 0
+0x2020 365 1 12 0 ## 365 original
+0x2021 470 1 12 0 ## 470 original
0x2022 312 1 12 0
0x2023 253 1 12 0
0x2024 460 1 12 0
#Plane 2
#OEP # S/N # FPGA # Design # TRB #
###################################################
-0x2100 367 1 12 0
-0x2101 368 1 12 0
-0x2102 158 1 12 0 # exchange 455 to 135 . change 135 to 158
-0x2103 356 1 12 0
-0x2104 321 1 12 0
-0x2105 329 1 12 0
-0x2106 239 1 12 0
-0x2109 095 1 12 0 #20100709: was 349, is now 095
-0x2108 364 1 12 0
-0x2107 311 1 12 0 #20100730: switched 2107 and 2109
-0x210a 452 1 12 0
-0x210b 496 1 12 0
-0x210c 354 1 12 0
-0x210d 276 1 12 0
-0x210e 405 1 12 0
-0x210f 304 1 12 0
+0x2100 367 1 12 0 #ok
+0x2101 368 1 12 0 #ok
+0x2102 158 1 12 0 #ok # exchange 455 to 135 . change 135 to 158
+0x2103 356 1 12 0 #ok
+0x2104 321 1 12 0 #ok
+0x2105 329 1 12 0 #ok
+0x2106 239 1 12 0 #ok
+0x2109 095 1 12 0 #ok #20100709: was 349, is now 095
+0x2108 364 1 12 0 #ok
+0x2107 311 1 12 0 #ok #20100730: switched 2107 and 2109
+0x210a 452 1 12 0 #ok
+0x210b 496 1 12 0 #ok
+0x210c 354 1 12 0 #ok
+0x210d 276 1 12 0 #ok
+0x210e 405 1 12 0 #ok
+0x210f 304 1 12 0 #ok
###################################################
0x2110 375 1 12 0
0x2111 475 1 12 0
trbcmd setbit 0xfe11 0x22 0x08000000 #enable retransmission on mdchub
trbcmd w 0xfffd 0x20 0x30 # Clear statistics registers
+ trbcmd w 0xfe15 0x4100 1
use lib '/home/epics/EPICS/EPICS-3.16.1/base/' . '/lib/perl';
use CA;
-$ENV{EPICS_CA_AUTO_ADDR_LIST} = 'NO';
+#JAM 2020: back to default after EBs are done with epics
+$ENV{EPICS_CA_AUTO_ADDR_LIST} = 'YES';
+#$ENV{EPICS_CA_AUTO_ADDR_LIST} = 'NO';
#JAM2018: updated after network mask redefinition:
-$ENV{EPICS_CA_ADDR_LIST} = "192.168.111.255 192.168.111.255:10012 192.168.111.255:10008 192.168.111.255:10003 192.168.111.255:10002 192.168.111.255:10001 192.168.111.255:10014 192.168.111.255:10007 192.168.111.255:10004 192.168.111.255:10010 192.168.111.255:10013 192.168.111.255:10015 192.168.111.255:10016 192.168.111.255:10009 192.168.111.255:10005 192.168.111.255:10011 192.168.111.255:10006 localhost";
+#$ENV{EPICS_CA_ADDR_LIST} = "192.168.111.255 192.168.111.255:10012 192.168.111.255:10008 192.168.111.255:10003 192.168.111.255:10002 192.168.111.255:10001 192.168.111.255:10014 192.168.111.255:10007 192.168.111.255:10004 192.168.111.255:10010 192.168.111.255:10013 192.168.111.255:10015 192.168.111.255:10016 192.168.111.255:10009 192.168.111.255:10005 192.168.103.83:10011 192.168.111.255:10006 localhost";
+#$ENV{EPICS_CA_ADDR_LIST} = "192.168.111.255:10006 192.168.111.255:10010 192.168.111.255:10011 192.168.111.255:10012 192.168.111.255:10013 192.168.111.255:10014 192.168.111.255:10015 192.168.111.255:10016 192.168.111.255:10017 192.168.111.255:10018 192.168.111.255:10019";
+#$ENV{EPICS_CA_ADDR_LIST} = "192.168.103.83:10000 192.168.103.83:10008 192.168.103.83:10003 192.168.103.83:10002 192.168.111.255:10001";
+#$ENV{EPICS_CA_ADDR_LIST} = "192.168.103.83 192.168.103.83:10012 192.168.103.83:10008 192.168.103.83:10003 192.168.103.83:10002 192.168.103.83:10001 192.168.103.83:10014 192.168.103.83:10007 192.168.103.83:10004 192.168.103.83:10010 192.168.103.83:10013 192.168.103.83:10015 192.168.103.83:10016 192.168.103.83:10009 192.168.103.83:10005 192.168.103.83:10011 192.168.103.83:10006 localhost";
+
+
#
# JAM added fixed port numbers of EB epics
#$ENV{EPICS_CA_ADDR_LIST} = "192.168.103.255 192.168.103.255:10012 192.168.103.255:10008 192.168.103.255:10003 192.168.103.255:10002 192.168.103.255:10001 192.168.103.255:10014 192.168.103.255:10007 192.168.103.255:10004 192.168.103.255:10010 192.168.103.255:10013 192.168.103.255:10015 192.168.103.255:10016 192.168.103.255:10009 192.168.103.255:10005 192.168.103.255:10011 192.168.103.255:10006 localhost";
my $time;
my $val;
- Update(0.001);
+ #Update(0.001);
+ Update(0.2);
foreach my $el (keys %{$EpicsNames}) {
my $varname = $EpicsNames->{$el};
return (-1, 0);
}
- Update(0.00001);
-
+ #Update(0.00001);
+ Update(0.2);
+
if (scalar @{$EpicsStore->{$varname}->{tme}} > 0) {
if(defined $latest && $latest == 1) {
$time = (@{$EpicsStore->{$varname}->{tme}})[-1];
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
cd /home/hadaq/oper/daq2ora/
/home/hadaq/trbsoft/daq/oracle/daq2ora_client.pl -d -o >/dev/null 2>&1 &
-#/home/hadaq/trbsoft/daq/oracle/daq2ora_client.pl -d -o &
-echo daq2ora demonized
\ No newline at end of file
+#/home/hadaq/trbsoft/daq/oracle/daq2ora_client.pl -o
+echo daq2ora demonized
+++ /dev/null
-#Address # S/N # FPGA # Design # TRB #
-###################################################
-
-# serials are 3 digits, no trailing '0'
-
-0x8204 1 0 0 1
-0x8205 1 0 0 1
-0x8206 1 0 0 1
-0x8211 1 0 0 1
-0x8212 1 0 0 1
-0x8213 1 0 0 1
-0x8214 1 0 0 1
-0x8215 089 0 0 1
-0x8216 087 0 0 1
-0x8217 023 0 0 1
-0x8218 1 0 0 1
-0x8221 1 0 0 1
-0x8222 1 0 0 1
-0x8223 1 0 0 1
-0x8224 1 0 0 1
-0x8225 1 0 0 1
-0x8226 093 0 0 1
-0x8227 090 0 0 1
-0x8228 014 0 0 1
-0x8229 092 0 0 1
-0x8231 1 0 0 1
-0x8239 106 0 0 1
-0x8240 1 0 0 1
-0x8241 1 0 0 1
-0x8242 1 0 0 1
-0x8243 1 0 0 1
-0x8244 1 0 0 1
-0x8245 1 0 0 1
-0x8246 016 0 0 1
-0x8247 018 0 0 1
-0x8248 015 0 0 1
-0x8249 104 0 0 1
-0x824a 1 0 0 1
-0x8250 1 0 0 1
-0x8251 1 0 0 1
-0x8252 1 0 0 1
-0x8254 1 0 0 1
-0x8256 102 0 0 1
-0x8258 021 0 0 1
-0x8259 091 0 0 1
-0x825a 1 0 0 1
-0x8260 1 0 0 1
-0x8261 1 0 0 1
-0x8262 1 0 0 1
-0x8263 1 0 0 1
-0x8264 1 0 0 1
-0x8265 1 0 0 1
-0x8266 109 0 0 1
-0x8267 078 0 0 1
-0x8268 012 0 0 1
-0x8269 105 0 0 1
-0x826a 011 0 0 1
-0x8271 1 0 0 1
-0x8279 022 0 0 1
-0x8281 1 0 0 1
-0x8282 1 0 0 1
-0x8283 1 0 0 1
-0x8284 1 0 0 1
-0x8285 1 0 0 1
-0x8286 107 0 0 1
-0x8287 019 0 0 1
-0x8288 017 0 0 1
-0x8289 010 0 0 1
-0x8291 1 0 0 1
-0x8292 1 0 0 1
-0x8293 1 0 0 1
-0x8294 1 0 0 1
-0x8295 020 0 0 1
-0x8296 108 0 0 1
-0x8297 025 0 0 1
-0x8298 1 0 0 1
-0x82a4 1 0 0 1
-0x82a5 1 0 0 1
-0x82a6 1 0 0 1
+++ /dev/null
-#Address # S/N # FPGA # Design # TRB #
-###################################################
-
-# serials are 3 digits, no trailing '0'
-
-0x8204 068 0 0 1
-0x8205 1 0 0 1
-0x8206 076 0 0 1
-0x8211 1 0 0 1
-0x8212 067 0 0 1
-0x8213 077 0 0 1
-0x8214 080 0 0 1
-0x8215 089 0 0 1
-0x8216 087 0 0 1
-0x8217 023 0 0 1
-0x8218 1 0 0 1
-0x8221 053 0 0 1
-0x8222 099 0 0 1
-0x8223 066 0 0 1
-0x8224 088 0 0 1
-0x8225 084 0 0 1
-0x8226 093 0 0 1
-0x8227 090 0 0 1
-0x8228 014 0 0 1
-0x8229 092 0 0 1
-0x8231 052 0 0 1
-0x8239 106 0 0 1
-0x8240 1 0 0 1
-0x8241 074 0 0 1
-0x8242 096 0 0 1
-0x8243 071 0 0 1
-0x8244 083 0 0 1
-0x8245 061 0 0 1
-0x8246 016 0 0 1
-0x8247 018 0 0 1
-0x8248 015 0 0 1
-0x8249 104 0 0 1
-0x824a 085 0 0 1
-0x8250 1 0 0 1
-0x8251 1 0 0 1
-0x8252 094 0 0 1
-0x8254 051 0 0 1
-0x8256 102 0 0 1
-0x8258 021 0 0 1
-0x8259 091 0 0 1
-0x825a 1 0 0 1
-0x8260 095 0 0 1
-0x8261 043 0 0 1
-0x8262 064 0 0 1
-0x8263 069 0 0 1
-0x8264 072 0 0 1
-0x8265 086 0 0 1
-0x8266 109 0 0 1
-0x8267 078 0 0 1
-0x8268 012 0 0 1
-0x8269 105 0 0 1
-0x826a 011 0 0 1
-0x8271 065 0 0 1
-0x8279 022 0 0 1
-0x8281 063 0 0 1
-0x8282 070 0 0 1
-0x8283 073 0 0 1
-0x8284 075 0 0 1
-0x8285 044 0 0 1 #was 13
-0x8286 107 0 0 1
-0x8287 019 0 0 1
-0x8288 017 0 0 1
-0x8289 010 0 0 1
-0x8291 1 0 0 1
-0x8292 100 0 0 1
-0x8293 098 0 0 1
-0x8294 079 0 0 1
-0x8295 050 0 0 1 #was 20
-0x8296 108 0 0 1
-0x8297 025 0 0 1
-0x8298 1 0 0 1
-0x82a4 082 0 0 1
-0x82a5 1 0 0 1
-0x82a6 081 0 0 1
0x8294 079 0 0 1
0x8295 050 0 0 1 #was 20
0x8296 108 0 0 1
-0x8297 025 0 0 1
-0x8298 045 0 0 1
+0x8297 033 0 0 1 # was 25
+0x8298 036 0 0 1 # was 45
0x82a4 082 0 0 1
0x82a5 048 0 0 1
0x82a6 081 0 0 1
-addresses_dirich.db_20190213
\ No newline at end of file
+addresses_dirich.db_20200525
\ No newline at end of file
+++ /dev/null
-#Address # S/N # FPGA # Design # TRB #
-###################################################
-0x7000 0001 1 0 1
-0x7001 1 1 0 1
-0x7010 1 1 0 1
-0x7011 1 1 0 1
-0x7020 1 1 0 1
-0x7021 1 1 0 1
-0x7030 1 1 0 1
-0x7031 1 1 0 1
-0x7040 1 1 0 1
-0x7041 1 1 0 1
-0x7050 1 1 0 1
-0x7051 1 1 0 1
-0x7060 1 1 0 1
-0x7061 1 1 0 1
-0x7070 1 1 0 1
-0x7071 1 1 0 1
-0x7080 1 1 0 1
-0x7081 1 1 0 1
-0x7090 1 1 0 1
-0x7091 1 1 0 1
-0x70a0 1 1 0 1
-0x70a1 1 1 0 1
-0x70b0 1 1 0 1
-0x70b1 1 1 0 1
-0x7100 1 1 0 1
-0x7101 1 1 0 1
-0x7110 1 1 0 1
-0x7111 1 1 0 1
-0x7120 1 1 0 1
-0x7121 1 1 0 1
-0x7130 1 1 0 1
-0x7131 1 1 0 1
-0x7140 1 1 0 1
-0x7141 1 1 0 1
-0x7150 1 1 0 1
-0x7151 1 1 0 1
-0x7160 1 1 0 1
-0x7161 1 1 0 1
-0x7170 1 1 0 1
-0x7171 1 1 0 1
-0x7180 1 1 0 1
-0x7181 1 1 0 1
-0x7190 1 1 0 1
-0x7191 1 1 0 1
-0x71a0 1 1 0 1
-0x71a1 1 1 0 1
-0x71b0 1 1 0 1
-0x71b1 1 1 0 1
-0x7200 1 1 0 1
-0x7201 1 1 0 1
-0x7210 1 1 0 1
-0x7211 1 1 0 1
-0x7220 1 1 0 1
-0x7221 1 1 0 1
-0x7230 1 1 0 1
-0x7231 1 1 0 1
-0x7240 1 1 0 1
-0x7241 1 1 0 1
-0x7250 1 1 0 1
-0x7251 1 1 0 1
-0x7260 1 1 0 1
-0x7261 1 1 0 1
-0x7270 1 1 0 1
-0x7271 1 1 0 1
-0x7280 1 1 0 1
-0x7281 1 1 0 1
-0x7290 1 1 0 1
-0x7291 1 1 0 1
-0x72a0 1 1 0 1
-0x72a1 1 1 0 1
-0x72b0 1 1 0 1
-0x72b1 1 1 0 1
-0x7300 1 1 0 1
-0x7301 1 1 0 1
-0x7310 1 1 0 1
-0x7311 1 1 0 1
-0x7320 1 1 0 1
-0x7321 1 1 0 1
-0x7330 1 1 0 1
-0x7331 1 1 0 1
-0x7340 1 1 0 1
-0x7341 1 1 0 1
-0x7350 1 1 0 1
-0x7351 1 1 0 1
-0x7360 1 1 0 1
-0x7361 1 1 0 1
-0x7370 1 1 0 1
-0x7371 1 1 0 1
-0x7380 1 1 0 1
-0x7381 1 1 0 1
-0x7390 1 1 0 1
-0x7391 1 1 0 1
-0x73a0 1 1 0 1
-0x73a1 1 1 0 1
-0x73b0 1 1 0 1
-0x73b1 1 1 0 1
-0x7400 1 1 0 1
-0x7401 1 1 0 1
-0x7410 1 1 0 1
-0x7411 1 1 0 1
-0x7420 1 1 0 1
-0x7421 1 1 0 1
-0x7430 1 1 0 1
-0x7431 1 1 0 1
-0x7440 1 1 0 1
-0x7441 1 1 0 1
-0x7450 1 1 0 1
-0x7451 1 1 0 1
-0x7460 1 1 0 1
-0x7461 1 1 0 1
-0x7470 1 1 0 1
-0x7471 1 1 0 1
-0x7480 1 1 0 1
-0x7481 1 1 0 1
-0x7490 1 1 0 1
-0x7491 1 1 0 1
-0x7500 1 1 0 1
-0x7501 1 1 0 1
-0x7510 1 1 0 1
-0x7511 1 1 0 1
-0x7520 1 1 0 1
-0x7521 1 1 0 1
-0x7530 1 1 0 1
-0x7531 1 1 0 1
-0x7540 1 1 0 1
-0x7541 1 1 0 1
-0x7550 1 1 0 1
-0x7551 1 1 0 1
-0x7560 1 1 0 1
-0x7561 1 1 0 1
-0x7570 1 1 0 1
-0x7571 1 1 0 1
-0x7580 1 1 0 1
-0x7581 1 1 0 1
-0x7590 1 1 0 1
-0x7591 1 1 0 1
-0x7600 1 1 0 1
-0x7601 1 1 0 1
-0x7610 1 1 0 1
-0x7611 1 1 0 1
-0x7620 1 1 0 1
-0x7621 1 1 0 1
-0x7630 1 1 0 1
-0x7631 1 1 0 1
-0x7640 1 1 0 1
-0x7641 1 1 0 1
-0x7650 1 1 0 1
-0x7651 1 1 0 1
-0x7660 1 1 0 1
-0x7661 1 1 0 1
-0x7670 1 1 0 1
-0x7671 1 1 0 1
-0x7680 1 1 0 1
-0x7681 1 1 0 1
-0x7690 1 1 0 1
-0x7691 1 1 0 1
-0x7700 1 1 0 1
-0x7701 1 1 0 1
-0x7710 1 1 0 1
-0x7711 1 1 0 1
-0x7720 1 1 0 1
-0x7721 1 1 0 1
-0x7730 1 1 0 1
-0x7731 1 1 0 1
-0x7740 1 1 0 1
-0x7741 1 1 0 1
-0x7750 1 1 0 1
-0x7751 1 1 0 1
-0x7760 1 1 0 1
-0x7761 1 1 0 1
-0x7770 1 1 0 1
-0x7771 1 1 0 1
-0x7800 1 1 0 1
-0x7801 1 1 0 1
-0x7810 1 1 0 1
-0x7811 1 1 0 1
-0x7820 1 1 0 1
-0x7821 1 1 0 1
-0x7830 1 1 0 1
-0x7831 1 1 0 1
-0x7840 1 1 0 1
-0x7841 1 1 0 1
-0x7850 1 1 0 1
-0x7851 1 1 0 1
-0x7860 1 1 0 1
-0x7861 1 1 0 1
-0x7870 1 1 0 1
-0x7871 1 1 0 1
-0x7900 1 1 0 1
-0x7901 1 1 0 1
-0x7910 1 1 0 1
-0x7911 1 1 0 1
-0x7920 1 1 0 1
-0x7921 1 1 0 1
-0x7930 1 1 0 1
-0x7931 1 1 0 1
-0x7940 1 1 0 1
-0x7941 1 1 0 1
-0x7950 1 1 0 1
-0x7951 1 1 0 1
-0x7a00 1 1 0 1
-0x7a01 1 1 0 1
-0x7a10 1 1 0 1
-0x7a11 1 1 0 1
-0x7a20 1 1 0 1
-0x7a21 1 1 0 1
-0x7a30 1 1 0 1
-0x7a31 1 1 0 1
-0x7b00 1 1 0 1
-0x7b01 1 1 0 1
-0x7b10 1 1 0 1
-0x7b11 1 1 0 1
-0x7b20 1 1 0 1
-0x7b21 1 1 0 1
-0x7b30 1 1 0 1
-0x7b31 1 1 0 1
-0x7002 1 1 0 1
-0x7003 1 1 0 1
-0x7012 0159 1 0 1
-0x7013 0054 1 0 1
-0x7022 0056 1 0 1
-0x7023 0058 1 0 1
-0x7032 0153 1 0 1
-0x7033 0161 1 0 1
-0x7042 0152 1 0 1
-0x7043 0157 1 0 1
-0x7052 0150 1 0 1
-0x7053 0169 1 0 1
-0x7062 0052 1 0 1
-0x7063 0060 1 0 1
-0x7072 0099 1 0 1
-0x7073 0069 1 0 1
-0x7082 0095 1 0 1
-0x7083 0120 1 0 1
-0x7092 0085 1 0 1
-0x7093 0061 1 0 1
-0x70a2 1 1 0 1
-0x70a3 1 1 0 1
-0x70b2 1 1 0 1
-0x70b3 1 1 0 1
-0x7102 1 1 0 1
-0x7103 1 1 0 1
-0x7112 0423 1 0 1
-0x7113 0132 1 0 1
-0x7122 0403 1 0 1
-0x7123 0412 1 0 1
-0x7132 0356 1 0 1
-0x7133 0219 1 0 1
-0x7142 0375 1 0 1
-0x7143 0405 1 0 1
-0x7152 0162 1 0 1
-0x7153 0171 1 0 1
-0x7162 0148 1 0 1
-0x7163 0149 1 0 1
-0x7172 0265 1 0 1
-0x7173 0263 1 0 1
-0x7182 0324 1 0 1
-0x7183 0326 1 0 1
-0x7192 0086 1 0 1
-0x7193 0264 1 0 1
-0x71a2 1 1 0 1
-0x71a3 1 1 0 1
-0x71b2 1 1 0 1
-0x71b3 1 1 0 1
-0x7202 1 1 0 1
-0x7203 1 1 0 1
-0x7212 0220 1 0 1
-0x7213 0241 1 0 1
-0x7222 0429 1 0 1
-0x7223 0249 1 0 1
-0x7232 0398 1 0 1
-0x7233 0408 1 0 1
-0x7242 0385 1 0 1
-0x7243 0393 1 0 1
-0x7252 0170 1 0 1
-0x7253 0167 1 0 1
-0x7262 0172 1 0 1
-0x7263 0168 1 0 1
-0x7272 0319 1 0 1
-0x7273 0278 1 0 1
-0x7282 0271 1 0 1
-0x7283 0270 1 0 1
-0x7292 0106 1 0 1
-0x7293 0309 1 0 1
-0x72a2 1 1 0 1
-0x72a3 1 1 0 1
-0x72b2 1 1 0 1
-0x72b3 1 1 0 1
-0x7302 1 1 0 1
-0x7303 1 1 0 1
-0x7312 0250 1 0 1
-0x7313 0239 1 0 1
-0x7322 0224 1 0 1
-0x7323 0253 1 0 1
-0x7332 0380 1 0 1
-0x7333 0381 1 0 1
-0x7342 0392 1 0 1
-0x7343 0400 1 0 1
-0x7352 0055 1 0 1
-0x7353 0166 1 0 1
-0x7362 0164 1 0 1
-0x7363 0165 1 0 1
-0x7372 0247 1 0 1
-0x7373 0364 1 0 1
-0x7382 0140 1 0 1
-0x7383 0240 1 0 1
-0x7392 0442 1 0 1
-0x7393 0059 1 0 1
-0x73a2 1 1 0 1
-0x73a3 1 1 0 1
-0x73b2 1 1 0 1
-0x73b3 1 1 0 1
-0x7402 1 1 0 1
-0x7403 1 1 0 1
-0x7412 1 1 0 1
-0x7413 1 1 0 1
-0x7422 1 1 0 1
-0x7423 1 1 0 1
-0x7432 1 1 0 1
-0x7433 1 1 0 1
-0x7442 1 1 0 1
-0x7443 1 1 0 1
-0x7452 0397 1 0 1
-0x7453 0406 1 0 1
-0x7462 0384 1 0 1
-0x7463 0388 1 0 1
-0x7472 0131 1 0 1
-0x7473 0373 1 0 1
-0x7482 0133 1 0 1
-0x7483 0359 1 0 1
-0x7492 0145 1 0 1
-0x7493 0160 1 0 1
-0x7502 1 1 0 1
-0x7503 1 1 0 1
-0x7512 1 1 0 1
-0x7513 1 1 0 1
-0x7522 1 1 0 1
-0x7523 1 1 0 1
-0x7532 1 1 0 1
-0x7533 1 1 0 1
-0x7542 1 1 0 1
-0x7543 1 1 0 1
-0x7552 0421 1 0 1
-0x7553 0396 1 0 1
-0x7562 0394 1 0 1
-0x7563 0395 1 0 1
-0x7572 0401 1 0 1
-0x7573 0404 1 0 1
-0x7582 0372 1 0 1
-0x7583 0387 1 0 1
-0x7592 0374 1 0 1
-0x7593 0366 1 0 1
-0x7602 1 1 0 1
-0x7603 1 1 0 1
-0x7612 1 1 0 1
-0x7613 1 1 0 1
-0x7622 1 1 0 1
-0x7623 1 1 0 1
-0x7632 1 1 0 1
-0x7633 1 1 0 1
-0x7642 1 1 0 1
-0x7643 1 1 0 1
-0x7652 0419 1 0 1
-0x7653 0414 1 0 1
-0x7662 0413 1 0 1
-0x7663 0415 1 0 1
-0x7672 0371 1 0 1
-0x7673 0376 1 0 1
-0x7682 0370 1 0 1
-0x7683 0399 1 0 1
-0x7692 0386 1 0 1
-0x7693 0369 1 0 1
-0x7702 1 1 0 1
-0x7703 1 1 0 1
-0x7712 1 1 0 1
-0x7713 1 1 0 1
-0x7722 1 1 0 1
-0x7723 1 1 0 1
-0x7732 1 1 0 1
-0x7733 1 1 0 1
-0x7742 1 1 0 1
-0x7743 1 1 0 1
-0x7752 1 1 0 1
-0x7753 1 1 0 1
-0x7762 1 1 0 1
-0x7763 1 1 0 1
-0x7772 1 1 0 1
-0x7773 1 1 0 1
-0x7802 1 1 0 1
-0x7803 1 1 0 1
-0x7812 1 1 0 1
-0x7813 1 1 0 1
-0x7822 1 1 0 1
-0x7823 1 1 0 1
-0x7832 1 1 0 1
-0x7833 1 1 0 1
-0x7842 1 1 0 1
-0x7843 1 1 0 1
-0x7852 1 1 0 1
-0x7853 1 1 0 1
-0x7862 1 1 0 1
-0x7863 1 1 0 1
-0x7872 1 1 0 1
-0x7873 1 1 0 1
-0x7902 1 1 0 1
-0x7903 1 1 0 1
-0x7912 1 1 0 1
-0x7913 1 1 0 1
-0x7922 1 1 0 1
-0x7923 1 1 0 1
-0x7932 1 1 0 1
-0x7933 1 1 0 1
-0x7942 1 1 0 1
-0x7943 1 1 0 1
-0x7952 1 1 0 1
-0x7953 1 1 0 1
-0x7a02 1 1 0 1
-0x7a03 1 1 0 1
-0x7a12 1 1 0 1
-0x7a13 1 1 0 1
-0x7a22 1 1 0 1
-0x7a23 1 1 0 1
-0x7a32 1 1 0 1
-0x7a33 1 1 0 1
-0x7b02 1 1 0 1
-0x7b03 1 1 0 1
-0x7b12 1 1 0 1
-0x7b13 1 1 0 1
-0x7b22 1 1 0 1
-0x7b23 1 1 0 1
-0x7b32 1 1 0 1
-0x7b33 1 1 0 1
-0x7004 1 1 0 1
-0x7005 1 1 0 1
-0x7014 0144 1 0 1
-0x7015 0143 1 0 1
-0x7024 0142 1 0 1
-0x7025 0147 1 0 1
-0x7034 0050 1 0 1
-0x7035 0277 1 0 1
-0x7044 0254 1 0 1
-0x7045 0151 1 0 1
-0x7054 0146 1 0 1
-0x7055 0154 1 0 1
-0x7064 0262 1 0 1
-0x7065 0260 1 0 1
-0x7074 0118 1 0 1
-0x7075 0081 1 0 1
-0x7084 0075 1 0 1
-0x7085 0087 1 0 1
-0x7094 0071 1 0 1
-0x7095 0096 1 0 1
-0x70a4 1 1 0 1
-0x70a5 1 1 0 1
-0x70b4 1 1 0 1
-0x70b5 1 1 0 1
-0x7104 1 1 0 1
-0x7105 1 1 0 1
-0x7114 1 1 0 1
-0x7115 1 1 0 1
-0x7124 1 1 0 1
-0x7125 1 1 0 1
-0x7134 0267 1 0 1
-0x7135 0266 1 0 1
-0x7144 0268 1 0 1
-0x7145 0269 1 0 1
-0x7154 0318 1 0 1
-0x7155 0314 1 0 1
-0x7164 0305 1 0 1
-0x7165 0290 1 0 1
-0x7174 0112 1 0 1
-0x7175 0079 1 0 1
-0x7184 0092 1 0 1
-0x7185 0114 1 0 1
-0x7194 0100 1 0 1
-0x7195 0115 1 0 1
-0x71a4 0534 1 0 1
-0x71a5 0080 1 0 1
-0x71b4 0537 1 0 1
-0x71b5 0067 1 0 1
-0x7204 1 1 0 1
-0x7205 1 1 0 1
-0x7214 1 1 0 1
-0x7215 1 1 0 1
-0x7224 1 1 0 1
-0x7225 1 1 0 1
-0x7234 0334 1 0 1
-0x7235 0259 1 0 1
-0x7244 0255 1 0 1
-0x7245 0257 1 0 1
-0x7254 0283 1 0 1
-0x7255 0310 1 0 1
-0x7264 0280 1 0 1
-0x7265 0294 1 0 1
-0x7274 0548 1 0 1
-0x7275 0094 1 0 1
-0x7284 0068 1 0 1
-0x7285 0108 1 0 1
-0x7294 0116 1 0 1
-0x7295 0117 1 0 1
-0x72a4 0518 1 0 1
-0x72a5 0530 1 0 1
-0x72b4 0528 1 0 1
-0x72b5 0550 1 0 1
-0x7304 1 1 0 1
-0x7305 1 1 0 1
-0x7314 1 1 0 1
-0x7315 1 1 0 1
-0x7324 1 1 0 1
-0x7325 1 1 0 1
-0x7334 0331 1 0 1
-0x7335 0256 1 0 1
-0x7344 0332 1 0 1
-0x7345 0336 1 0 1
-0x7354 0301 1 0 1
-0x7355 0295 1 0 1
-0x7364 0291 1 0 1
-0x7365 0300 1 0 1
-0x7374 0122 1 0 1
-0x7375 0097 1 0 1
-0x7384 0124 1 0 1
-0x7385 0102 1 0 1
-0x7394 0127 1 0 1
-0x7395 0113 1 0 1
-0x73a4 0539 1 0 1
-0x73a5 0524 1 0 1
-0x73b4 0541 1 0 1
-0x73b5 0545 1 0 1
-0x7404 1 1 0 1
-0x7405 1 1 0 1
-0x7414 1 1 0 1
-0x7415 1 1 0 1
-0x7424 1 1 0 1
-0x7425 1 1 0 1
-0x7434 0335 1 0 1
-0x7435 0285 1 0 1
-0x7444 0315 1 0 1
-0x7445 0333 1 0 1
-0x7454 0292 1 0 1
-0x7455 0298 1 0 1
-0x7464 0289 1 0 1
-0x7465 0293 1 0 1
-0x7474 0088 1 0 1
-0x7475 0103 1 0 1
-0x7484 0129 1 0 1
-0x7485 0111 1 0 1
-0x7494 0104 1 0 1
-0x7495 0090 1 0 1
-0x7504 1 1 0 1
-0x7505 1 1 0 1
-0x7514 1 1 0 1
-0x7515 1 1 0 1
-0x7524 1 1 0 1
-0x7525 1 1 0 1
-0x7534 0311 1 0 1
-0x7535 0306 1 0 1
-0x7544 0303 1 0 1
-0x7545 0313 1 0 1
-0x7554 0274 1 0 1
-0x7555 0299 1 0 1
-0x7564 0288 1 0 1
-0x7565 0275 1 0 1
-0x7574 0066 1 0 1
-0x7575 0128 1 0 1
-0x7584 0070 1 0 1
-0x7585 0089 1 0 1
-0x7594 0072 1 0 1
-0x7595 0077 1 0 1
-0x7604 1 1 0 1
-0x7605 1 1 0 1
-0x7614 1 1 0 1
-0x7615 1 1 0 1
-0x7624 1 1 0 1
-0x7625 1 1 0 1
-0x7634 0316 1 0 1
-0x7635 0317 1 0 1
-0x7644 0308 1 0 1
-0x7645 0304 1 0 1
-0x7654 0286 1 0 1
-0x7655 0284 1 0 1
-0x7664 0323 1 0 1
-0x7665 0329 1 0 1
-0x7674 0078 1 0 1
-0x7675 0093 1 0 1
-0x7684 0091 1 0 1
-0x7685 0073 1 0 1
-0x7694 0084 1 0 1
-0x7695 0076 1 0 1
-0x7704 1 1 0 1
-0x7705 1 1 0 1
-0x7714 1 1 0 1
-0x7715 1 1 0 1
-0x7724 1 1 0 1
-0x7725 1 1 0 1
-0x7734 1 1 0 1
-0x7735 1 1 0 1
-0x7744 0321 1 0 1
-0x7745 0281 1 0 1
-0x7754 0330 1 0 1
-0x7755 0327 1 0 1
-0x7764 1 1 0 1
-0x7765 1 1 0 1
-0x7774 1 1 0 1
-0x7775 1 1 0 1
-0x7804 1 1 0 1
-0x7805 1 1 0 1
-0x7814 1 1 0 1
-0x7815 1 1 0 1
-0x7824 1 1 0 1
-0x7825 1 1 0 1
-0x7834 1 1 0 1
-0x7835 1 1 0 1
-0x7844 0325 1 0 1
-0x7845 0282 1 0 1
-0x7854 0287 1 0 1
-0x7855 0279 1 0 1
-0x7864 1 1 0 1
-0x7865 1 1 0 1
-0x7874 1 1 0 1
-0x7875 1 1 0 1
-0x7904 1 1 0 1
-0x7905 1 1 0 1
-0x7914 1 1 0 1
-0x7915 1 1 0 1
-0x7924 1 1 0 1
-0x7925 1 1 0 1
-0x7934 1 1 0 1
-0x7935 1 1 0 1
-0x7944 0320 1 0 1
-0x7945 0276 1 0 1
-0x7954 0328 1 0 1
-0x7955 0322 1 0 1
-0x7a04 1 1 0 1
-0x7a05 1 1 0 1
-0x7a14 1 1 0 1
-0x7a15 1 1 0 1
-0x7a24 1 1 0 1
-0x7a25 1 1 0 1
-0x7a34 1 1 0 1
-0x7a35 1 1 0 1
-0x7b04 1 1 0 1
-0x7b05 1 1 0 1
-0x7b14 1 1 0 1
-0x7b15 1 1 0 1
-0x7b24 1 1 0 1
-0x7b25 1 1 0 1
-0x7b34 1 1 0 1
-0x7b35 1 1 0 1
-0x7006 1 1 0 1
-0x7007 1 1 0 1
-0x7016 1 1 0 1
-0x7017 1 1 0 1
-0x7026 1 1 0 1
-0x7027 1 1 0 1
-0x7036 1 1 0 1
-0x7037 1 1 0 1
-0x7046 1 1 0 1
-0x7047 1 1 0 1
-0x7056 1 1 0 1
-0x7057 1 1 0 1
-0x7066 1 1 0 1
-0x7067 1 1 0 1
-0x7076 1 1 0 1
-0x7077 1 1 0 1
-0x7086 1 1 0 1
-0x7087 1 1 0 1
-0x7096 1 1 0 1
-0x7097 1 1 0 1
-0x70a6 1 1 0 1
-0x70a7 1 1 0 1
-0x70b6 1 1 0 1
-0x70b7 1 1 0 1
-0x7106 1 1 0 1
-0x7107 1 1 0 1
-0x7116 1 1 0 1
-0x7117 1 1 0 1
-0x7126 1 1 0 1
-0x7127 1 1 0 1
-0x7136 1 1 0 1
-0x7137 1 1 0 1
-0x7146 1 1 0 1
-0x7147 1 1 0 1
-0x7156 1 1 0 1
-0x7157 1 1 0 1
-0x7166 1 1 0 1
-0x7167 1 1 0 1
-0x7176 1 1 0 1
-0x7177 1 1 0 1
-0x7186 1 1 0 1
-0x7187 1 1 0 1
-0x7196 1 1 0 1
-0x7197 1 1 0 1
-0x71a6 1 1 0 1
-0x71a7 1 1 0 1
-0x71b6 1 1 0 1
-0x71b7 1 1 0 1
-0x7206 1 1 0 1
-0x7207 1 1 0 1
-0x7216 1 1 0 1
-0x7217 1 1 0 1
-0x7226 1 1 0 1
-0x7227 1 1 0 1
-0x7236 1 1 0 1
-0x7237 1 1 0 1
-0x7246 1 1 0 1
-0x7247 1 1 0 1
-0x7256 1 1 0 1
-0x7257 1 1 0 1
-0x7266 1 1 0 1
-0x7267 1 1 0 1
-0x7276 1 1 0 1
-0x7277 1 1 0 1
-0x7286 1 1 0 1
-0x7287 1 1 0 1
-0x7296 1 1 0 1
-0x7297 1 1 0 1
-0x72a6 1 1 0 1
-0x72a7 1 1 0 1
-0x72b6 1 1 0 1
-0x72b7 1 1 0 1
-0x7306 1 1 0 1
-0x7307 1 1 0 1
-0x7316 1 1 0 1
-0x7317 1 1 0 1
-0x7326 1 1 0 1
-0x7327 1 1 0 1
-0x7336 1 1 0 1
-0x7337 1 1 0 1
-0x7346 1 1 0 1
-0x7347 1 1 0 1
-0x7356 1 1 0 1
-0x7357 1 1 0 1
-0x7366 1 1 0 1
-0x7367 1 1 0 1
-0x7376 1 1 0 1
-0x7377 1 1 0 1
-0x7386 1 1 0 1
-0x7387 1 1 0 1
-0x7396 1 1 0 1
-0x7397 1 1 0 1
-0x73a6 1 1 0 1
-0x73a7 1 1 0 1
-0x73b6 1 1 0 1
-0x73b7 1 1 0 1
-0x7406 1 1 0 1
-0x7407 1 1 0 1
-0x7416 1 1 0 1
-0x7417 1 1 0 1
-0x7426 1 1 0 1
-0x7427 1 1 0 1
-0x7436 1 1 0 1
-0x7437 1 1 0 1
-0x7446 1 1 0 1
-0x7447 1 1 0 1
-0x7456 1 1 0 1
-0x7457 1 1 0 1
-0x7466 1 1 0 1
-0x7467 1 1 0 1
-0x7476 1 1 0 1
-0x7477 1 1 0 1
-0x7486 1 1 0 1
-0x7487 1 1 0 1
-0x7496 1 1 0 1
-0x7497 1 1 0 1
-0x7506 1 1 0 1
-0x7507 1 1 0 1
-0x7516 1 1 0 1
-0x7517 1 1 0 1
-0x7526 1 1 0 1
-0x7527 1 1 0 1
-0x7536 1 1 0 1
-0x7537 1 1 0 1
-0x7546 1 1 0 1
-0x7547 1 1 0 1
-0x7556 1 1 0 1
-0x7557 1 1 0 1
-0x7566 1 1 0 1
-0x7567 1 1 0 1
-0x7576 1 1 0 1
-0x7577 1 1 0 1
-0x7586 1 1 0 1
-0x7587 1 1 0 1
-0x7596 1 1 0 1
-0x7597 1 1 0 1
-0x7606 1 1 0 1
-0x7607 1 1 0 1
-0x7616 1 1 0 1
-0x7617 1 1 0 1
-0x7626 1 1 0 1
-0x7627 1 1 0 1
-0x7636 1 1 0 1
-0x7637 1 1 0 1
-0x7646 1 1 0 1
-0x7647 1 1 0 1
-0x7656 1 1 0 1
-0x7657 1 1 0 1
-0x7666 1 1 0 1
-0x7667 1 1 0 1
-0x7676 1 1 0 1
-0x7677 1 1 0 1
-0x7686 1 1 0 1
-0x7687 1 1 0 1
-0x7696 1 1 0 1
-0x7697 1 1 0 1
-0x7706 1 1 0 1
-0x7707 1 1 0 1
-0x7716 1 1 0 1
-0x7717 1 1 0 1
-0x7726 1 1 0 1
-0x7727 1 1 0 1
-0x7736 1 1 0 1
-0x7737 1 1 0 1
-0x7746 1 1 0 1
-0x7747 1 1 0 1
-0x7756 1 1 0 1
-0x7757 1 1 0 1
-0x7766 1 1 0 1
-0x7767 1 1 0 1
-0x7776 1 1 0 1
-0x7777 1 1 0 1
-0x7806 1 1 0 1
-0x7807 1 1 0 1
-0x7816 1 1 0 1
-0x7817 1 1 0 1
-0x7826 1 1 0 1
-0x7827 1 1 0 1
-0x7836 1 1 0 1
-0x7837 1 1 0 1
-0x7846 1 1 0 1
-0x7847 1 1 0 1
-0x7856 1 1 0 1
-0x7857 1 1 0 1
-0x7866 1 1 0 1
-0x7867 1 1 0 1
-0x7876 1 1 0 1
-0x7877 1 1 0 1
-0x7906 1 1 0 1
-0x7907 1 1 0 1
-0x7916 1 1 0 1
-0x7917 1 1 0 1
-0x7926 1 1 0 1
-0x7927 1 1 0 1
-0x7936 1 1 0 1
-0x7937 1 1 0 1
-0x7946 1 1 0 1
-0x7947 1 1 0 1
-0x7956 1 1 0 1
-0x7957 1 1 0 1
-0x7a06 1 1 0 1
-0x7a07 1 1 0 1
-0x7a16 1 1 0 1
-0x7a17 1 1 0 1
-0x7a26 1 1 0 1
-0x7a27 1 1 0 1
-0x7a36 1 1 0 1
-0x7a37 1 1 0 1
-0x7b06 1 1 0 1
-0x7b07 1 1 0 1
-0x7b16 1 1 0 1
-0x7b17 1 1 0 1
-0x7b26 1 1 0 1
-0x7b27 1 1 0 1
-0x7b36 1 1 0 1
-0x7b37 1 1 0 1
0x7251 1190 1 0 1
0x7260 1189 1 0 1
0x7261 1193 1 0 1
-0x7270 0644 1 0 1
+0x7270 0158 1 0 1 # was 0644
0x7271 0837 1 0 1
0x7280 0696 1 0 1
0x7281 0786 1 0 1
0x7193 0264 1 0 1
0x71a2 0229 1 0 1
0x71a3 0629 1 0 1
-0x71b2 0297 1 0 1
-0x71b3 0624 1 0 1
+0x71b2 1233 1 0 1 # was 0297
+0x71b3 1259 1 0 1 # was 0624
0x7202 0713 1 0 1
0x7203 0720 1 0 1
0x7212 0220 1 0 1
0x7655 0284 1 0 1
0x7664 0323 1 0 1
0x7665 0329 1 0 1
-0x7674 0078 1 0 1
+0x7674 1231 1 0 1
0x7675 0093 1 0 1
-0x7684 0091 1 0 1
-0x7685 0073 1 0 1
-0x7694 0084 1 0 1
-0x7695 0076 1 0 1
-0x7704 0512 1 0 1 #was 648 180619
-0x7705 0606 1 0 1
-0x7714 0688 1 0 1
-0x7715 0649 1 0 1
-0x7724 0453 1 0 1
-0x7725 0218 1 0 1
-0x7734 0451 1 0 1
-0x7735 0488 1 0 1 #was 177, 20180619 ; #was 850, 20180620
-0x7744 0321 1 0 1
-0x7745 0281 1 0 1
-0x7754 0330 1 0 1
-0x7755 0327 1 0 1
-0x7764 0763 1 0 1
-0x7765 0272 1 0 1
-0x7774 1073 1 0 1
-0x7775 0520 1 0 1
-0x7804 0651 1 0 1
-0x7805 0610 1 0 1
-0x7814 0694 1 0 1
-0x7815 0679 1 0 1
-0x7824 0452 1 0 1
-0x7825 0450 1 0 1
+0x7684 1228 1 0 1
+0x7685 1216 1 0 1
+0x7694 1220 1 0 1
+0x7695 1225 1 0 1
+0x7704 1250 1 0 1 #was 648 180619 #was 512 20200525
+0x7705 1248 1 0 1
+0x7714 1229 1 0 1
+0x7715 1241 1 0 1
+0x7724 1252 1 0 1
+0x7725 1242 1 0 1
+0x7734 1246 1 0 1
+0x7735 1256 1 0 1 #was 177, 20180619 ; #was 850, 20180620
+0x7744 1266 1 0 1
+0x7745 1260 1 0 1
+0x7754 1271 1 0 1
+0x7755 1264 1 0 1
+0x7764 1281 1 0 1
+0x7765 1275 1 0 1
+0x7774 1278 1 0 1
+0x7775 1277 1 0 1
+0x7804 1240 1 0 1
+0x7805 1211 1 0 1
+0x7814 1209 1 0 1
+0x7815 1218 1 0 1
+0x7824 1254 1 0 1
+0x7825 1244 1 0 1
0x7834 0456 1 0 1
0x7835 0457 1 0 1
-0x7844 0325 1 0 1
-0x7845 0282 1 0 1
-0x7854 0287 1 0 1
-0x7855 0279 1 0 1
-0x7864 0507 1 0 1
-0x7865 0918 1 0 1
-0x7874 0365 1 0 1
-0x7875 0213 1 0 1
-0x7904 0621 1 0 1
-0x7905 0615 1 0 1
-0x7914 0661 1 0 1
-0x7915 0343 1 0 1
-0x7924 0455 1 0 1
+0x7844 1267 1 0 1
+0x7845 1262 1 0 1
+0x7854 1274 1 0 1
+0x7855 1265 1 0 1
+0x7864 1217 1 0 1
+0x7865 1276 1 0 1
+0x7874 1280 1 0 1
+0x7875 1279 1 0 1
+0x7904 1202 1 0 1
+0x7905 1214 1 0 1
+0x7914 1232 1 0 1
+0x7915 1222 1 0 1
+0x7924 1245 1 0 1
0x7925 0459 1 0 1
0x7934 0184 1 0 1
0x7935 0454 1 0 1
-0x7944 0320 1 0 1
-0x7945 0276 1 0 1
-0x7954 0328 1 0 1
-0x7955 0322 1 0 1
+0x7944 1268 1 0 1
+0x7945 1263 1 0 1
+0x7954 1272 1 0 1
+0x7955 1273 1 0 1
0x7a04 0925 1 0 1
0x7a05 0109 1 0 1
0x7a14 0711 1 0 1
-addresses_concentrator.db_20180829
\ No newline at end of file
+addresses_concentrator.db_20200525
\ No newline at end of file
-echo "Waiting 10s, then start to work";
-sleep 10
+#echo "Waiting 10s, then start to work";
+#sleep 10
ERRORMASK=0x3c0000
#ERRORMASK=0x180000
-#ERRORMASK=0x10000
-##ERRORMASE=0x80000
-for i in 1 2 3 4 5 6
-do
+
+
trbcmd w 0xfe51 0xb144 $ERRORMASK
trbcmd w 0xfe52 0xb75c $ERRORMASK
trbcmd w 0xfe52 0xb754 $ERRORMASK
trbcmd w 0xfe52 0xb154 $ERRORMASK
trbcmd w 0xfe52 0xb15c $ERRORMASK
-done
trbcmd setbit 0xfe51 0x22 0x8000000
#trbcmd setbit 0xfe51 0x22 0x0000000
exec_cmd{local} /home/hadaq/trbsoft/hadesdaq/rich/merge_serial_address.pl /home/hadaq/trbsoft/hadesdaq/rich/serials_dirich.db /home/hadaq/trbsoft/hadesdaq/rich/addresses_dirich.db
!endif
-#exec_cmd{local} /home/hadaq/trbsoft/hadesdaq/rich/retransmission.sh
+exec_cmd{local} /home/hadaq/trbsoft/hadesdaq/rich/retransmission.sh
trbcmd loadbit 0xfe52 0xd580 0x6 0x2 #switch trigger input correctly
--- /dev/null
+# TDC config registers
+
+!Register table
+# Type # C0 # C1 # C2 # C3 # C4 # C5 #
+################################################################
+ 0 0xc800 0xc801 0xc802 0xc803 0xc804 0xc805
+
+!Value table
+# Gnl Conf Trg Window Ch En 1-32 Ch En 33-64 RingBufSize Invert
+# TDC # Type # C0 # C1 # C2 # C3 # C4 # C5 #
+#################################################################################################
+
+0xfe73 0 0x50003000 0x800a00c8 0xffffffff 0x0000ffff 0x00000010 0x00000000 # trb3sc1 TDC
--- /dev/null
+trb3sc/multBoard/setAllMultBoard.sh
\ No newline at end of file
--- /dev/null
+trb3sc/thresholds/setThresholdAllJan.sh
\ No newline at end of file
load_register register_tdc_rpc.db
#Load Thresholds
-exec_cmd{local} setThreshold.sh
-exec_cmd{local} setAllMultBoard.sh
+exec_cmd{local} /home/hadaq/trbsoft/daq/rpc/setThreshold.sh
+exec_cmd{local} /home/hadaq/trbsoft/daq/rpc/setAllMultBoard.sh