From 5f05ff5038764a3b4fc86ddb7684ba6443fbec58 Mon Sep 17 00:00:00 2001 From: Carsten Schwarz Date: Thu, 29 Jun 2023 11:57:35 +0200 Subject: [PATCH] setup accomodations in gsi_dirc --- thresholds/trb_dirich_threshold/Makefile | 2 +- users/gsi_dirc/EventBuilderNew.xml | 2 +- users/gsi_dirc/addresses_dirich.db | 2 +- users/gsi_dirc/addresses_trb3.db | 10 +- users/gsi_dirc/check_ping.pl | 4 +- users/gsi_dirc/hv/hv_test.sh | 4 +- users/gsi_dirc/readme2023.txt | 514 +++++++++++++++++++++++ users/gsi_dirc/readout.pl | 2 +- users/gsi_dirc/register_config_tdc.db | 16 +- users/gsi_dirc/register_configgbe.db | 2 +- users/gsi_dirc/register_configgbe_ip.db | 2 +- users/gsi_dirc/startup.sh | 8 +- users/gsi_dirc/trbreset_loop.pl | 2 +- 13 files changed, 543 insertions(+), 27 deletions(-) create mode 100644 users/gsi_dirc/readme2023.txt diff --git a/thresholds/trb_dirich_threshold/Makefile b/thresholds/trb_dirich_threshold/Makefile index 3ec61e9..a959f43 100644 --- a/thresholds/trb_dirich_threshold/Makefile +++ b/thresholds/trb_dirich_threshold/Makefile @@ -27,7 +27,7 @@ LIBS = $(TRBNETLIB) $(ROOTLIB) $(BOOSTLIB) LIBDIRS = $(TRBNETLIBDIR) $(ROOTLIBDIR) $(BOOSTLIBDIR) # Options -OPT = -c -Wall -Wextra -pedantic -O3 -std=c++11 +OPT = -c -Wall -Wextra -pedantic -O3 -std=c++17 # Make rules HADESthreshscan_$(VERSION): HADESthreshscan_$(VERSION).o diff --git a/users/gsi_dirc/EventBuilderNew.xml b/users/gsi_dirc/EventBuilderNew.xml index ff512e4..9e777f1 100644 --- a/users/gsi_dirc/EventBuilderNew.xml +++ b/users/gsi_dirc/EventBuilderNew.xml @@ -64,7 +64,7 @@ When starting analysis from the go4 gui, one should specify stream server with p - + diff --git a/users/gsi_dirc/addresses_dirich.db b/users/gsi_dirc/addresses_dirich.db index 816494a..5476760 100644 --- a/users/gsi_dirc/addresses_dirich.db +++ b/users/gsi_dirc/addresses_dirich.db @@ -3,7 +3,7 @@ # Address # S/N # FPGA -0x2014 1107 1 +#0x2014 1107 1 0x2015 0906 1 0x2016 0915 1 0x2017 0905 1 diff --git a/users/gsi_dirc/addresses_trb3.db b/users/gsi_dirc/addresses_trb3.db index 21cd221..c3bc8eb 100644 --- a/users/gsi_dirc/addresses_trb3.db +++ b/users/gsi_dirc/addresses_trb3.db @@ -33,11 +33,11 @@ #0x8002 72 5 # TRB 03 2018 -0x200c 104 0 -0x200d 104 1 -0x200e 104 2 -0x200f 104 3 -0x8003 104 5 +#0x200c 104 0 +#0x200d 104 1 +#0x200e 104 2 +#0x200f 104 3 +#0x8003 104 5 # AUX/GPIO 2018 0x2010 57 0 diff --git a/users/gsi_dirc/check_ping.pl b/users/gsi_dirc/check_ping.pl index 8209a25..67e813d 100755 --- a/users/gsi_dirc/check_ping.pl +++ b/users/gsi_dirc/check_ping.pl @@ -25,8 +25,8 @@ my $map = { # 1 => { trb => 99, sys => "MCP 00" }, # 1 => { trb => 73, sys => "MCP 01" }, # 1 => { trb => 72, sys => "MCP 02" }, - 3 => { trb => 104, sys => "MCP 03" }, - 4 => { trb => 57, sys => "AUX" }, + # 3 => { trb => 104, sys => "MCP 03" }, + 0 => { trb => 57, sys => "AUX" }, # 5 => { trb => xx, sys => "" }, # 6 => { trb => 59, sys => "TOF 2" }, # 7 => { trb => 83, sys => "HODO" }, diff --git a/users/gsi_dirc/hv/hv_test.sh b/users/gsi_dirc/hv/hv_test.sh index 55017eb..c3bf74e 100755 --- a/users/gsi_dirc/hv/hv_test.sh +++ b/users/gsi_dirc/hv/hv_test.sh @@ -10,9 +10,9 @@ case "$1" in on) # 1357 snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputVoltageRiseRate.u0 F -100.0 - snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputCurrent.u0 F 0.0008 + snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputCurrent.u0 F 0.0015 #snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputVoltage.u0 F 2110 -snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputVoltage.u0 F 1950 +snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputVoltage.u0 F 2080 # snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputVoltage.u0 F 2010 # snmpset -v 2c -m WIENER-CRATE-MIB -c guru dircmpod outputVoltage.u0 F 1800 # 1356 diff --git a/users/gsi_dirc/readme2023.txt b/users/gsi_dirc/readme2023.txt new file mode 100644 index 0000000..bcdff6a --- /dev/null +++ b/users/gsi_dirc/readme2023.txt @@ -0,0 +1,514 @@ + +************************************************************** +system update with + +sudo zypper refresh +sudo zypper dup -yl + + +software to recompile +root (not always...) +mainz unpacker ( seems to go automatic) +trb? make + +For python scripts +VISA needed to be installed new as root: + +pip install -U pyvisa +and same (only?) as hadaq... + + +Immer, wenn es einen neuen perl-interpreter gibt (~2 mal im Jahr), dann muss +die libtrbnet_perl neu übersetzt werden. +Das geht so: +$ cd ~/trbsoft/trbnettools/libtrbnet_perl +$ perl Makefile.PL $ make +$ sudo make install + + +~/trbsoft/daqtools/thresholds/trb_dirich_threshold +HADESthreshscan_v1 + +in makefile -std=c++17 + +recompile + + + + +************************************************************** + +address masks + + +0xfe48 peripheral +0xfe4a GPIO +0xfe4c PADIWA +0xfe51 DIRICH + +******************************************************** +scratch DiRICH +in gsi_dirc + +dirich mask is 0xfe51 + +addresses_dirich.db contains + +0x2014 0905 1 the fpga number seperated by blank from dirich number + +serial_dirich.db contains + +09051 address the fpga number direct after the dirich number + + +plugs for trigger/clock +trigger outside +clock inside + +dirich_set_standard_thresholds.pl 0x2014 0x6000 + +set absolute threshold to all channels + +dirich_voltages.sh + +read out voltages and currents + + + +in thresholds/trb_dirich_threshold + +search thresholds of all DiRICHes and set it to 20mV + +./HADESthreshscan_v1 -b 0 -t 0 20 + +read baseline and put it to 20mV +./HADESthreshscan_v1 -f 20190225_153504_std_save.thr -l 0 -t 0 20 + +the program assumes a range of 2500 mV for the discriminator. It allows no +negative values as offset to the baseline. But a overflow becomes a negativ +value. An offset of 2500 is the baseline + +Therefore, for a negative threshold use + +2500-10xthreshold + +10 seems to be the amplfication of the amplifying transistor + +. + + + + +~/trbsoft/daqtools/tools/determine_noiseband_dirich.pl 0x2015 + + +searching old routine. Works only for channel 0-15 + + ./thresholds_automatic.pl --mode=dirich2 --endpoint=0x2014 --chain=0 --offset=0x10 --channel_by_channel --polarity=0 + +******************************************************** + + + + + + + + +# new readme file for 2016 beam test at CERN +# based on copy of readme2015.txt + +# let's try to clean up this file and remove obsolete entries + +system name: dircdaq003 + +on dircdaq003 +no vncserver :1 -geometry 1440x960 +no or +no x0vncserver -display :0 -Geometry 1440x960 + +no x0vncserver -PasswordFile /home/hadaq/.vnc/passwd -geometry 1440x960 + +there is already a vncserver running on :0 (found in the menu +system->x11vnc server) + +then eg. on dircdaq002 +vinagre dircdaq003:0 + +password same as hadaq account password + + +on other machines in the local network +vncviewer -Shared dircdaq003:1 + + +# the main tools are represented by icons on the desktop + +clicky_buntie -> starts a console with the DAQ tools + (or run ~/trbsoft/daqtools/users/gsi_dirc/gui/call_programs2.pl) + +startup environment -> starts a urxvt terminal, the main console, with all proper tabs + in all proper subdirectories and starts the web server for CTS control, etc. + (or run ~/bin/setup.sh) + +# in the main console + +tab DAQ + readout: + #?? start TRB with net switch + ./startup.sh + +tab web: + (command + ./cts_gui --noopenxterm + is already executed by tab startup) + this starts the web server, access it in the browser with + + localhost:1234 + + kill webserver wit ^c ^c or with + pkill dhttpi + + open link CTS control in a browser new tab + open link padiwa in a browser new tab + open link thresholds in a browser new tab + open link tdc in a browser new tab + in the tdc browser tab + select input status/enable/differences + enable the chain you are watching + +tab DAQ editor: + emacs window with the startup.sh script opened + +tab thresholds: + +turn on the detector(s), no pulser or signals, only noise is needed. + +if the detector is connetcted to chain 1 run + + +Powering PADIWA +scripts in /home/hadaq/lv (edit it when setup changes) + +./padiwa_on.sh + +./padiw_of.sh + +monitoring by web browser: +http://192.168.0.71 + + + + +Padiwa invert +~/trbsoft/daqtools/padiwa.pl [TDC addr] [chain 0 or 1] invert + +~/trbsoft/daqtools/padiwa.pl 310 1 invert 0xffff (after every power cycle) + +./thresholds_automatic.pl --endpoint=0x310 --chain=1 --offset=0x0c8 --polarity=0 + +should be 1 mV (0x0c8 or 200) + + +in the browser threshold tab you can change individual thresholds when you have selected the +right board (e.g. 310) + + +Michael Traxlers new routine (fast, simulataneous but less stable) + +./run_thresh_on_system.pl -endpoints=0x2000..0x202b --chains=0..2 --offset=00 --polarity=0 + + +./write_thresholds.pl padiwa_threshold_results_blockwise_2016_10_22c.log --offset=500 + + +The usual threshold finder (take ~20min): + +Set all thresholds to very high + +./write_thresholds.pl padiwa_threshold_results_blockwise_2016_10_22c.log --offset=5000 + +in "hv" tab: +./hv_cern2016_50V.sh on + +back to "thresholds" +./thresholds_blockwise.sh + +Whichever style you choose, remember to delete the padiwa_threshold_results.log before the scan +and to rename it after the scan + +The load it with the write_thresholds.pl command and change the startup.pl if you are happy +with the new threshold. + +Also, remember to set the HVs to the correct value when you're done. + + +tab hv: + +./hv_MCPTOF2.sh -> hv for ToFs + +### can we delete the following lines, old stuff? + +in console dab tab + +( + cd ~/trbsoft/analysis/trb3 + . ./trb3login --> 26.6.2014 is already sourced in .zshrc +) + +cd ~/trbsoft/daqtools/users/gsi_dirc/ + +~/trbsoft/analysis/trb3/dabc/bin/dabc_run EventBuilder.xml + +in console tab go4 + +cd ~/trbsoft/analysis/trb3 + . ./trb3login +cd ~/trbsoft/daqtools/users/gsi_dirc + +Login the first time: +. ~/trbsoft/analysis/trb3/go4/go4login + +go4 online.hotstart -> to see ToF1 and Tof2 +go4 mcponline.hotstart -> to see the Prototype and ToFs + +~/trbsoft/analysis/trb3/go4/bin/go4 padiwa_amps.hotstart + +select +event source = MBS stream server +name = localhost +rightclick left pane histograms and select +monitor items + +------------------------------------------- +### end delete? + + +tab hv: + +in hv console tab run /bin/bash (otherwise script does not work) + +cd ./hv + +./hv prints following help text + +./hv init turns on main switch +./hv on turns on HV (values defined in hv.sh) +./hv off turns off HV +./hv kill turns of rapidly HV, turns off main switch. +--------------------------------------------- + + +PADIWA + +./write_thresholds.pl gsi_zero_connect.log --offset=500 + +tail -n16 padiwa_threshold_results.log > tmp.thresholds; ./write_thresholds.pl tmp.thresholds + +./write_thresholds.pl tmp.thresholds + + +STARTUP + +trbcmd reload 0xffff; sleep 5; trbcmd reset; ./startup.sh; i | wc + +DABC + +~/trbsoft/analysis/trb3/dabc/bin/dabc_run EventBuilder.xml + +GO4 + +rm -f *.root; go4analysis -user /data.local2/dabc14121175523.hld + go4 Go4AutoSave.root + + +TRB programming + +trbflash program 0x0810 ~/trbsoft/bitfiles/trb3_periph_padiwa_dbl_alt_32ch_20140625.bit + +hv supply +(was 140.181.75.99 on GSI network - is 192.268.0.22 on local network) +(to change network address push "FOLD" button for 3 seconds, adjust IP address) +MAC Address is 00:19:f9:10:03:8a +Access admin power42 (resets when LAN settings are changed) + + +-------------------------------------- +adding or removing TRB to/from setup + +edit files in ~/trbsoft/daqtools/users/gsi_dirc + + * addresses_trb3.db + * register_configgbe.db + * register_configgbe_ip.db + * register_config_tdc.db + * check_ping.pl + * trbreset_loop.pl + * EventBuilderNew.xml + +check if address in ~/trbsoft/daqtools/base/serials_trb3.db + +for data to file edit start_readout and add sources +(50000+i corresponds to c350+i in register_configgbe_ip.db) + + +flash by + +trbflash info 0x8001 # get information +compiletime.pl 0x8001 # get compile tme + +central FPGA: trb3_central_gbe_20150218.bit + +trbflash program 0x8001 filename # program into flash memory +trbcmd relaod 0x8001 # reloads program from flash + +store files in trbsoft/bitfiles + +peripheral FPGA + +in principle alos by eg +trbflash program 0x0013 filename + +but faster +trbflash program 0xfe4c filename + +for 0xfeXX see trb3 manual network/broadcast addresses (p14) + +peripheral FPGA: trbsoft/bitfiles/trb3_periph_padiwa_20150203.bit + + +iftop -PBN -i enp2s0f0 + + +--------------------------------------- +threshold search: + +only one channel per detector (20 min, recommended): + +HV-> 50 V +rm padiwa_threshold_results.log +.thresholds_blockwise.sh + +all channels together (<1min, yields large thresholds compared to blockwise +search (1mV?)): + +HV-> 50 V +rm padiwa_threshold_results.log +./run_thresh_on_system.pl -endpoints=0x2000..0x200f --chains=0..2 --offset=10 --polarity=0 + + +only one channel per prototype (4 hours, recommended if you need an excuse for +extended pizza event) +HV-> 50 V +rm padiwa_threshold_results.log +./thresh_channel_by_channel.sh + + +look to thresholds + +root show_thresholds.C'("/home/hadaq/trbsoft/daqtools/thresholds/padiwa_threshold_results_20150512_high_CS.log", "/home/hadaq/trbsoft/daqtools/thresholds/padiwa_threshold_results_20150512_low_CS.log",400)' + + + + +--------------------------------------- + +example for time resolution + + root ce15133191236K.root +K->Draw("fLeadingEdge[200]-fLeadingEdge[230]>>bb(2001,-100,100)","(fLeadingEdge[200]>-9000)&&(fLeadingEdge[230]>-9000)","") + +--------------------------------------- + + +look in history for flash actions + +fc -il 1 | grep "trbflash program" + + + + +------------------- +adding a system to the CERN DAQ local network + +edit /etc/dhcpd.conf (add system name and MAC address) +edit /etc/hosts + +rcdnsmasq restart; rcdhcpd restart + +use + journalctl -b -f -u dhcpd +to see if connection is successful + +---- +DAQ multi event queue: edit /home/hadaq/trbsoft/daqtools/users/gsi_dirc/register_configgbe.db + +Change entry in column MultiQueue (C6) to 1 (0 to disable) + +To use dabc instead of evtbuild: +./start_readout.pl --filename cern2016 --dabc + +---- +resetting PADIWA temperature readouts (important because temperature correction is enabled) +~/trbsoft/daqtools/padiwa.pl [fpga] [chain] resettemp +~/trbsoft/daqtools/padiwa.pl 0x2028 2 resettemp + +--- +copying files to dircdaq004 (now done via crontab) +rsync -av ce*hld hadaq@dircdaqp004:/d/oct2016 --progress +rsync -av ce*root hadaq@dircdaqp004:/d/oct2016 --progress +rsync -av pq*hld hadaq@dircdaqp004:/d/oct2016 --progress +rsync -av pq*root hadaq@dircdaqp004:/d/oct2016 --progress + +--- 2016: handled by trbreset_loop.pl +TRB error/"Ping" tab in slow control "red" +check progress of evtbuild, if stuck end run +trbcmd reset +trbcmd reload 0xffff +trbcmd reset +check_ping.pl +if all TRBs are present (alive) then +startup.sh +and start new run +if one or more TRBs still missing repeat reset/reload/reset cycle + +--- +trigger line should be + AddOn Multiplexer 0 +for beam data or + AddOn Multiplexer 1 +for laser data + +--- +Watch for "Ignore all data" box being checked - if it is checked no data + will be written to disk (you will see that the spill rates are "red" + instead of "green" + + +--- +If TRBs do not react to trbcmd reset (messages like RPC Timed Out) power-cycle the TRBs via + trb_power_cycle + +ssh -R 53212:dircdaqp003:22 -R 53213:dircdaqp003:5901 -R 53214:dircdaqp003:5902 -R 53215:dircdaqp003:5903 -R +53216:dircdaqp003:5904 -R 51234:dircdaqp003:1234 hadaq@cerberus.x-matter.uni-frankfurt.de -N & #All the +tunnels + + +--- + + trbcmd reset; ~/trbsoft/daqtools/merge_serial_address.pl ~/trbsoft/daqtools/base/serials_trb3.db ~/trbsoft/daqtools/users/gsi_dirc/addresses_trb3.db; trbcmd reload 0x8007 + + +----- +data analysis March 2016 + +hldtools -d -j10 file.hld +tcalibration file.hld.root +cdisplay fileC.root + + +Printers nearby: +252-1203-HP5550 //upstairs in 252, color +252-1203-CANON //upstairs in 252, b&w + +#connect to IP windows PC +rdesktop -u localadmin_gerhardt -g 1024x768 -k en/us 192.168.0.20 diff --git a/users/gsi_dirc/readout.pl b/users/gsi_dirc/readout.pl index fa75602..482f70b 100755 --- a/users/gsi_dirc/readout.pl +++ b/users/gsi_dirc/readout.pl @@ -4,7 +4,7 @@ use strict; use Getopt::Long; my $help = ""; -my $dataPath = "/d/jan2022/"; +my $dataPath = "/d/mar2023/"; my $label = "cern"; my $time = -1; my $name = "pulser_"; diff --git a/users/gsi_dirc/register_config_tdc.db b/users/gsi_dirc/register_config_tdc.db index 70c054e..78850a2 100644 --- a/users/gsi_dirc/register_config_tdc.db +++ b/users/gsi_dirc/register_config_tdc.db @@ -49,17 +49,17 @@ # 0x2009 0 0x00000000 0x00000000 # 0x200a 0 0x00000000 0x00000000 # 0x200b 0 0x00000000 0x00000000 - 0x200c 0 0x00000000 0x00000000 - 0x200d 0 0x00000000 0x00000000 - 0x200e 0 0x00000000 0x00000000 - 0x200f 0 0x00000000 0x00000000 +# 0x200c 0 0x00000000 0x00000000 +# 0x200d 0 0x00000000 0x00000000 +# 0x200e 0 0x00000000 0x00000000 +# 0x200f 0 0x00000000 0x00000000 0x2010 0 0x0000ffff 0x00000000 -# 0x2014 0 0xffffffff 0x00000000 -# 0x2015 0 0xffffffff 0x00000000 -# 0x2016 0 0xffffffff 0x00000000 -# 0x2017 0 0xffffffff 0x00000000 + 0x2014 0 0xffffffff 0x00000000 + 0x2015 0 0xffffffff 0x00000000 + 0x2016 0 0xffffffff 0x00000000 + 0x2017 0 0xffffffff 0x00000000 diff --git a/users/gsi_dirc/register_configgbe.db b/users/gsi_dirc/register_configgbe.db index 0639320..c4a80d2 100755 --- a/users/gsi_dirc/register_configgbe.db +++ b/users/gsi_dirc/register_configgbe.db @@ -15,7 +15,7 @@ # 0x8000 0 0x8000 0x00020001 0x00030064 0x1DE8 0x578 1 1 1 1 0x0 # 0x8001 0 0x8001 0x00020001 0x00030064 0x1DE8 0x578 1 1 1 1 0x0 # 0x8002 0 0x8002 0x00020001 0x00030064 0x1DE8 0x578 1 1 1 1 0x0 - 0x8003 0 0x8003 0x00020001 0x00030064 0x1DE8 0x578 1 1 1 1 0x0 +# 0x8003 0 0x8003 0x00020001 0x00030064 0x1DE8 0x578 1 1 1 1 0x0 0x8004 0 0x8004 0x00020001 0x00030064 0x1DE8 0x578 1 1 1 1 0x0 # 0x8005 0 0x8005 0x00020001 0x00030064 0x1DE8 0x578 0 1 1 1 0x0 # 0x8006 0 0x8006 0x00020001 0x00030064 0x1DE8 0x578 1 1 1 1 0x0 diff --git a/users/gsi_dirc/register_configgbe_ip.db b/users/gsi_dirc/register_configgbe_ip.db index e1f3e02..3cd4074 100755 --- a/users/gsi_dirc/register_configgbe_ip.db +++ b/users/gsi_dirc/register_configgbe_ip.db @@ -34,7 +34,7 @@ # 0x8000 0 0x1e04f334 0x000e 0xc0a80003 0xc350 0xdead8000 0x001b 0xc0a80001 0xc351 0x0578 # 0x8001 0 0x1e04f334 0x000e 0xc0a80003 0xc351 0xdead8001 0x001b 0xc0a80002 0xc352 0x0578 # 0x8002 0 0x1e04f334 0x000e 0xc0a80003 0xc352 0xdead8002 0x001b 0xc0a80003 0xc353 0x0578 - 0x8003 0 0x1e04f334 0x000e 0xc0a80003 0xc353 0xdead8003 0x001b 0xc0a80004 0xc354 0x0578 +# 0x8003 0 0x1e04f334 0x000e 0xc0a80003 0xc353 0xdead8003 0x001b 0xc0a80004 0xc354 0x0578 0x8004 0 0x1e04f334 0x000e 0xc0a80003 0xc354 0xdead8004 0x001b 0xc0a80005 0xc355 0x0578 # 0x8005 0 0x1e04f334 0x000e 0xc0a80003 0xc355 0xdead8005 0x001b 0xc0a80006 0xc356 0x0578 # 0x8006 0 0x1e04f330 0x000e 0xc0a80003 0xc356 0xdead8006 0x001b 0xc0a80007 0xc357 0x0578 diff --git a/users/gsi_dirc/startup.sh b/users/gsi_dirc/startup.sh index 1bcae33..b1266e4 100755 --- a/users/gsi_dirc/startup.sh +++ b/users/gsi_dirc/startup.sh @@ -70,11 +70,13 @@ trbcmd w 0xfe51 0xc801 0x80c600c6 ## triggerwindow +/-990ns ;5ns granularity # Default TDC-channel enable for all channels #trbcmd w 0xfe4c 0xc802 0xffffffff ## channel 01-32 enable #trbcmd w 0xfe4c 0xc803 0x0000ffff ## channel 33-64 enable -trbcmd w 0xfe4c 0xc804 0x0000007c ## data transfer limit +trbcmd w 0xfe4c 0xc804 0x0000007a ## data transfer limit # trbcmd w 0xfe51 0xc802 0xffffffff ## channel 01-32 enable trbcmd w 0xfe51 0xc803 0x0000ffff ## channel 33-64 enable -trbcmd w 0xfe51 0xc804 0x0000007c ## data transfer limit +# +# 7c 7b gives crash, 7a stable +trbcmd w 0xfe51 0xc804 0x0000007a ## data transfer limit trbcmd w 0xfe51 0xc805 0xffffffff ## invert TDC @@ -310,7 +312,7 @@ echo "padiwa_threshold_results loading" #./HADESthreshscan_v1 --no-autosave -f ~/trbsoft/daqtools/users/gsi_dirc/thresholds/dirich/20220914_113041_std_save.thr -l 0 -t 60 # Use latest threshold -~/trbsoft/daqtools/thresholds/trb_dirich_threshold/HADESthreshscan_v1 --no-autosave -l 0 -t 60 +~/trbsoft/daqtools/thresholds/trb_dirich_threshold/HADESthreshscan_v1 -l 0 -t 0 40 # diff --git a/users/gsi_dirc/trbreset_loop.pl b/users/gsi_dirc/trbreset_loop.pl index ede14b5..f1a73a2 100755 --- a/users/gsi_dirc/trbreset_loop.pl +++ b/users/gsi_dirc/trbreset_loop.pl @@ -4,7 +4,7 @@ use strict; use warnings; ### Change THIS! -my $required_endpoints = 20; +my $required_endpoints = 14; # barrel my $required_endpoints = 25; -- 2.43.0