Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-MA2018 testbeam-MA2019 testbeam-MA2020 testbeam-MA2021 testbeam-MA2023 testbeam-MA2024 testbeam-MA2025
  Testbeams at MedAustron in 2025, Page 3 of 13  Not logged in ELOG logo
ID Date Author Subject Run Number DUT Beam Energy Rate Setting Particle Type Data t-Start t-Stopdown Duration_min Frontend Phantom Phantom thickness
  244   Sat Sep 20 21:12:30 2025 elog_producerCaribou 1.51042RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 21:11:5720.09.2025 21:12:410Normal  
automatic log for run 1042
Comment:
DMA debugging
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 1


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4
0 62 1 0 0 0 10
0 63 0 0 0 0 10
1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 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/dma/dma_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  243   Sat Sep 20 21:02:14 2025 elog_producerCaribou 1.51041RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 21:01:3420.09.2025 21:02:260Normal  
automatic log for run 1041
Comment:
no data from DMA Frown
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 1


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0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
3 41 0 0 0 0 7
3 42 0 0 0 0 12
3 43 0 0 0 0 12
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/dma/dma_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  239   Sat Sep 20 20:58:41 2025 elog_producerCaribou 1.51040RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 20:51:5720.09.2025 20:58:536Normal  
automatic log for run 1040
Comment:
this time no RX drops
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36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 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  236   Sat Sep 20 20:40:06 2025 elog_producerCaribou 1.51038RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 20:34:3120.09.2025 20:40:185Normal  
automatic log for run 1038
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0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
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  234   Sat Sep 20 20:32:10 2025 elog_producerCaribou 1.51037RD50-MPW4800 MeVLow Flux MediumProtonUnknown20.09.2025 20:27:1420.09.2025 20:32:225Normal  
automatic log for run 1037
Comment:
higher rates
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9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 0 11
3 37 0 0 0 0 11
3 38 0 0 0 0 11
3 39 0 0 0 0 11
3 40 0 0 0 0 2
3 41 0 0 0 0 7
3 42 0 0 0 0 12
3 43 0 0 0 0 12
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  233   Sat Sep 20 20:26:50 2025 elog_producerCaribou 1.51036RD50-MPW4800 MeVLow Flux MediumProtonUnknown20.09.2025 20:21:4820.09.2025 20:27:015Normal  
automatic log for run 1036
Comment:
higher rates
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0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 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  231   Sat Sep 20 20:17:25 2025 elog_producerCaribou 1.51035RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 20:12:2620.09.2025 20:17:365Normal  
automatic log for run 1035
Comment:
bias voltage low voltages
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0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 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -18

[Producer.tracker_irgendwas]
  230   Sat Sep 20 20:11:08 2025 elog_producerCaribou 1.51034RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 20:06:0820.09.2025 20:11:195Normal  
automatic log for run 1034
Comment:
bias voltage low voltages
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0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 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -15

[Producer.tracker_irgendwas]
  229   Sat Sep 20 20:04:05 2025 elog_producerCaribou 1.51033RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:58:4320.09.2025 20:04:175Normal  
automatic log for run 1033
Comment:
bias voltage low voltages
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0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 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -12

[Producer.tracker_irgendwas]
  228   Sat Sep 20 19:57:10 2025 elog_producerCaribou 1.51032RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:51:0420.09.2025 19:57:226Normal  
automatic log for run 1032
Comment:
bias voltage low voltages
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49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 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -160

[Producer.tracker_irgendwas]
  225   Sat Sep 20 19:49:27 2025 elog_producerCaribou 1.51031RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:44:4320.09.2025 19:49:394Normal  
automatic log for run 1031
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment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 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -150

[Producer.tracker_irgendwas]
  224   Sat Sep 20 19:43:31 2025 elog_producerCaribou 1.51030RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:34:1720.09.2025 19:43:419Normal  
automatic log for run 1030
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0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
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -140

[Producer.tracker_irgendwas]
  223   Sat Sep 20 19:32:53 2025 elog_producerCaribou 1.51029RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:28:0020.09.2025 19:33:055Normal  
automatic log for run 1029
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44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 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -130

[Producer.tracker_irgendwas]
  222   Sat Sep 20 19:26:22 2025 elog_producerCaribou 1.51028RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:21:2920.09.2025 19:26:335Normal  
automatic log for run 1028
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4
0 62 1 0 0 0 10
0 63 0 0 0 0 10
1 0 0 0 0 0 15
1 1 0 0 0 0 10
1 2 0 0 0 0 8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 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -120

[Producer.tracker_irgendwas]
  221   Sat Sep 20 19:20:08 2025 elog_producerCaribou 1.51027RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:15:1620.09.2025 19:20:195Normal  
automatic log for run 1027
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0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
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -110

[Producer.tracker_irgendwas]
  220   Sat Sep 20 19:14:00 2025 elog_producerCaribou 1.51026RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:09:0720.09.2025 19:14:125Normal  
automatic log for run 1026
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39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 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -100

[Producer.tracker_irgendwas]
  219   Sat Sep 20 19:07:43 2025 elog_producerCaribou 1.51025RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:02:5120.09.2025 19:07:545Normal  
automatic log for run 1025
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4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 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -90

[Producer.tracker_irgendwas]
  218   Sat Sep 20 19:01:35 2025 elog_producerCaribou 1.51024RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:56:4420.09.2025 19:01:475Normal  
automatic log for run 1024
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0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
3 39 0 0 0 0 11
3 40 0 0 0 0 2
3 41 0 0 0 0 7
3 42 0 0 0 0 12
3 43 0 0 0 0 12
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -80

[Producer.tracker_irgendwas]
  217   Sat Sep 20 18:55:26 2025 elog_producerCaribou 1.51023RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:50:0620.09.2025 18:55:385Normal  
automatic log for run 1023
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34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 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -70

[Producer.tracker_irgendwas]
  216   Sat Sep 20 18:48:56 2025 elog_producerCaribou 1.51022RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:43:5620.09.2025 18:49:085Normal  
automatic log for run 1022
Comment:
bias voltage scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 2
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11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 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0xD #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12
EUDAQ_DC= peary_dc

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/Elements/caribou_maus_250920/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -60

[Producer.tracker_irgendwas]
ELOG V3.1.5-fc6679b