From: hadaq Date: Tue, 8 Feb 2022 19:06:21 +0000 (+0100) Subject: update startup files X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=4276f2a90b9c2b038b654c70a6dfa3ad9e90763c;p=hadesdaq.git update startup files --- diff --git a/beamabort/startup.script b/beamabort/startup.script new file mode 100644 index 0000000..71eb843 --- /dev/null +++ b/beamabort/startup.script @@ -0,0 +1,7 @@ + +#################### +## Script for beam abort settings +#################### + + +exec_cmd{local} trbcmd -f /home/hadaq/trbsoft/daq/beamabort/beamabort.trbcmd diff --git a/cts/startup.script b/cts/startup.script index 86ce2d4..e3ba180 100644 --- a/cts/startup.script +++ b/cts/startup.script @@ -7,9 +7,9 @@ trbcmd w 0x0003 0xA0E1 0xcc trbcmd loadbit 0x003 0xA0C1 0x0000000F 0x00000004 trbcmd setbit 0x0003 0xA0C2 0x01000000 -!ifndef MON_CTS - trbcmd -f cts_settings.trbcmd -!endif +#!ifndef MON_CTS +# trbcmd -f cts_settings.trbcmd +#!endif !ifdef MON_CTS trbcmd -f cts_settings_mon.trbcmd diff --git a/ecal/addresses_ecal.db b/ecal/addresses_ecal.db index 481be5a..ff240cc 100644 --- a/ecal/addresses_ecal.db +++ b/ecal/addresses_ecal.db @@ -11,7 +11,7 @@ 0x6010 117 1 0 0 0x6011 165 1 0 0 0x6012 123 1 0 0 - 0x6013 121 1 0 0 + 0x6013 107 1 0 0 #121 22-01-05 0x6014 159 1 0 0 0x6015 105 1 0 0 0x6016 106 1 0 0 @@ -37,7 +37,7 @@ 0x6042 120 1 0 0 0x6043 125 1 0 0 0x6044 113 1 0 0 - 0x6045 133 1 0 0 + 0x6045 309 1 0 0 #133 22-01-13 0x6046 124 1 0 0 0x6050 122 1 0 0 diff --git a/ecal/register_tdc_ecal.db b/ecal/register_tdc_ecal.db index fd617fc..8437eac 100644 --- a/ecal/register_tdc_ecal.db +++ b/ecal/register_tdc_ecal.db @@ -11,6 +11,8 @@ # TDC # Type # C0 # C1 # C2 # C3 # C4 # C5 # C6 # ########################################################################################################### -0xfe71 0 0x50003000 0x83ff00c0 0xffffffff 0x0000ffff 0x00000010 0xaaaaaaaa 0xaaaaaaaa# trb3sc1 TDC - +0xfe71 0 0x50003000 0x819000c0 0xffffffff 0x0000ffff 0x0000000a 0xaaaaaaaa 0xaaaaaaaa# trb3sc1 TDC +#0x6010 0 0x50003000 0x812c00c0 0x0000ffff 0x00000000 0x00000010 0xaaaaaaaa 0xaaaaaaaa# BROKEN TDCs OFF +#0x6013 0 0x50003000 0x812c00c0 0xffffffff 0x00000000 0x00000010 0xaaaaaaaa 0xaaaaaaaa# BROKEN TDCs OFF +#2021-11-18 trigger window to -960..+1500 changed diff --git a/ecal/startup.script b/ecal/startup.script index 35f0445..12ab0d2 100644 --- a/ecal/startup.script +++ b/ecal/startup.script @@ -24,8 +24,7 @@ trbcmd w 0x0120 0xa206 0x2e #PulserWidth=47ns trbcmd w 0x0120 0xa207 0x2e #PulserWidth=47ns trbcmd w 0x0120 0xa208 0x2e #PulserWidth=47ns -# the following is also included in ecal_set_thresholds.pl, so this is only -# for the other systems + trbcmd w 0xfe71 0x7111 500 trbcmd w 0xfe71 0x7114 0x00050000 #min number of words per board @@ -37,5 +36,7 @@ trbcmd w 0xfe71 0x7114 0x00050000 #min number of words per board exec_cmd{local} ecal_set_thresholds.pl #Load TDC settings - load_register register_tdc_ecal.db +load_register register_tdc_ecal.db +# set lower thresholds for sec2 and sec4 +exec_cmd{local} /home/hadaq/trbsoft/daq/ecal/ecal_set_thresholds_sec2_sec4.pl diff --git a/evtbuild/eb.conf b/evtbuild/eb.conf index 83f9620..868be2d 120000 --- a/evtbuild/eb.conf +++ b/evtbuild/eb.conf @@ -1 +1 @@ -eb_2021-test.conf \ No newline at end of file +eb_feb22.conf \ No newline at end of file diff --git a/evtbuild/eb_2021-test.conf b/evtbuild/eb_2021-test.conf index a7d4688..9d9d37a 100644 --- a/evtbuild/eb_2021-test.conf +++ b/evtbuild/eb_2021-test.conf @@ -35,11 +35,15 @@ LTSM: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 # LTSM default options for all EB processes #LTSM_PATH: /lustre/hades/raw/jun19test/default/tsm -LTSM_PATH: /lustre/hades/raw/jun21test -#LTSM_PATH: /hebetest/hades/raw/feb21/ -#LTSM_Server: lxltsm01-tsm-server +# beamtime config: +LTSM_PATH: /lustre/hades/raw/feb22 LTSM_Server: lxltsm01 +# for hadestest: +#LTSM_PATH: /lustre/hades/raw/test +#LTSM_Server: lxltsm02 + + #LTSM_Node: LTSM_TEST01 #LTSM_Passwd: LTSM_TEST01 @@ -61,8 +65,8 @@ LTSM_USEFSD: 0 # we need at least 5 entries here (number of eventbuilder servers) #LTSM_FSD_SERVERS: lxfsd01 lxfsd02-eth lxfsd03 lxfsd01 #LTSM_FSD_SERVERS: lxfsd04-eth lxfsd07-eth lxfsd04-eth lxfsd07-eth lxfsd04-eth -# setup tests september 2021: -LTSM_FSD_SERVERS: lxfsd01 lxfsd02-eth lxfsd03-eth lxfsd06-eth lxfsd07-eth +# setup feb2022: +LTSM_FSD_SERVERS: lxfsd01-eth lxfsd02-eth lxfsd03-eth lxfsd04-eth lxfsd05-eth #LTSM_FSD_SERVERS: lxfsd01-eth lxfsd02 lxfsd03-eth lxfsd01-eth lxfsd02 #LTSM_FSD_SERVERS: lxfsd01-eth lxfsd03-eth lxfsd01-eth lxfsd03-eth lxfsd01-eth LTSM_FSD_PORT: 7625 7625 7625 7625 7625 diff --git a/evtbuild/start_eb_gbe.pl b/evtbuild/start_eb_gbe.pl index 50cd286..d46c132 120000 --- a/evtbuild/start_eb_gbe.pl +++ b/evtbuild/start_eb_gbe.pl @@ -1 +1 @@ -start_eb_gbe_2021-test.pl \ No newline at end of file +start_eb_gbe_feb22.pl \ No newline at end of file diff --git a/frpc/addresses_frpc.db b/frpc/addresses_frpc.db index 6892aba..82c7757 100644 --- a/frpc/addresses_frpc.db +++ b/frpc/addresses_frpc.db @@ -8,10 +8,10 @@ 0x6803 261 3 # frpc2 -0x6810 244 0 -0x6811 244 1 -0x6812 244 2 -0x6813 244 3 +0x6810 238 0 +0x6811 238 1 +0x6812 238 2 +0x6813 238 3 diff --git a/hmon/doc/mdc-temp.htt b/hmon/doc/mdc-temp.htt index 8004260..71d5827 100644 --- a/hmon/doc/mdc-temp.htt +++ b/hmon/doc/mdc-temp.htt @@ -1,10 +1,10 @@

MDC Temperature

-This button shows the temperatures of the four MDC planes. For more detailed temperature distributions in the single MDC sectors, watch +This button shows the temperatures of the four MDC planes. For more detailed temperature distributions in the single MDC sectors, check here.

Error Handling

-If there is an over-temperature error, check the power consumption of boards (6.8V should not be above 190A). Restart DAQ to see if power-consumption goes down. A power shutdown of MDC may be required. +If there is an over-temperature error, check the power consumption of boards (6.8V should not be above 190A). Restart DAQ to see if power-consumption goes down. Contact the MDC expert. diff --git a/hub/addresses_hub_trb3.db b/hub/addresses_hub_trb3.db index d548b7e..68dbf14 100644 --- a/hub/addresses_hub_trb3.db +++ b/hub/addresses_hub_trb3.db @@ -22,7 +22,7 @@ #new TOF 0x86c0 088 5 0 0 -0x86c1 264 5 0 0 +0x86c1 262 5 0 0 0x86c2 006 5 0 0 0x86c3 242 5 0 0 0x86c4 265 5 0 0 @@ -30,7 +30,7 @@ #fRPC 0x8c00 261 5 0 0 - 0x8c10 244 5 0 0 + 0x8c10 238 5 0 0 #Wall diff --git a/hub/register_configgbe_ip.db b/hub/register_configgbe_ip.db index 57fd7e5..d5d3879 120000 --- a/hub/register_configgbe_ip.db +++ b/hub/register_configgbe_ip.db @@ -1 +1 @@ -register_configgbe_ip_2021-test-mdconlytwoebs.db \ No newline at end of file +register_configgbe_ip_feb22.db \ No newline at end of file diff --git a/hub/startup.script b/hub/startup.script index b88cb21..19d41a2 100644 --- a/hub/startup.script +++ b/hub/startup.script @@ -44,6 +44,12 @@ trbcmd clearbit 0x8810 0xc1 0x4 #trbcmd clearbit 0x8014 0xc1 0x40 #trbcmd clearbit 0x8014 0xc3 0x40 +#Veto 3rd FPGA not used +trbcmd clearbit 0x8890 0xc0 0x4 +trbcmd clearbit 0x8890 0xc1 0x4 +trbcmd clearbit 0x8890 0xc3 0x4 + + #Remove both SCS from Trigger Distribution trbcmd clearbit 0x8000 0xc0 0x200 #remove pexor from trigger diff --git a/itof/startup.script b/itof/startup.script index efaa648..49f3822 100644 --- a/itof/startup.script +++ b/itof/startup.script @@ -13,3 +13,5 @@ trbcmd w 0xfe74 0x7114 0x00050000 #min number of words per board load_register register_tdc.db +# sets all thresholds for itof +exec_cmd{local} ~/trbsoft/daq/itof/set_threshold_itof.sh diff --git a/main/main_hades.script b/main/main_hades.script index a9085eb..46591cd 100644 --- a/main/main_hades.script +++ b/main/main_hades.script @@ -93,6 +93,9 @@ wait exec_cmd{con} echo "Configure Trigger" exec_script{local} ../trg/startup.script + exec_cmd{con} echo "Configure Beam Abort" + exec_script{local} ../beamabort/startup.script + #Central boards / CTS / SCS exec_cmd{con} echo "Configure CTS" diff --git a/main/startup_briccolage.sh b/main/startup_briccolage.sh index d19f907..158ecbc 100755 --- a/main/startup_briccolage.sh +++ b/main/startup_briccolage.sh @@ -58,8 +58,10 @@ trbcmd w 0x1031 0xc3 0xfbf #Disable failing boards -#switchport.pl 0x1104 2 off #2309 , didn't like spike rejection 0x10 (means off), mt 2021.02.14 +###switchport.pl 0x1104 2 off #2309 , didn't like spike rejection 0x10 (means off), mt 2021.02.14 switchport.pl 0x1101 4 off #2203, 02.02.22 +switchport.pl 0x1024 7 off #2027, 04.02.22 +switchport.pl 0x1023 8 off #2057, 04.02.22 @@ -94,6 +96,8 @@ rm /tmp/EB_prefix.txt notifyall.sh "DAQ" " DAQ has been started." "STARTUP" & echo " Configuration finished!" +#ssh hadeswrp02 bin/enable_beam_abort.sh + #/home/hadaq/trbsoft/hadesdaq/rich/retransmission.sh 2>/dev/null & if [ -z $1 ] diff --git a/oracle/runstatsfromora_testplot.sh b/oracle/runstatsfromora_testplot.sh index 5f923cf..87541b6 100755 --- a/oracle/runstatsfromora_testplot.sh +++ b/oracle/runstatsfromora_testplot.sh @@ -5,11 +5,32 @@ # JAM 10-01-2022: TODO for feb22 -offset=2419200 +start=1643778000 +breakstart=1645509600 +breakend=1646028000 +end=1646802000 + cat < /tmp/beam_trend.txt # timestamp real propaganda -$(date -d @1612990204 "+%Y-%m-%d %H:%M:%S") 0 0 -$(date -d @$((1612990204+offset)) "+%Y-%m-%d %H:%M:%S") $(($offset*25/3600)) $(($offset*20/3600)) +$(date -d @$(($start)) "+%Y-%m-%d %H:%M:%S") 0 0 +$(date -d @$(($breakstart)) "+%Y-%m-%d %H:%M:%S") $((($breakstart-$start)*1800/86400)) $((($breakstart-$start)*1500/86400)) +$(date -d @$(($breakend)) "+%Y-%m-%d %H:%M:%S") $((($breakstart-$start)*1800/86400)) $((($breakstart-$start)*1500/86400)) +$(date -d @$(($end)) "+%Y-%m-%d %H:%M:%S") $((($end-$start+$breakstart-$breakend)*1800/86400)) $((($end-$start+$breakstart-$breakend)*1500/86400)) +EOF +#1.5 million per day nominal + 10% due to PT2 + +cat < /tmp/beamtime.txt +# timestamp real propaganda +$(date -d @$(($start-1000000)) "+%Y-%m-%d %H:%M:%S") 50000 0 +$(date -d @$(($start-20001)) "+%Y-%m-%d %H:%M:%S") 50000 0 +$(date -d @$(($start-20000)) "+%Y-%m-%d %H:%M:%S") 0 0 +$(date -d @$(($breakstart-1)) "+%Y-%m-%d %H:%M:%S") 0 0 +$(date -d @$(($breakstart)) "+%Y-%m-%d %H:%M:%S") 50000 0 +$(date -d @$(($breakend)) "+%Y-%m-%d %H:%M:%S") 50000 0 +$(date -d @$(($breakend+1)) "+%Y-%m-%d %H:%M:%S") 0 0 +$(date -d @$(($end-1)) "+%Y-%m-%d %H:%M:%S") 0 0 +$(date -d @$(($end)) "+%Y-%m-%d %H:%M:%S") 50000 0 +$(date -d @$(($end+1000000)) "+%Y-%m-%d %H:%M:%S") 50000 0 EOF gnuplot -p <