Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-rd50-desy-Oct2024 testbeam-RD50-DESY-Apr2024 testbeam-RD50-DESY-Jul2023 testbeam-RD50-CERN-Oct2022 testbeam-DESY-Oct2017 testbeam-DESY-April2017 testbeam-SPS2015 testbeam-SPS2014 testbeam-DESY14 testbeam-SPS12 testbeam-SPS11 testbeam-SPS10 testbeam-SPS09 testbeam-SPS08 LP-TPC
  Testbeam at DESY in 2024, Page 25 of 28  Not logged in ELOG logo
ID Date Author Subject Run Number DUT Fluence Beam Energy Data t-Start t-Stop Duration_mindown
  305   Fri Apr 26 09:40:20 2024 tb-crewnot trimmed283W3 NIKHEFunirradiated4.2Unknown26.04.2024 09:40:2826.04.2024 09:40:390
automatic log for run 283
Comment:
calib happening
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = .94
th__i = 3
Attachment 2: matrix_mpw4.txt

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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  306   Fri Apr 26 09:43:51 2024 tb-crewnot trimmed284W3 NIKHEFunirradiated4.2Unknown26.04.2024 09:44:0726.04.2024 09:44:100
automatic log for run 284
Comment:
calib happening
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_MPW3]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config.txt
en_freeze = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_config_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 1
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_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.2
th__i = 3


[RD50_MPW3_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_piggy.txt
en_freeze = 1
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
matrix_config = matrix_config_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
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"


[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 6 
00 02 0 0 0 0 8 
00 03 0 0 0 0 10 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 9 
00 07 0 0 0 0 8 
00 08 0 0 0 0 6 
00 09 0 0 0 0 11 
00 10 0 0 0 0 10 
00 11 0 0 0 0 10 
00 12 0 0 0 0 12 
00 13 0 0 0 0 2 
00 14 0 0 0 0 10 
00 15 0 0 0 0 4 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 11 
00 19 0 0 0 0 10 
00 20 0 0 0 0 5 
00 21 0 0 0 0 5 
00 22 0 0 0 0 9 
00 23 0 0 0 0 7 
00 24 0 0 0 0 10 
00 25 0 0 0 0 6 
00 26 0 0 0 0 3 
00 27 0 0 0 0 2 
00 28 0 0 0 0 10 
00 29 0 0 0 0 8 
00 30 0 0 0 0 7 
00 31 0 0 0 0 9 
00 32 0 0 0 0 9 
00 33 0 0 0 0 7 
00 34 0 0 0 0 13 
00 35 0 0 0 0 6 
00 36 0 0 0 0 10 
00 37 0 0 0 0 9 
00 38 0 0 0 0 6 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 3 
00 42 0 0 0 0 14 
00 43 0 0 0 0 8 
00 44 0 0 0 0 6 
00 45 0 0 0 0 14 
00 46 0 0 0 0 7 
00 47 0 0 0 0 5 
00 48 0 0 0 0 4 
00 49 0 0 0 0 3 
00 50 0 0 0 0 5 
00 51 0 0 0 0 5 
00 52 0 0 0 0 9 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 7 
00 58 0 0 0 0 9 
00 59 0 0 0 0 6 
00 60 0 0 0 0 9 
00 61 0 0 0 0 4 
00 62 0 0 0 0 13 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 7 
01 02 0 0 0 0 12 
01 03 0 0 0 0 4 
01 04 0 0 0 0 8 
01 05 0 0 0 0 5 
01 06 0 0 0 0 6 
01 07 0 0 0 0 8 
01 08 0 0 0 0 10 
01 09 0 0 0 0 9 
01 10 0 0 0 0 11 
01 11 0 0 0 0 10 
01 12 0 0 0 0 10 
01 13 0 0 0 0 12 
01 14 0 0 0 0 12 
01 15 0 0 0 0 0 
01 16 0 0 0 0 4 
01 17 0 0 0 0 9 
01 18 0 0 0 0 6 
01 19 0 0 0 0 12 
01 20 0 0 0 0 9 
01 21 0 0 0 0 15 
01 22 0 0 0 0 5 
01 23 0 0 0 0 7 
01 24 0 0 0 0 3 
01 25 0 0 0 0 6 
01 26 0 0 0 0 8 
01 27 0 0 0 0 9 
01 28 0 0 0 0 4 
01 29 0 0 0 0 3 
01 30 0 0 0 0 8 
01 31 0 0 0 0 4 
01 32 0 0 0 0 6 
01 33 0 0 0 0 8 
01 34 0 0 0 0 13 
01 35 0 0 0 0 5 
01 36 0 0 0 0 6 
01 37 0 0 0 0 8 
01 38 0 0 0 0 14 
01 39 0 0 0 0 8 
01 40 0 0 0 0 10 
01 41 0 0 0 0 4 
01 42 0 0 0 0 15 
01 43 0 0 0 0 2 
01 44 0 0 0 0 10 
01 45 0 0 0 0 10 
01 46 0 0 0 0 11 
01 47 0 0 0 0 9 
01 48 0 0 0 0 2 
01 49 0 0 0 0 8 
01 50 0 0 0 0 13 
01 51 0 0 0 0 10 
01 52 0 0 0 0 6 
01 53 0 0 0 0 8 
01 54 0 0 0 0 13 
01 55 0 0 0 0 3 
01 56 0 0 0 0 7 
01 57 0 0 0 0 12 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 6 
01 61 0 0 0 0 6 
01 62 0 0 0 0 10 
01 63 0 0 0 0 9 
02 00 0 0 0 0 8 
02 01 0 0 0 0 11 
02 02 0 0 0 0 12 
02 03 0 0 0 0 11 
02 04 0 0 0 0 12 
02 05 0 0 0 0 7 
02 06 0 0 0 0 10 
02 07 0 0 0 0 8 
02 08 0 0 0 0 9 
02 09 0 0 0 0 8 
02 10 0 0 0 0 9 
02 11 0 0 0 0 5 
02 12 0 0 0 0 6 
02 13 0 0 0 0 4 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 9 
02 20 0 0 0 0 14 
02 21 0 0 0 0 4 
02 22 0 0 0 0 6 
02 23 0 0 0 0 12 
02 24 0 0 0 0 10 
02 25 0 0 0 0 11 
02 26 0 0 0 0 6 
02 27 0 0 0 0 6 
02 28 0 0 0 0 11 
02 29 0 0 0 0 12 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 9 
02 33 0 0 0 0 5 
02 34 0 0 0 0 4 
02 35 0 0 0 0 6 
02 36 0 0 0 0 5 
02 37 0 0 0 0 11 
02 38 0 0 0 0 6 
02 39 0 0 0 0 8 
02 40 0 0 0 0 8 
02 41 0 0 0 0 10 
02 42 0 0 0 0 5 
02 43 0 0 0 0 10 
02 44 0 0 0 0 3 
02 45 0 0 0 0 11 
02 46 0 0 0 0 13 
02 47 0 0 0 0 4 
02 48 0 0 0 0 8 
02 49 0 0 0 0 12 
02 50 0 0 0 0 7 
02 51 0 0 0 0 9 
02 52 0 0 0 0 7 
02 53 0 0 0 0 6 
02 54 0 0 0 0 8 
02 55 0 0 0 0 5 
02 56 0 0 0 0 1 
02 57 0 0 0 0 3 
02 58 0 0 0 0 13 
02 59 0 0 0 0 12 
02 60 0 0 0 0 9 
02 61 0 0 0 0 9 
02 62 0 0 0 0 6 
02 63 0 0 0 0 7 
03 00 0 0 0 0 9 
03 01 0 0 0 0 10 
03 02 0 0 0 0 5 
03 03 1 0 0 0 5 
03 04 0 0 0 0 9 
03 05 0 0 0 0 8 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 5 
03 09 0 0 0 0 6 
03 10 0 0 0 0 3 
03 11 0 0 0 0 3 
03 12 0 0 0 0 10 
03 13 0 0 0 0 6 
03 14 0 0 0 0 11 
03 15 0 0 0 0 8 
03 16 0 0 0 0 2 
03 17 0 0 0 0 9 
03 18 0 0 0 0 10 
03 19 0 0 0 0 3 
03 20 0 0 0 0 6 
03 21 0 0 0 0 4 
03 22 0 0 0 0 4 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 8 
03 26 0 0 0 0 11 
03 27 0 0 0 0 6 
03 28 0 0 0 0 10 
03 29 0 0 0 0 10 
03 30 0 0 0 0 2 
03 31 0 0 0 0 14 
03 32 0 0 0 0 8 
03 33 0 0 0 0 9 
03 34 0 0 0 0 12 
03 35 0 0 0 0 9 
03 36 0 0 0 0 7 
03 37 0 0 0 0 7 
03 38 0 0 0 0 10 
03 39 0 0 0 0 11 
03 40 0 0 0 0 4 
03 41 0 0 0 0 5 
03 42 0 0 0 0 13 
03 43 0 0 0 0 9 
03 44 0 0 0 0 5 
03 45 0 0 0 0 14 
03 46 0 0 0 0 3 
03 47 0 0 0 0 5 
03 48 0 0 0 0 6 
03 49 0 0 0 0 7 
03 50 0 0 0 0 10 
03 51 0 0 0 0 7 
03 52 0 0 0 0 8 
03 53 0 0 0 0 9 
03 54 0 0 0 0 5 
03 55 0 0 0 0 8 
03 56 0 0 0 0 10 
03 57 0 0 0 0 5 
03 58 0 0 0 0 6 
03 59 0 0 0 0 6 
03 60 0 0 0 0 3 
03 61 0 0 0 0 9 
03 62 0 0 0 0 3 
03 63 0 0 0 0 8 
04 00 0 0 0 0 3 
04 01 0 0 0 0 13 
04 02 0 0 0 0 13 
04 03 0 0 0 0 4 
04 04 0 0 0 0 7 
04 05 0 0 0 0 10 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 6 
04 09 0 0 0 0 5 
04 10 1 0 0 0 3 
04 11 0 0 0 0 9 
04 12 0 0 0 0 7 
04 13 0 0 0 0 9 
04 14 0 0 0 0 3 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 8 
04 20 0 0 0 0 9 
04 21 0 0 0 0 8 
04 22 0 0 0 0 10 
04 23 0 0 0 0 12 
04 24 0 0 0 0 7 
04 25 0 0 0 0 5 
04 26 0 0 0 0 10 
04 27 0 0 0 0 10 
04 28 0 0 0 0 8 
04 29 0 0 0 0 5 
04 30 0 0 0 0 5 
04 31 0 0 0 0 7 
04 32 0 0 0 0 9 
04 33 0 0 0 0 4 
04 34 0 0 0 0 7 
04 35 0 0 0 0 4 
04 36 0 0 0 0 6 
04 37 0 0 0 0 12 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  307   Fri Apr 26 09:57:32 2024 tb-crewnot trimmed285W3 NIKHEFunirradiated4.2Unknown26.04.2024 09:57:4926.04.2024 09:57:510
automatic log for run 285
Comment:
calib happening
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 1 0 0 0 -1 
00 01 1 0 0 0 -1 
00 02 1 0 0 0 -1 
00 03 1 0 0 0 -1 
00 04 1 0 0 0 -1 
00 05 1 0 0 0 -1 
00 06 1 0 0 0 -1 
00 07 1 0 0 0 -1 
00 08 1 0 0 0 -1 
00 09 1 0 0 0 -1 
00 10 1 0 0 0 -1 
00 11 1 0 0 0 -1 
00 12 1 0 0 0 -1 
00 13 1 0 0 0 -1 
00 15 1 0 0 0 -1 
00 16 1 0 0 0 -1 
00 17 1 0 0 0 -1 
00 18 1 0 0 0 -1 
00 19 1 0 0 0 -1 
00 20 1 0 0 0 -1 
00 21 1 0 0 0 -1 
00 22 1 0 0 0 -1 
00 23 1 0 0 0 -1 
00 24 1 0 0 0 -1 
00 25 1 0 0 0 -1 
00 26 1 0 0 0 -1 
00 27 1 0 0 0 -1 
00 28 1 0 0 0 -1 
00 29 1 0 0 0 -1 
00 30 1 0 0 0 -1 
00 31 1 0 0 0 -1 
00 32 1 0 0 0 -1 
00 33 1 0 0 0 -1 
00 34 1 0 0 0 -1 
00 35 1 0 0 0 -1 
00 36 1 0 0 0 -1 
00 37 1 0 0 0 -1 
00 38 1 0 0 0 -1 
00 39 1 0 0 0 -1 
00 40 1 0 0 0 -1 
00 41 1 0 0 0 -1 
00 42 1 0 0 0 -1 
00 43 1 0 0 0 -1 
00 44 1 0 0 0 -1 
00 45 1 0 0 0 -1 
00 46 1 0 0 0 -1 
00 47 1 0 0 0 -1 
00 48 1 0 0 0 -1 
00 49 1 0 0 0 -1 
00 50 1 0 0 0 -1 
00 51 1 0 0 0 -1 
00 52 1 0 0 0 -1 
00 53 1 0 0 0 -1 
00 54 1 0 0 0 -1 
00 55 1 0 0 0 -1 
00 56 1 0 0 0 -1 
00 57 1 0 0 0 -1 
00 58 1 0 0 0 -1 
00 59 1 0 0 0 -1 
00 60 1 0 0 0 -1 
00 61 1 0 0 0 -1 
00 62 1 0 0 0 -1 
00 63 1 0 0 0 -1 
01 00 1 0 0 0 -1 
01 01 1 0 0 0 -1 
01 02 1 0 0 0 -1 
01 03 1 0 0 0 -1 
01 04 1 0 0 0 -1 
01 05 1 0 0 0 -1 
01 06 1 0 0 0 -1 
01 07 1 0 0 0 -1 
01 08 1 0 0 0 -1 
01 09 1 0 0 0 -1 
01 10 1 0 0 0 -1 
01 11 1 0 0 0 -1 
01 12 1 0 0 0 -1 
01 13 1 0 0 0 -1 
01 15 1 0 0 0 -1 
01 16 1 0 0 0 -1 
01 17 1 0 0 0 -1 
01 18 1 0 0 0 -1 
01 19 1 0 0 0 -1 
01 20 1 0 0 0 -1 
01 21 1 0 0 0 -1 
01 22 1 0 0 0 -1 
01 23 1 0 0 0 -1 
01 24 1 0 0 0 -1 
01 25 1 0 0 0 -1 
01 26 1 0 0 0 -1 
01 27 1 0 0 0 -1 
01 28 1 0 0 0 -1 
01 29 1 0 0 0 -1 
01 30 1 0 0 0 -1 
01 31 1 0 0 0 -1 
01 32 1 0 0 0 -1 
01 33 1 0 0 0 -1 
01 34 1 0 0 0 -1 
01 35 1 0 0 0 -1 
01 36 1 0 0 0 -1 
01 37 1 0 0 0 -1 
01 38 1 0 0 0 -1 
01 39 1 0 0 0 -1 
01 40 1 0 0 0 -1 
01 41 1 0 0 0 -1 
01 42 1 0 0 0 -1 
01 43 1 0 0 0 -1 
01 44 1 0 0 0 -1 
01 45 1 0 0 0 -1 
01 46 1 0 0 0 -1 
01 47 1 0 0 0 -1 
01 48 1 0 0 0 -1 
01 49 1 0 0 0 -1 
01 50 1 0 0 0 -1 
01 51 1 0 0 0 -1 
01 52 1 0 0 0 -1 
01 53 1 0 0 0 -1 
01 54 1 0 0 0 -1 
01 55 1 0 0 0 -1 
01 56 1 0 0 0 -1 
01 57 1 0 0 0 -1 
01 58 1 0 0 0 -1 
01 59 1 0 0 0 -1 
01 60 1 0 0 0 -1 
01 61 1 0 0 0 -1 
01 62 1 0 0 0 -1 
01 63 1 0 0 0 -1 
02 00 1 0 0 0 -1 
02 01 1 0 0 0 -1 
02 02 1 0 0 0 -1 
02 03 1 0 0 0 -1 
02 04 1 0 0 0 -1 
02 05 1 0 0 0 -1 
02 06 1 0 0 0 -1 
02 07 1 0 0 0 -1 
02 08 1 0 0 0 -1 
02 09 1 0 0 0 -1 
02 10 1 0 0 0 -1 
02 11 1 0 0 0 -1 
02 12 1 0 0 0 -1 
02 13 1 0 0 0 -1 
02 15 1 0 0 0 -1 
02 16 1 0 0 0 -1 
02 17 1 0 0 0 -1 
02 18 1 0 0 0 -1 
02 19 1 0 0 0 -1 
02 20 1 0 0 0 -1 
02 21 1 0 0 0 -1 
02 22 1 0 0 0 -1 
02 23 1 0 0 0 -1 
02 24 1 0 0 0 -1 
02 25 1 0 0 0 -1 
02 26 1 0 0 0 -1 
02 27 1 0 0 0 -1 
02 28 1 0 0 0 -1 
02 29 1 0 0 0 -1 
02 30 1 0 0 0 -1 
02 31 1 0 0 0 -1 
02 32 1 0 0 0 -1 
02 33 1 0 0 0 -1 
02 34 1 0 0 0 -1 
02 35 1 0 0 0 -1 
02 36 1 0 0 0 -1 
02 37 1 0 0 0 -1 
02 38 1 0 0 0 -1 
02 39 1 0 0 0 -1 
02 40 1 0 0 0 -1 
02 41 1 0 0 0 -1 
02 42 1 0 0 0 -1 
02 43 1 0 0 0 -1 
02 44 1 0 0 0 -1 
02 45 1 0 0 0 -1 
02 46 1 0 0 0 -1 
02 47 1 0 0 0 -1 
02 48 1 0 0 0 -1 
02 49 1 0 0 0 -1 
02 50 1 0 0 0 -1 
02 51 1 0 0 0 -1 
02 52 1 0 0 0 -1 
02 53 1 0 0 0 -1 
02 54 1 0 0 0 -1 
02 55 1 0 0 0 -1 
02 56 1 0 0 0 -1 
02 57 1 0 0 0 -1 
02 58 1 0 0 0 -1 
02 59 1 0 0 0 -1 
02 60 1 0 0 0 -1 
02 61 1 0 0 0 -1 
02 62 1 0 0 0 -1 
02 63 1 0 0 0 -1 
03 00 1 0 0 0 -1 
03 01 1 0 0 0 -1 
03 02 1 0 0 0 -1 
03 03 1 0 0 0 -1 
03 04 1 0 0 0 -1 
03 05 1 0 0 0 -1 
03 06 1 0 0 0 -1 
03 07 1 0 0 0 -1 
03 08 1 0 0 0 -1 
03 09 1 0 0 0 -1 
03 10 1 0 0 0 -1 
03 11 1 0 0 0 -1 
03 12 1 0 0 0 -1 
03 13 1 0 0 0 -1 
03 15 1 0 0 0 -1 
03 16 1 0 0 0 -1 
03 17 1 0 0 0 -1 
03 18 1 0 0 0 -1 
03 19 1 0 0 0 -1 
03 20 1 0 0 0 -1 
03 21 1 0 0 0 -1 
03 22 1 0 0 0 -1 
03 23 1 0 0 0 -1 
03 24 1 0 0 0 -1 
03 25 1 0 0 0 -1 
03 26 1 0 0 0 -1 
03 27 1 0 0 0 -1 
03 28 1 0 0 0 -1 
03 29 1 0 0 0 -1 
03 30 1 0 0 0 -1 
03 31 1 0 0 0 -1 
03 32 1 0 0 0 -1 
03 33 1 0 0 0 -1 
03 34 1 0 0 0 -1 
03 35 1 0 0 0 -1 
03 36 1 0 0 0 -1 
03 37 1 0 0 0 -1 
03 38 1 0 0 0 -1 
03 39 1 0 0 0 -1 
03 40 1 0 0 0 -1 
03 41 1 0 0 0 -1 
03 42 1 0 0 0 -1 
03 43 1 0 0 0 -1 
03 44 1 0 0 0 -1 
03 45 1 0 0 0 -1 
03 46 1 0 0 0 -1 
03 47 1 0 0 0 -1 
03 48 1 0 0 0 -1 
03 49 1 0 0 0 -1 
03 50 1 0 0 0 -1 
03 51 1 0 0 0 -1 
03 52 1 0 0 0 -1 
03 53 1 0 0 0 -1 
03 54 1 0 0 0 -1 
03 55 1 0 0 0 -1 
03 56 1 0 0 0 -1 
03 57 1 0 0 0 -1 
03 58 1 0 0 0 -1 
03 59 1 0 0 0 -1 
03 60 1 0 0 0 -1 
03 61 1 0 0 0 -1 
03 62 1 0 0 0 -1 
03 63 1 0 0 0 -1 
04 00 1 0 0 0 -1 
04 01 1 0 0 0 -1 
04 02 1 0 0 0 -1 
04 03 1 0 0 0 -1 
04 04 1 0 0 0 -1 
04 05 1 0 0 0 -1 
04 06 1 0 0 0 -1 
04 07 1 0 0 0 -1 
04 08 1 0 0 0 -1 
04 09 1 0 0 0 -1 
04 10 1 0 0 0 -1 
04 11 1 0 0 0 -1 
04 12 1 0 0 0 -1 
04 13 1 0 0 0 -1 
04 15 1 0 0 0 -1 
04 16 1 0 0 0 -1 
04 17 1 0 0 0 -1 
04 18 1 0 0 0 -1 
04 19 1 0 0 0 -1 
04 20 1 0 0 0 -1 
04 21 1 0 0 0 -1 
04 22 1 0 0 0 -1 
04 23 1 0 0 0 -1 
04 24 1 0 0 0 -1 
04 25 1 0 0 0 -1 
04 26 1 0 0 0 -1 
04 27 1 0 0 0 -1 
04 28 1 0 0 0 -1 
04 29 1 0 0 0 -1 
04 30 1 0 0 0 -1 
04 31 1 0 0 0 -1 
04 32 1 0 0 0 -1 
04 33 1 0 0 0 -1 
04 34 1 0 0 0 -1 
04 35 1 0 0 0 -1 
04 36 1 0 0 0 -1 
04 37 1 0 0 0 -1 
04 38 1 0 0 0 -1 
04 39 1 0 0 0 -1 
04 40 1 0 0 0 -1 
04 41 1 0 0 0 -1 
04 42 1 0 0 0 -1 
... 3738 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  319   Fri Apr 26 12:21:44 2024 tb-crewrotation 20deg294W3 NIKHEFunirradiated4.2Unknown26.04.2024 12:21:3626.04.2024 12:22:030
automatic log for run 294
Comment:
adjusted telepix mask
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  323   Fri Apr 26 14:10:02 2024 tb-crewrotation 10deg296W3 NIKHEFunirradiated4.2Unknown26.04.2024 14:10:0526.04.2024 14:10:220
automatic log for run 296
Comment:
telepix adjustment
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  326   Fri Apr 26 14:15:17 2024 tb-crewrotation 10deg298W3 NIKHEFunirradiated4.2Unknown26.04.2024 14:15:2826.04.2024 14:15:360
automatic log for run 298
Comment:
telepix adjustment
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  329   Fri Apr 26 15:30:01 2024 tb-crewHV scan (lo range)300W3 NIKHEFunirradiated4.2Unknown26.04.2024 15:30:0626.04.2024 15:30:210
automatic log for run 300
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  330   Fri Apr 26 15:32:04 2024 tb-crewHV scan (lo range)301W3 NIKHEFunirradiated4.2Unknown26.04.2024 15:31:5426.04.2024 15:32:240
automatic log for run 301
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  331   Fri Apr 26 15:34:28 2024 tb-crewHV scan (lo range)302W3 NIKHEFunirradiated4.2Unknown26.04.2024 15:33:5326.04.2024 15:34:470
automatic log for run 302
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -10
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  350   Fri Apr 26 20:44:01 2024 tb-crewHV scan (hi range)318W3 NIKHEFunirradiated4.2Unknown26.04.2024 20:43:5726.04.2024 20:44:210
automatic log for run 318
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: default_0.conf
Name = /home/silicon/RD50-MPW4/tb_desy_apr24/mpw4.conf

[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/desy2404/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1

[DataCollector.tel_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/adenium/adenium_run$6R$X

[DataCollector.tlu_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/tlu/tlu_run$6R$X

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.MuPix8]
#EUDAQ_DC = tel_dc
#lazyFrog = -25
#register_value = 0
ThPix = 144

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.94

[Producer.aida_tlu]
#  Clock source (0 = no clock, 1= Si5345, 2= FPGA)
# Generate internal triggers (in Hz, 0 = no triggers)
# In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
#DUTMask = 0x3
#DUTMaskModeModifier = 0x30
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskLo = 0x00000040
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12
DACThreshold5 = -0.12
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
FileComment = mpw3
HDMI1_clk = 1
HDMI1_set = 0x7
HDMI2_clk = 1
HDMI2_set = 0x7
HDMI3_clk = 1
HDMI3_set = 0x7
HDMI4_clk = 1
HDMI4_set = 0x7
InternalShutterInterval = 0
InternalTriggerFreq = 0
LEMOclk = 0
MinSpillTimeOnins = 4.5
MinSpilldownTimeins = 0.5
PlotWindowSizeinns = 40e9
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
ThreshEvBegin = 1
ThreshEvEnd = 1
ThreshPartBegin = 1
ThreshPartEnd = 1
confid = 20201311
delayStart = 200
in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0
skipconf = 0
trigMaskHi = 0x00000000
trigMaskLo = 0x00000002
trigPol = 0x3E
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

[Producer.elog1]
files2log = "peary_config.cfg, matrix_mpw4.txt"
start_cmd = "./get_mpw4_configs.sh"

[Producer.keithleyPS]
max_current = 100e-6
voltage = -500

[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER
  352   Fri Apr 26 20:53:17 2024 tb-crewHV scan (hi range)321W3 NIKHEFunirradiated4.2Unknown26.04.2024 20:53:2326.04.2024 20:53:360
automatic log for run 321
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 3 
00 02 0 0 0 0 11 
00 03 0 0 0 0 15 
00 04 0 0 0 0 7 
00 05 0 0 0 0 6 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 11 
00 09 0 0 0 0 8 
00 10 0 0 0 0 7 
00 11 0 0 0 0 10 
00 12 0 0 0 0 5 
00 13 0 0 0 0 15 
00 14 0 0 0 0 15 
00 15 0 0 0 0 14 
00 16 0 0 0 0 7 
00 17 0 0 0 0 11 
00 18 0 0 0 0 15 
00 19 0 0 0 0 10 
00 20 0 0 0 0 8 
00 21 0 0 0 0 6 
00 22 0 0 0 0 11 
00 23 0 0 0 0 14 
00 24 0 0 0 0 15 
00 25 0 0 0 0 14 
00 26 0 0 0 0 15 
00 27 0 0 0 0 14 
00 28 0 0 0 0 5 
00 29 0 0 0 0 10 
00 30 0 0 0 0 3 
00 31 0 0 0 0 9 
00 32 0 0 0 0 2 
00 33 0 0 0 0 6 
00 34 0 0 0 0 9 
00 35 0 0 0 0 15 
00 36 0 0 0 0 0 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 15 
00 40 0 0 0 0 5 
00 41 0 0 0 0 12 
00 42 0 0 0 0 9 
00 43 0 0 0 0 15 
00 44 0 0 0 0 13 
00 45 0 0 0 0 9 
00 46 0 0 0 0 5 
00 47 0 0 0 0 11 
00 48 0 0 0 0 8 
00 49 0 0 0 0 5 
00 50 0 0 0 0 2 
00 51 0 0 0 0 0 
00 52 0 0 0 0 10 
00 53 0 0 0 0 10 
00 54 0 0 0 0 12 
00 55 1 0 0 0 10 
00 56 0 0 0 0 9 
00 57 0 0 0 0 0 
00 58 0 0 0 0 2 
00 59 0 0 0 0 11 
00 60 0 0 0 0 8 
00 61 0 0 0 0 6 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 7 
01 01 0 0 0 0 6 
01 02 0 0 0 0 1 
01 03 0 0 0 0 11 
01 04 0 0 0 0 13 
01 05 0 0 0 0 12 
01 06 0 0 0 0 15 
01 07 0 0 0 0 11 
01 08 0 0 0 0 8 
01 09 0 0 0 0 9 
01 10 0 0 0 0 15 
01 11 0 0 0 0 15 
01 12 0 0 0 0 8 
01 13 0 0 0 0 14 
01 14 0 0 0 0 15 
01 15 0 0 0 0 12 
01 16 0 0 0 0 11 
01 17 0 0 0 0 6 
01 18 0 0 0 0 0 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 14 
01 22 0 0 0 0 5 
01 23 0 0 0 0 6 
01 24 0 0 0 0 8 
01 25 0 0 0 0 15 
01 26 0 0 0 0 3 
01 27 0 0 0 0 9 
01 28 0 0 0 0 10 
01 29 0 0 0 0 3 
01 30 0 0 0 0 11 
01 31 0 0 0 0 12 
01 32 0 0 0 0 8 
01 33 0 0 0 0 4 
01 34 0 0 0 0 13 
01 35 0 0 0 0 10 
01 36 0 0 0 0 9 
01 37 0 0 0 0 7 
01 38 0 0 0 0 8 
01 39 0 0 0 0 13 
01 40 0 0 0 0 1 
01 41 0 0 0 0 13 
01 42 0 0 0 0 4 
01 43 0 0 0 0 5 
01 44 0 0 0 0 11 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 9 
01 48 0 0 0 0 8 
01 49 0 0 0 0 10 
01 50 0 0 0 0 9 
01 51 0 0 0 0 10 
01 52 0 0 0 0 5 
01 53 0 0 0 0 15 
01 54 0 0 0 0 3 
01 55 0 0 0 0 0 
01 56 0 0 0 0 13 
01 57 0 0 0 0 2 
01 58 0 0 0 0 11 
01 59 0 0 0 0 6 
01 60 0 0 0 0 3 
01 61 0 0 0 0 10 
01 62 0 0 0 0 11 
01 63 0 0 0 0 7 
02 00 0 0 0 0 13 
02 01 0 0 0 0 5 
02 02 0 0 0 0 15 
02 03 0 0 0 0 5 
02 04 0 0 0 0 14 
02 05 0 0 0 0 6 
02 06 0 0 0 0 7 
02 07 0 0 0 0 12 
02 08 0 0 0 0 15 
02 09 0 0 0 0 4 
02 10 0 0 0 0 12 
02 11 0 0 0 0 13 
02 12 0 0 0 0 15 
02 13 0 0 0 0 9 
02 14 0 0 0 0 8 
02 15 0 0 0 0 12 
02 16 0 0 0 0 12 
02 17 0 0 0 0 10 
02 18 0 0 0 0 3 
02 19 0 0 0 0 13 
02 20 0 0 0 0 12 
02 21 0 0 0 0 2 
02 22 0 0 0 0 8 
02 23 0 0 0 0 2 
02 24 0 0 0 0 15 
02 25 0 0 0 0 10 
02 26 0 0 0 0 3 
02 27 0 0 0 0 9 
02 28 0 0 0 0 14 
02 29 0 0 0 0 5 
02 30 0 0 0 0 4 
02 31 0 0 0 0 4 
02 32 0 0 0 0 15 
02 33 0 0 0 0 12 
02 34 0 0 0 0 15 
02 35 0 0 0 0 15 
02 36 0 0 0 0 15 
02 37 0 0 0 0 7 
02 38 0 0 0 0 15 
02 39 0 0 0 0 1 
02 40 0 0 0 0 14 
02 41 0 0 0 0 12 
02 42 0 0 0 0 7 
02 43 0 0 0 0 14 
02 44 0 0 0 0 10 
02 45 1 0 0 0 11 
02 46 0 0 0 0 1 
02 47 0 0 0 0 15 
02 48 0 0 0 0 4 
02 49 0 0 0 0 10 
02 50 0 0 0 0 4 
02 51 0 0 0 0 10 
02 52 0 0 0 0 14 
02 53 0 0 0 0 4 
02 54 0 0 0 0 11 
02 55 0 0 0 0 4 
02 56 0 0 0 0 9 
02 57 0 0 0 0 4 
02 58 0 0 0 0 9 
02 59 0 0 0 0 14 
02 60 0 0 0 0 12 
02 61 0 0 0 0 15 
02 62 0 0 0 0 9 
02 63 0 0 0 0 13 
03 00 0 0 0 0 8 
03 01 0 0 0 0 2 
03 02 0 0 0 0 15 
03 03 0 0 0 0 15 
03 04 0 0 0 0 15 
03 05 0 0 0 0 4 
03 06 0 0 0 0 6 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 11 
03 10 0 0 0 0 15 
03 11 0 0 0 0 15 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 8 
03 15 0 0 0 0 13 
03 16 0 0 0 0 8 
03 17 0 0 0 0 7 
03 18 0 0 0 0 3 
03 19 0 0 0 0 2 
03 20 0 0 0 0 13 
03 21 0 0 0 0 2 
03 22 0 0 0 0 0 
03 23 0 0 0 0 5 
03 24 0 0 0 0 0 
03 25 0 0 0 0 3 
03 26 0 0 0 0 9 
03 27 0 0 0 0 14 
03 28 0 0 0 0 15 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 14 
03 32 0 0 0 0 12 
03 33 0 0 0 0 7 
03 34 0 0 0 0 7 
03 35 0 0 0 0 7 
03 36 0 0 0 0 4 
03 37 0 0 0 0 10 
03 38 0 0 0 0 2 
03 39 0 0 0 0 5 
03 40 0 0 0 0 1 
03 41 0 0 0 0 15 
03 42 0 0 0 0 3 
03 43 0 0 0 0 2 
03 44 0 0 0 0 3 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 9 
03 48 0 0 0 0 1 
03 49 0 0 0 0 9 
03 50 0 0 0 0 6 
03 51 0 0 0 0 13 
03 52 0 0 0 0 15 
03 53 0 0 0 0 6 
03 54 0 0 0 0 15 
03 55 0 0 0 0 8 
03 56 0 0 0 0 3 
03 57 0 0 0 0 11 
03 58 0 0 0 0 7 
03 59 0 0 0 0 15 
03 60 0 0 0 0 15 
03 61 0 0 0 0 3 
03 62 0 0 0 0 9 
03 63 0 0 0 0 4 
04 00 0 0 0 0 12 
04 01 0 0 0 0 15 
04 02 0 0 0 0 14 
04 03 0 0 0 0 9 
04 04 0 0 0 0 10 
04 05 0 0 0 0 14 
04 06 0 0 0 0 4 
04 07 0 0 0 0 14 
04 08 0 0 0 0 14 
04 09 0 0 0 0 13 
04 10 0 0 0 0 15 
04 11 0 0 0 0 15 
04 12 0 0 0 0 4 
04 13 0 0 0 0 10 
04 14 0 0 0 0 11 
04 15 0 0 0 0 5 
04 16 0 0 0 0 4 
04 17 0 0 0 0 12 
04 18 0 0 0 0 10 
04 19 0 0 0 0 9 
04 20 0 0 0 0 4 
04 21 0 0 0 0 14 
04 22 0 0 0 0 4 
04 23 0 0 0 0 13 
04 24 0 0 0 0 13 
04 25 0 0 0 0 12 
04 26 0 0 0 0 12 
04 27 0 0 0 0 15 
04 28 0 0 0 0 7 
04 29 0 0 0 0 14 
04 30 0 0 0 0 15 
04 31 0 0 0 0 8 
04 32 0 0 0 0 13 
04 33 0 0 0 0 10 
04 34 0 0 0 0 8 
04 35 0 0 0 0 12 
04 36 0 0 0 0 14 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: default_0.conf
Name = /home/silicon/RD50-MPW4/tb_desy_apr24/mpw4.conf

[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/desy2404/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1

[DataCollector.tel_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/adenium/adenium_run$6R$X

[DataCollector.tlu_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/tlu/tlu_run$6R$X

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.MuPix8]
#EUDAQ_DC = tel_dc
#lazyFrog = -25
#register_value = 0
ThPix = 144

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.94

[Producer.aida_tlu]
#  Clock source (0 = no clock, 1= Si5345, 2= FPGA)
# Generate internal triggers (in Hz, 0 = no triggers)
# In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
#DUTMask = 0x3
#DUTMaskModeModifier = 0x30
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskLo = 0x00000040
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12
DACThreshold5 = -0.12
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
FileComment = mpw3
HDMI1_clk = 1
HDMI1_set = 0x7
HDMI2_clk = 1
HDMI2_set = 0x7
HDMI3_clk = 1
HDMI3_set = 0x7
HDMI4_clk = 1
HDMI4_set = 0x7
InternalShutterInterval = 0
InternalTriggerFreq = 0
LEMOclk = 0
MinSpillTimeOnins = 4.5
MinSpilldownTimeins = 0.5
PlotWindowSizeinns = 40e9
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
ThreshEvBegin = 1
ThreshEvEnd = 1
ThreshPartBegin = 1
ThreshPartEnd = 1
confid = 20201311
delayStart = 200
in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0
skipconf = 0
trigMaskHi = 0x00000000
trigMaskLo = 0x00000002
trigPol = 0x3E
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

[Producer.elog1]
files2log = "peary_config.cfg, matrix_mpw4.txt"
start_cmd = "./get_mpw4_configs.sh"

[Producer.keithleyPS]
max_current = 100e-6
voltage = -500

[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER
  374   Fri Apr 26 23:32:05 2024 tb-crewHV scan (hi range)334W8 LIVunirradiated4.2Unknown26.04.2024 23:32:1926.04.2024 23:32:250
automatic log for run 334
Comment:
changed DUT
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt

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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -100
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  377   Sat Apr 27 09:39:53 2024 tb-crewHV scan (hi range)336W8 LIVunirradiated4.2Unknown27.04.2024 09:40:1027.04.2024 09:40:130
automatic log for run 336
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.94
th__i = 3
Attachment 2: matrix_mpw4.txt

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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -100
max_current = 100e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  382   Sat Apr 27 11:09:37 2024 tb-crewthr scans339W8 LIVunirradiated4.2Unknown27.04.2024 11:09:4627.04.2024 11:09:570
automatic log for run 339
Comment:
doing thr scans now
for W8 LIV so far just "normal" data taking, no HV scans, error in the log
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.93
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 0 
00 04 0 0 0 0 15 
00 05 0 0 0 0 6 
00 06 0 0 0 0 7 
00 07 0 0 0 0 3 
00 08 0 0 0 0 8 
00 09 0 0 0 0 0 
00 10 0 0 0 0 11 
00 11 0 0 0 0 7 
00 12 0 0 0 0 5 
00 13 0 0 0 0 8 
00 14 0 0 0 0 8 
00 15 0 0 0 0 10 
00 16 0 0 0 0 3 
00 17 0 0 0 0 6 
00 18 0 0 0 0 10 
00 19 0 0 0 0 2 
00 20 0 0 0 0 8 
00 21 0 0 0 0 7 
00 22 0 0 0 0 2 
00 23 0 0 0 0 4 
00 24 0 0 0 0 6 
00 25 0 0 0 0 5 
00 26 0 0 0 0 3 
00 27 0 0 0 0 15 
00 28 0 0 0 0 10 
00 29 0 0 0 0 5 
00 30 0 0 0 0 7 
00 31 0 0 0 0 6 
00 32 0 0 0 0 10 
00 33 0 0 0 0 0 
00 34 0 0 0 0 0 
00 35 0 0 0 0 4 
00 36 0 0 0 0 10 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 0 
00 40 0 0 0 0 15 
00 41 0 0 0 0 8 
00 42 0 0 0 0 5 
00 43 0 0 0 0 3 
00 44 0 0 0 0 8 
00 45 0 0 0 0 11 
00 46 0 0 0 0 10 
00 47 0 0 0 0 10 
00 48 0 0 0 0 8 
00 49 0 0 0 0 4 
00 50 0 0 0 0 5 
00 51 0 0 0 0 11 
00 52 0 0 0 0 5 
00 53 0 0 0 0 7 
00 54 0 0 0 0 3 
00 55 0 0 0 0 1 
00 56 0 0 0 0 2 
00 57 0 0 0 0 8 
00 58 0 0 0 0 4 
00 59 0 0 0 0 12 
00 60 0 0 0 0 12 
00 61 0 0 0 0 3 
00 62 0 0 0 0 8 
00 63 0 0 0 0 0 
01 00 0 0 0 0 8 
01 01 0 0 0 0 10 
01 02 0 0 0 0 0 
01 03 0 0 0 0 0 
01 04 0 0 0 0 0 
01 05 0 0 0 0 3 
01 06 0 0 0 0 3 
01 07 0 0 0 0 5 
01 08 0 0 0 0 2 
01 09 0 0 0 0 0 
01 10 0 0 0 0 12 
01 11 0 0 0 0 3 
01 12 0 0 0 0 7 
01 13 0 0 0 0 6 
01 14 0 0 0 0 3 
01 15 0 0 0 0 6 
01 16 0 0 0 0 13 
01 17 0 0 0 0 0 
01 18 0 0 0 0 0 
01 19 0 0 0 0 5 
01 20 0 0 0 0 7 
01 21 0 0 0 0 6 
01 22 0 0 0 0 7 
01 23 0 0 0 0 6 
01 24 0 0 0 0 5 
01 25 0 0 0 0 2 
01 26 0 0 0 0 2 
01 27 0 0 0 0 2 
01 28 0 0 0 0 13 
01 29 0 0 0 0 3 
01 30 0 0 0 0 8 
01 31 0 0 0 0 10 
01 32 0 0 0 0 9 
01 33 0 0 0 0 6 
01 34 0 0 0 0 0 
01 35 0 0 0 0 6 
01 36 0 0 0 0 14 
01 37 0 0 0 0 5 
01 38 0 0 0 0 13 
01 39 0 0 0 0 10 
01 40 0 0 0 0 5 
01 41 0 0 0 0 11 
01 42 0 0 0 0 4 
01 43 0 0 0 0 7 
01 44 0 0 0 0 8 
01 45 0 0 0 0 9 
01 46 0 0 0 0 2 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 12 
01 50 0 0 0 0 3 
01 51 0 0 0 0 6 
01 52 0 0 0 0 10 
01 53 0 0 0 0 1 
01 54 0 0 0 0 15 
01 55 0 0 0 0 8 
01 56 0 0 0 0 7 
01 57 0 0 0 0 7 
01 58 0 0 0 0 4 
01 59 0 0 0 0 2 
01 60 0 0 0 0 3 
01 61 0 0 0 0 0 
01 62 0 0 0 0 12 
01 63 0 0 0 0 9 
02 00 0 0 0 0 15 
02 01 0 0 0 0 5 
02 02 0 0 0 0 9 
02 03 0 0 0 0 5 
02 04 0 0 0 0 12 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 11 
02 08 0 0 0 0 7 
02 09 0 0 0 0 4 
02 10 0 0 0 0 7 
02 11 0 0 0 0 6 
02 12 0 0 0 0 4 
02 13 0 0 0 0 8 
02 14 0 0 0 0 2 
02 15 0 0 0 0 2 
02 16 0 0 0 0 6 
02 17 0 0 0 0 3 
02 18 0 0 0 0 8 
02 19 0 0 0 0 3 
02 20 0 0 0 0 0 
02 21 0 0 0 0 9 
02 22 0 0 0 0 6 
02 23 0 0 0 0 6 
02 24 0 0 0 0 2 
02 25 0 0 0 0 9 
02 26 0 0 0 0 8 
02 27 0 0 0 0 6 
02 28 0 0 0 0 9 
02 29 0 0 0 0 7 
02 30 0 0 0 0 9 
02 31 0 0 0 0 8 
02 32 0 0 0 0 14 
02 33 0 0 0 0 0 
02 34 0 0 0 0 9 
02 35 0 0 0 0 0 
02 36 0 0 0 0 6 
02 37 0 0 0 0 8 
02 38 0 0 0 0 0 
02 39 0 0 0 0 10 
02 40 0 0 0 0 9 
02 41 0 0 0 0 7 
02 42 0 0 0 0 6 
02 43 0 0 0 0 0 
02 44 0 0 0 0 10 
02 45 0 0 0 0 0 
02 46 0 0 0 0 9 
02 47 0 0 0 0 0 
02 48 0 0 0 0 11 
02 49 0 0 0 0 0 
02 50 0 0 0 0 10 
02 51 0 0 0 0 8 
02 52 0 0 0 0 11 
02 53 0 0 0 0 6 
02 54 0 0 0 0 8 
02 55 0 0 0 0 12 
02 56 0 0 0 0 10 
02 57 0 0 0 0 2 
02 58 0 0 0 0 10 
02 59 0 0 0 0 5 
02 60 0 0 0 0 9 
02 61 0 0 0 0 10 
02 62 0 0 0 0 6 
02 63 0 0 0 0 14 
03 00 0 0 0 0 11 
03 01 0 0 0 0 8 
03 02 0 0 0 0 4 
03 03 0 0 0 0 7 
03 04 0 0 0 0 8 
03 05 0 0 0 0 5 
03 06 0 0 0 0 1 
03 07 0 0 0 0 5 
03 08 0 0 0 0 6 
03 09 0 0 0 0 2 
03 10 0 0 0 0 4 
03 11 0 0 0 0 0 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 6 
03 15 0 0 0 0 1 
03 16 0 0 0 0 12 
03 17 0 0 0 0 7 
03 18 0 0 0 0 0 
03 19 0 0 0 0 5 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 2 
03 24 0 0 0 0 13 
03 25 0 0 0 0 1 
03 26 0 0 0 0 7 
03 27 0 0 0 0 10 
03 28 0 0 0 0 12 
03 29 0 0 0 0 10 
03 30 0 0 0 0 11 
03 31 0 0 0 0 9 
03 32 0 0 0 0 13 
03 33 0 0 0 0 14 
03 34 0 0 0 0 7 
03 35 0 0 0 0 5 
03 36 0 0 0 0 0 
03 37 0 0 0 0 0 
03 38 0 0 0 0 7 
03 39 0 0 0 0 11 
03 40 0 0 0 0 7 
03 41 0 0 0 0 6 
03 42 0 0 0 0 4 
03 43 0 0 0 0 3 
03 44 0 0 0 0 9 
03 45 0 0 0 0 13 
03 46 0 0 0 0 6 
03 47 0 0 0 0 3 
03 48 0 0 0 0 0 
03 49 0 0 0 0 8 
03 50 0 0 0 0 4 
03 51 0 0 0 0 11 
03 52 0 0 0 0 5 
03 53 0 0 0 0 5 
03 54 0 0 0 0 3 
03 55 0 0 0 0 0 
03 56 0 0 0 0 8 
03 57 0 0 0 0 4 
03 58 0 0 0 0 9 
03 59 0 0 0 0 1 
03 60 0 0 0 0 4 
03 61 0 0 0 0 10 
03 62 0 0 0 0 2 
03 63 0 0 0 0 1 
04 00 0 0 0 0 6 
04 01 0 0 0 0 5 
04 02 0 0 0 0 13 
04 03 0 0 0 0 4 
04 04 0 0 0 0 10 
04 05 0 0 0 0 8 
04 06 0 0 0 0 6 
04 07 0 0 0 0 8 
04 08 0 0 0 0 6 
04 09 0 0 0 0 3 
04 10 0 0 0 0 8 
04 11 0 0 0 0 7 
04 12 0 0 0 0 8 
04 13 0 0 0 0 7 
04 14 0 0 0 0 3 
04 15 0 0 0 0 12 
04 16 0 0 0 0 8 
04 17 0 0 0 0 7 
04 18 0 0 0 0 15 
04 19 0 0 0 0 9 
04 20 0 0 0 0 11 
04 21 0 0 0 0 4 
04 22 0 0 0 0 15 
04 23 0 0 0 0 2 
04 24 0 0 0 0 12 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 0 
04 28 0 0 0 0 3 
04 29 0 0 0 0 12 
04 30 0 0 0 0 8 
04 31 0 0 0 0 2 
04 32 0 0 0 0 8 
04 33 0 0 0 0 0 
04 34 0 0 0 0 6 
04 35 0 0 0 0 2 
04 36 0 0 0 0 14 
04 37 0 0 0 0 3 
... 3802 more lines ...
Attachment 3: default_0.conf
Name = /home/silicon/RD50-MPW4/tb_desy_apr24/mpw4.conf

[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/desy2404/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1

[DataCollector.tel_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/adenium/adenium_run$6R$X

[DataCollector.tlu_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/tlu/tlu_run$6R$X

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.MuPix8]
#EUDAQ_DC = tel_dc
#lazyFrog = -25
#register_value = 0
ThPix = 144

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.92

[Producer.aida_tlu]
#  Clock source (0 = no clock, 1= Si5345, 2= FPGA)
# Generate internal triggers (in Hz, 0 = no triggers)
# In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
#DUTMask = 0x3
#DUTMaskModeModifier = 0x30
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskLo = 0x00000040
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12
DACThreshold5 = -0.12
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
FileComment = mpw3
HDMI1_clk = 1
HDMI1_set = 0x7
HDMI2_clk = 1
HDMI2_set = 0x7
HDMI3_clk = 1
HDMI3_set = 0x7
HDMI4_clk = 1
HDMI4_set = 0x7
InternalShutterInterval = 0
InternalTriggerFreq = 0
LEMOclk = 0
MinSpillTimeOnins = 4.5
MinSpilldownTimeins = 0.5
PlotWindowSizeinns = 40e9
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
ThreshEvBegin = 1
ThreshEvEnd = 1
ThreshPartBegin = 1
ThreshPartEnd = 1
confid = 20201311
delayStart = 200
in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0
skipconf = 0
trigMaskHi = 0x00000000
trigMaskLo = 0x00000002
trigPol = 0x3E
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

[Producer.elog1]
files2log = "peary_config.cfg, matrix_mpw4.txt"
start_cmd = "./get_mpw4_configs.sh"

[Producer.keithleyPS]
max_current = 100e-6
voltage = -100

[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER
  410   Sat Apr 27 16:30:32 2024 tb-crewHV scans368W8 LIVunirradiated4.2Unknown27.04.2024 16:29:5527.04.2024 16:30:520
automatic log for run 368
Comment:
range -500V -> 0V
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.93
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 0 
00 04 0 0 0 0 15 
00 05 0 0 0 0 6 
00 06 0 0 0 0 7 
00 07 0 0 0 0 3 
00 08 0 0 0 0 8 
00 09 0 0 0 0 0 
00 10 0 0 0 0 11 
00 11 0 0 0 0 7 
00 12 0 0 0 0 5 
00 13 0 0 0 0 8 
00 14 0 0 0 0 8 
00 15 0 0 0 0 10 
00 16 0 0 0 0 3 
00 17 0 0 0 0 6 
00 18 0 0 0 0 10 
00 19 0 0 0 0 2 
00 20 0 0 0 0 8 
00 21 0 0 0 0 7 
00 22 0 0 0 0 2 
00 23 0 0 0 0 4 
00 24 0 0 0 0 6 
00 25 0 0 0 0 5 
00 26 0 0 0 0 3 
00 27 0 0 0 0 15 
00 28 0 0 0 0 10 
00 29 0 0 0 0 5 
00 30 0 0 0 0 7 
00 31 0 0 0 0 6 
00 32 0 0 0 0 10 
00 33 0 0 0 0 0 
00 34 0 0 0 0 0 
00 35 0 0 0 0 4 
00 36 0 0 0 0 10 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 0 
00 40 0 0 0 0 15 
00 41 0 0 0 0 8 
00 42 0 0 0 0 5 
00 43 0 0 0 0 3 
00 44 0 0 0 0 8 
00 45 0 0 0 0 11 
00 46 0 0 0 0 10 
00 47 0 0 0 0 10 
00 48 0 0 0 0 8 
00 49 0 0 0 0 4 
00 50 0 0 0 0 5 
00 51 0 0 0 0 11 
00 52 0 0 0 0 5 
00 53 0 0 0 0 7 
00 54 0 0 0 0 3 
00 55 0 0 0 0 1 
00 56 0 0 0 0 2 
00 57 0 0 0 0 8 
00 58 0 0 0 0 4 
00 59 0 0 0 0 12 
00 60 0 0 0 0 12 
00 61 0 0 0 0 3 
00 62 0 0 0 0 8 
00 63 0 0 0 0 0 
01 00 0 0 0 0 8 
01 01 0 0 0 0 10 
01 02 0 0 0 0 0 
01 03 0 0 0 0 0 
01 04 0 0 0 0 0 
01 05 0 0 0 0 3 
01 06 0 0 0 0 3 
01 07 0 0 0 0 5 
01 08 0 0 0 0 2 
01 09 0 0 0 0 0 
01 10 0 0 0 0 12 
01 11 0 0 0 0 3 
01 12 0 0 0 0 7 
01 13 0 0 0 0 6 
01 14 0 0 0 0 3 
01 15 0 0 0 0 6 
01 16 0 0 0 0 13 
01 17 0 0 0 0 0 
01 18 0 0 0 0 0 
01 19 0 0 0 0 5 
01 20 0 0 0 0 7 
01 21 0 0 0 0 6 
01 22 0 0 0 0 7 
01 23 0 0 0 0 6 
01 24 0 0 0 0 5 
01 25 0 0 0 0 2 
01 26 0 0 0 0 2 
01 27 0 0 0 0 2 
01 28 0 0 0 0 13 
01 29 0 0 0 0 3 
01 30 0 0 0 0 8 
01 31 0 0 0 0 10 
01 32 0 0 0 0 9 
01 33 0 0 0 0 6 
01 34 0 0 0 0 0 
01 35 0 0 0 0 6 
01 36 0 0 0 0 14 
01 37 0 0 0 0 5 
01 38 0 0 0 0 13 
01 39 0 0 0 0 10 
01 40 0 0 0 0 5 
01 41 0 0 0 0 11 
01 42 0 0 0 0 4 
01 43 0 0 0 0 7 
01 44 0 0 0 0 8 
01 45 0 0 0 0 9 
01 46 0 0 0 0 2 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 12 
01 50 0 0 0 0 3 
01 51 0 0 0 0 6 
01 52 0 0 0 0 10 
01 53 0 0 0 0 1 
01 54 0 0 0 0 15 
01 55 0 0 0 0 8 
01 56 0 0 0 0 7 
01 57 0 0 0 0 7 
01 58 0 0 0 0 4 
01 59 0 0 0 0 2 
01 60 0 0 0 0 3 
01 61 0 0 0 0 0 
01 62 0 0 0 0 12 
01 63 0 0 0 0 9 
02 00 0 0 0 0 15 
02 01 0 0 0 0 5 
02 02 0 0 0 0 9 
02 03 0 0 0 0 5 
02 04 0 0 0 0 12 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 11 
02 08 0 0 0 0 7 
02 09 0 0 0 0 4 
02 10 0 0 0 0 7 
02 11 0 0 0 0 6 
02 12 0 0 0 0 4 
02 13 0 0 0 0 8 
02 14 0 0 0 0 2 
02 15 0 0 0 0 2 
02 16 0 0 0 0 6 
02 17 0 0 0 0 3 
02 18 0 0 0 0 8 
02 19 0 0 0 0 3 
02 20 0 0 0 0 0 
02 21 0 0 0 0 9 
02 22 0 0 0 0 6 
02 23 0 0 0 0 6 
02 24 0 0 0 0 2 
02 25 0 0 0 0 9 
02 26 0 0 0 0 8 
02 27 0 0 0 0 6 
02 28 0 0 0 0 9 
02 29 0 0 0 0 7 
02 30 0 0 0 0 9 
02 31 0 0 0 0 8 
02 32 0 0 0 0 14 
02 33 0 0 0 0 0 
02 34 0 0 0 0 9 
02 35 0 0 0 0 0 
02 36 0 0 0 0 6 
02 37 0 0 0 0 8 
02 38 0 0 0 0 0 
02 39 0 0 0 0 10 
02 40 0 0 0 0 9 
02 41 0 0 0 0 7 
02 42 0 0 0 0 6 
02 43 0 0 0 0 0 
02 44 0 0 0 0 10 
02 45 0 0 0 0 0 
02 46 0 0 0 0 9 
02 47 0 0 0 0 0 
02 48 0 0 0 0 11 
02 49 0 0 0 0 0 
02 50 0 0 0 0 10 
02 51 0 0 0 0 8 
02 52 0 0 0 0 11 
02 53 0 0 0 0 6 
02 54 0 0 0 0 8 
02 55 0 0 0 0 12 
02 56 0 0 0 0 10 
02 57 0 0 0 0 2 
02 58 0 0 0 0 10 
02 59 0 0 0 0 5 
02 60 0 0 0 0 9 
02 61 0 0 0 0 10 
02 62 0 0 0 0 6 
02 63 0 0 0 0 14 
03 00 0 0 0 0 11 
03 01 0 0 0 0 8 
03 02 0 0 0 0 4 
03 03 0 0 0 0 7 
03 04 0 0 0 0 8 
03 05 0 0 0 0 5 
03 06 0 0 0 0 1 
03 07 0 0 0 0 5 
03 08 0 0 0 0 6 
03 09 0 0 0 0 2 
03 10 0 0 0 0 4 
03 11 0 0 0 0 0 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 6 
03 15 0 0 0 0 1 
03 16 0 0 0 0 12 
03 17 0 0 0 0 7 
03 18 0 0 0 0 0 
03 19 0 0 0 0 5 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 2 
03 24 0 0 0 0 13 
03 25 0 0 0 0 1 
03 26 0 0 0 0 7 
03 27 0 0 0 0 10 
03 28 0 0 0 0 12 
03 29 0 0 0 0 10 
03 30 0 0 0 0 11 
03 31 0 0 0 0 9 
03 32 0 0 0 0 13 
03 33 0 0 0 0 14 
03 34 0 0 0 0 7 
03 35 0 0 0 0 5 
03 36 0 0 0 0 0 
03 37 0 0 0 0 0 
03 38 0 0 0 0 7 
03 39 0 0 0 0 11 
03 40 0 0 0 0 7 
03 41 0 0 0 0 6 
03 42 0 0 0 0 4 
03 43 0 0 0 0 3 
03 44 0 0 0 0 9 
03 45 0 0 0 0 13 
03 46 0 0 0 0 6 
03 47 0 0 0 0 3 
03 48 0 0 0 0 0 
03 49 0 0 0 0 8 
03 50 0 0 0 0 4 
03 51 0 0 0 0 11 
03 52 0 0 0 0 5 
03 53 0 0 0 0 5 
03 54 0 0 0 0 3 
03 55 0 0 0 0 0 
03 56 0 0 0 0 8 
03 57 0 0 0 0 4 
03 58 0 0 0 0 9 
03 59 0 0 0 0 1 
03 60 0 0 0 0 4 
03 61 0 0 0 0 10 
03 62 0 0 0 0 2 
03 63 0 0 0 0 1 
04 00 0 0 0 0 6 
04 01 0 0 0 0 5 
04 02 0 0 0 0 13 
04 03 0 0 0 0 4 
04 04 0 0 0 0 10 
04 05 0 0 0 0 8 
04 06 0 0 0 0 6 
04 07 0 0 0 0 8 
04 08 0 0 0 0 6 
04 09 0 0 0 0 3 
04 10 0 0 0 0 8 
04 11 0 0 0 0 7 
04 12 0 0 0 0 8 
04 13 0 0 0 0 7 
04 14 0 0 0 0 3 
04 15 0 0 0 0 12 
04 16 0 0 0 0 8 
04 17 0 0 0 0 7 
04 18 0 0 0 0 15 
04 19 0 0 0 0 9 
04 20 0 0 0 0 11 
04 21 0 0 0 0 4 
04 22 0 0 0 0 15 
04 23 0 0 0 0 2 
04 24 0 0 0 0 12 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 0 
04 28 0 0 0 0 3 
04 29 0 0 0 0 12 
04 30 0 0 0 0 8 
04 31 0 0 0 0 2 
04 32 0 0 0 0 8 
04 33 0 0 0 0 0 
04 34 0 0 0 0 6 
04 35 0 0 0 0 2 
04 36 0 0 0 0 14 
04 37 0 0 0 0 3 
... 3802 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.93

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -500
max_current = 500e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  411   Sat Apr 27 16:38:18 2024 tb-crewHV scans370W8 LIVunirradiated4.2Unknown27.04.2024 16:37:4827.04.2024 16:38:380
automatic log for run 370
Comment:
-500V -> 0V
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.93
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 0 
00 04 0 0 0 0 15 
00 05 0 0 0 0 6 
00 06 0 0 0 0 7 
00 07 0 0 0 0 3 
00 08 0 0 0 0 8 
00 09 0 0 0 0 0 
00 10 0 0 0 0 11 
00 11 0 0 0 0 7 
00 12 0 0 0 0 5 
00 13 0 0 0 0 8 
00 14 0 0 0 0 8 
00 15 0 0 0 0 10 
00 16 0 0 0 0 3 
00 17 0 0 0 0 6 
00 18 0 0 0 0 10 
00 19 0 0 0 0 2 
00 20 0 0 0 0 8 
00 21 0 0 0 0 7 
00 22 0 0 0 0 2 
00 23 0 0 0 0 4 
00 24 0 0 0 0 6 
00 25 0 0 0 0 5 
00 26 0 0 0 0 3 
00 27 0 0 0 0 15 
00 28 0 0 0 0 10 
00 29 0 0 0 0 5 
00 30 0 0 0 0 7 
00 31 0 0 0 0 6 
00 32 0 0 0 0 10 
00 33 0 0 0 0 0 
00 34 0 0 0 0 0 
00 35 0 0 0 0 4 
00 36 0 0 0 0 10 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 0 
00 40 0 0 0 0 15 
00 41 0 0 0 0 8 
00 42 0 0 0 0 5 
00 43 0 0 0 0 3 
00 44 0 0 0 0 8 
00 45 0 0 0 0 11 
00 46 0 0 0 0 10 
00 47 0 0 0 0 10 
00 48 0 0 0 0 8 
00 49 0 0 0 0 4 
00 50 0 0 0 0 5 
00 51 0 0 0 0 11 
00 52 0 0 0 0 5 
00 53 0 0 0 0 7 
00 54 0 0 0 0 3 
00 55 0 0 0 0 1 
00 56 0 0 0 0 2 
00 57 0 0 0 0 8 
00 58 0 0 0 0 4 
00 59 0 0 0 0 12 
00 60 0 0 0 0 12 
00 61 0 0 0 0 3 
00 62 0 0 0 0 8 
00 63 0 0 0 0 0 
01 00 0 0 0 0 8 
01 01 0 0 0 0 10 
01 02 0 0 0 0 0 
01 03 0 0 0 0 0 
01 04 0 0 0 0 0 
01 05 0 0 0 0 3 
01 06 0 0 0 0 3 
01 07 0 0 0 0 5 
01 08 0 0 0 0 2 
01 09 0 0 0 0 0 
01 10 0 0 0 0 12 
01 11 0 0 0 0 3 
01 12 0 0 0 0 7 
01 13 0 0 0 0 6 
01 14 0 0 0 0 3 
01 15 0 0 0 0 6 
01 16 0 0 0 0 13 
01 17 0 0 0 0 0 
01 18 0 0 0 0 0 
01 19 0 0 0 0 5 
01 20 0 0 0 0 7 
01 21 0 0 0 0 6 
01 22 0 0 0 0 7 
01 23 0 0 0 0 6 
01 24 0 0 0 0 5 
01 25 0 0 0 0 2 
01 26 0 0 0 0 2 
01 27 0 0 0 0 2 
01 28 0 0 0 0 13 
01 29 0 0 0 0 3 
01 30 0 0 0 0 8 
01 31 0 0 0 0 10 
01 32 0 0 0 0 9 
01 33 0 0 0 0 6 
01 34 0 0 0 0 0 
01 35 0 0 0 0 6 
01 36 0 0 0 0 14 
01 37 0 0 0 0 5 
01 38 0 0 0 0 13 
01 39 0 0 0 0 10 
01 40 0 0 0 0 5 
01 41 0 0 0 0 11 
01 42 0 0 0 0 4 
01 43 0 0 0 0 7 
01 44 0 0 0 0 8 
01 45 0 0 0 0 9 
01 46 0 0 0 0 2 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 12 
01 50 0 0 0 0 3 
01 51 0 0 0 0 6 
01 52 0 0 0 0 10 
01 53 0 0 0 0 1 
01 54 0 0 0 0 15 
01 55 0 0 0 0 8 
01 56 0 0 0 0 7 
01 57 0 0 0 0 7 
01 58 0 0 0 0 4 
01 59 0 0 0 0 2 
01 60 0 0 0 0 3 
01 61 0 0 0 0 0 
01 62 0 0 0 0 12 
01 63 0 0 0 0 9 
02 00 0 0 0 0 15 
02 01 0 0 0 0 5 
02 02 0 0 0 0 9 
02 03 0 0 0 0 5 
02 04 0 0 0 0 12 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 11 
02 08 0 0 0 0 7 
02 09 0 0 0 0 4 
02 10 0 0 0 0 7 
02 11 0 0 0 0 6 
02 12 0 0 0 0 4 
02 13 0 0 0 0 8 
02 14 0 0 0 0 2 
02 15 0 0 0 0 2 
02 16 0 0 0 0 6 
02 17 0 0 0 0 3 
02 18 0 0 0 0 8 
02 19 0 0 0 0 3 
02 20 0 0 0 0 0 
02 21 0 0 0 0 9 
02 22 0 0 0 0 6 
02 23 0 0 0 0 6 
02 24 0 0 0 0 2 
02 25 0 0 0 0 9 
02 26 0 0 0 0 8 
02 27 0 0 0 0 6 
02 28 0 0 0 0 9 
02 29 0 0 0 0 7 
02 30 0 0 0 0 9 
02 31 0 0 0 0 8 
02 32 0 0 0 0 14 
02 33 0 0 0 0 0 
02 34 0 0 0 0 9 
02 35 0 0 0 0 0 
02 36 0 0 0 0 6 
02 37 0 0 0 0 8 
02 38 0 0 0 0 0 
02 39 0 0 0 0 10 
02 40 0 0 0 0 9 
02 41 0 0 0 0 7 
02 42 0 0 0 0 6 
02 43 0 0 0 0 0 
02 44 0 0 0 0 10 
02 45 0 0 0 0 0 
02 46 0 0 0 0 9 
02 47 0 0 0 0 0 
02 48 0 0 0 0 11 
02 49 0 0 0 0 0 
02 50 0 0 0 0 10 
02 51 0 0 0 0 8 
02 52 0 0 0 0 11 
02 53 0 0 0 0 6 
02 54 0 0 0 0 8 
02 55 0 0 0 0 12 
02 56 0 0 0 0 10 
02 57 0 0 0 0 2 
02 58 0 0 0 0 10 
02 59 0 0 0 0 5 
02 60 0 0 0 0 9 
02 61 0 0 0 0 10 
02 62 0 0 0 0 6 
02 63 0 0 0 0 14 
03 00 0 0 0 0 11 
03 01 0 0 0 0 8 
03 02 0 0 0 0 4 
03 03 0 0 0 0 7 
03 04 0 0 0 0 8 
03 05 0 0 0 0 5 
03 06 0 0 0 0 1 
03 07 0 0 0 0 5 
03 08 0 0 0 0 6 
03 09 0 0 0 0 2 
03 10 0 0 0 0 4 
03 11 0 0 0 0 0 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 6 
03 15 0 0 0 0 1 
03 16 0 0 0 0 12 
03 17 0 0 0 0 7 
03 18 0 0 0 0 0 
03 19 0 0 0 0 5 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 2 
03 24 0 0 0 0 13 
03 25 0 0 0 0 1 
03 26 0 0 0 0 7 
03 27 0 0 0 0 10 
03 28 0 0 0 0 12 
03 29 0 0 0 0 10 
03 30 0 0 0 0 11 
03 31 0 0 0 0 9 
03 32 0 0 0 0 13 
03 33 0 0 0 0 14 
03 34 0 0 0 0 7 
03 35 0 0 0 0 5 
03 36 0 0 0 0 0 
03 37 0 0 0 0 0 
03 38 0 0 0 0 7 
03 39 0 0 0 0 11 
03 40 0 0 0 0 7 
03 41 0 0 0 0 6 
03 42 0 0 0 0 4 
03 43 0 0 0 0 3 
03 44 0 0 0 0 9 
03 45 0 0 0 0 13 
03 46 0 0 0 0 6 
03 47 0 0 0 0 3 
03 48 0 0 0 0 0 
03 49 0 0 0 0 8 
03 50 0 0 0 0 4 
03 51 0 0 0 0 11 
03 52 0 0 0 0 5 
03 53 0 0 0 0 5 
03 54 0 0 0 0 3 
03 55 0 0 0 0 0 
03 56 0 0 0 0 8 
03 57 0 0 0 0 4 
03 58 0 0 0 0 9 
03 59 0 0 0 0 1 
03 60 0 0 0 0 4 
03 61 0 0 0 0 10 
03 62 0 0 0 0 2 
03 63 0 0 0 0 1 
04 00 0 0 0 0 6 
04 01 0 0 0 0 5 
04 02 0 0 0 0 13 
04 03 0 0 0 0 4 
04 04 0 0 0 0 10 
04 05 0 0 0 0 8 
04 06 0 0 0 0 6 
04 07 0 0 0 0 8 
04 08 0 0 0 0 6 
04 09 0 0 0 0 3 
04 10 0 0 0 0 8 
04 11 0 0 0 0 7 
04 12 0 0 0 0 8 
04 13 0 0 0 0 7 
04 14 0 0 0 0 3 
04 15 0 0 0 0 12 
04 16 0 0 0 0 8 
04 17 0 0 0 0 7 
04 18 0 0 0 0 15 
04 19 0 0 0 0 9 
04 20 0 0 0 0 11 
04 21 0 0 0 0 4 
04 22 0 0 0 0 15 
04 23 0 0 0 0 2 
04 24 0 0 0 0 12 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 0 
04 28 0 0 0 0 3 
04 29 0 0 0 0 12 
04 30 0 0 0 0 8 
04 31 0 0 0 0 2 
04 32 0 0 0 0 8 
04 33 0 0 0 0 0 
04 34 0 0 0 0 6 
04 35 0 0 0 0 2 
04 36 0 0 0 0 14 
04 37 0 0 0 0 3 
... 3802 more lines ...
Attachment 3: default_0.conf
Name = /home/silicon/RD50-MPW4/tb_desy_apr24/mpw4.conf

[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/desy2404/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1

[DataCollector.tel_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/adenium/adenium_run$6R$X

[DataCollector.tlu_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/tlu/tlu_run$6R$X

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.MuPix8]
#EUDAQ_DC = tel_dc
#lazyFrog = -25
#register_value = 0
ThPix = 144

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.93

[Producer.aida_tlu]
#  Clock source (0 = no clock, 1= Si5345, 2= FPGA)
# Generate internal triggers (in Hz, 0 = no triggers)
# In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
#DUTMask = 0x3
#DUTMaskModeModifier = 0x30
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskLo = 0x00000040
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12
DACThreshold5 = -0.12
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
FileComment = mpw3
HDMI1_clk = 1
HDMI1_set = 0x7
HDMI2_clk = 1
HDMI2_set = 0x7
HDMI3_clk = 1
HDMI3_set = 0x7
HDMI4_clk = 1
HDMI4_set = 0x7
InternalShutterInterval = 0
InternalTriggerFreq = 0
LEMOclk = 0
MinSpillTimeOnins = 4.5
MinSpilldownTimeins = 0.5
PlotWindowSizeinns = 40e9
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
ThreshEvBegin = 1
ThreshEvEnd = 1
ThreshPartBegin = 1
ThreshPartEnd = 1
confid = 20201311
delayStart = 200
in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0
skipconf = 0
trigMaskHi = 0x00000000
trigMaskLo = 0x00000002
trigPol = 0x3E
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

[Producer.elog1]
files2log = "peary_config.cfg, matrix_mpw4.txt"
start_cmd = "./get_mpw4_configs.sh"

[Producer.keithleyPS]
max_current = 500e-6
voltage = -500

[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER
  412   Sat Apr 27 16:39:19 2024 tb-crewHV scans371W8 LIVunirradiated4.2Unknown27.04.2024 16:39:2827.04.2024 16:39:390
automatic log for run 371
Comment:
-500V -> 0V
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.93
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 0 
00 04 0 0 0 0 15 
00 05 0 0 0 0 6 
00 06 0 0 0 0 7 
00 07 0 0 0 0 3 
00 08 0 0 0 0 8 
00 09 0 0 0 0 0 
00 10 0 0 0 0 11 
00 11 0 0 0 0 7 
00 12 0 0 0 0 5 
00 13 0 0 0 0 8 
00 14 0 0 0 0 8 
00 15 0 0 0 0 10 
00 16 0 0 0 0 3 
00 17 0 0 0 0 6 
00 18 0 0 0 0 10 
00 19 0 0 0 0 2 
00 20 0 0 0 0 8 
00 21 0 0 0 0 7 
00 22 0 0 0 0 2 
00 23 0 0 0 0 4 
00 24 0 0 0 0 6 
00 25 0 0 0 0 5 
00 26 0 0 0 0 3 
00 27 0 0 0 0 15 
00 28 0 0 0 0 10 
00 29 0 0 0 0 5 
00 30 0 0 0 0 7 
00 31 0 0 0 0 6 
00 32 0 0 0 0 10 
00 33 0 0 0 0 0 
00 34 0 0 0 0 0 
00 35 0 0 0 0 4 
00 36 0 0 0 0 10 
00 37 0 0 0 0 5 
00 38 0 0 0 0 14 
00 39 0 0 0 0 0 
00 40 0 0 0 0 15 
00 41 0 0 0 0 8 
00 42 0 0 0 0 5 
00 43 0 0 0 0 3 
00 44 0 0 0 0 8 
00 45 0 0 0 0 11 
00 46 0 0 0 0 10 
00 47 0 0 0 0 10 
00 48 0 0 0 0 8 
00 49 0 0 0 0 4 
00 50 0 0 0 0 5 
00 51 0 0 0 0 11 
00 52 0 0 0 0 5 
00 53 0 0 0 0 7 
00 54 0 0 0 0 3 
00 55 0 0 0 0 1 
00 56 0 0 0 0 2 
00 57 0 0 0 0 8 
00 58 0 0 0 0 4 
00 59 0 0 0 0 12 
00 60 0 0 0 0 12 
00 61 0 0 0 0 3 
00 62 0 0 0 0 8 
00 63 0 0 0 0 0 
01 00 0 0 0 0 8 
01 01 0 0 0 0 10 
01 02 0 0 0 0 0 
01 03 0 0 0 0 0 
01 04 0 0 0 0 0 
01 05 0 0 0 0 3 
01 06 0 0 0 0 3 
01 07 0 0 0 0 5 
01 08 0 0 0 0 2 
01 09 0 0 0 0 0 
01 10 0 0 0 0 12 
01 11 0 0 0 0 3 
01 12 0 0 0 0 7 
01 13 0 0 0 0 6 
01 14 0 0 0 0 3 
01 15 0 0 0 0 6 
01 16 0 0 0 0 13 
01 17 0 0 0 0 0 
01 18 0 0 0 0 0 
01 19 0 0 0 0 5 
01 20 0 0 0 0 7 
01 21 0 0 0 0 6 
01 22 0 0 0 0 7 
01 23 0 0 0 0 6 
01 24 0 0 0 0 5 
01 25 0 0 0 0 2 
01 26 0 0 0 0 2 
01 27 0 0 0 0 2 
01 28 0 0 0 0 13 
01 29 0 0 0 0 3 
01 30 0 0 0 0 8 
01 31 0 0 0 0 10 
01 32 0 0 0 0 9 
01 33 0 0 0 0 6 
01 34 0 0 0 0 0 
01 35 0 0 0 0 6 
01 36 0 0 0 0 14 
01 37 0 0 0 0 5 
01 38 0 0 0 0 13 
01 39 0 0 0 0 10 
01 40 0 0 0 0 5 
01 41 0 0 0 0 11 
01 42 0 0 0 0 4 
01 43 0 0 0 0 7 
01 44 0 0 0 0 8 
01 45 0 0 0 0 9 
01 46 0 0 0 0 2 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 12 
01 50 0 0 0 0 3 
01 51 0 0 0 0 6 
01 52 0 0 0 0 10 
01 53 0 0 0 0 1 
01 54 0 0 0 0 15 
01 55 0 0 0 0 8 
01 56 0 0 0 0 7 
01 57 0 0 0 0 7 
01 58 0 0 0 0 4 
01 59 0 0 0 0 2 
01 60 0 0 0 0 3 
01 61 0 0 0 0 0 
01 62 0 0 0 0 12 
01 63 0 0 0 0 9 
02 00 0 0 0 0 15 
02 01 0 0 0 0 5 
02 02 0 0 0 0 9 
02 03 0 0 0 0 5 
02 04 0 0 0 0 12 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 11 
02 08 0 0 0 0 7 
02 09 0 0 0 0 4 
02 10 0 0 0 0 7 
02 11 0 0 0 0 6 
02 12 0 0 0 0 4 
02 13 0 0 0 0 8 
02 14 0 0 0 0 2 
02 15 0 0 0 0 2 
02 16 0 0 0 0 6 
02 17 0 0 0 0 3 
02 18 0 0 0 0 8 
02 19 0 0 0 0 3 
02 20 0 0 0 0 0 
02 21 0 0 0 0 9 
02 22 0 0 0 0 6 
02 23 0 0 0 0 6 
02 24 0 0 0 0 2 
02 25 0 0 0 0 9 
02 26 0 0 0 0 8 
02 27 0 0 0 0 6 
02 28 0 0 0 0 9 
02 29 0 0 0 0 7 
02 30 0 0 0 0 9 
02 31 0 0 0 0 8 
02 32 0 0 0 0 14 
02 33 0 0 0 0 0 
02 34 0 0 0 0 9 
02 35 0 0 0 0 0 
02 36 0 0 0 0 6 
02 37 0 0 0 0 8 
02 38 0 0 0 0 0 
02 39 0 0 0 0 10 
02 40 0 0 0 0 9 
02 41 0 0 0 0 7 
02 42 0 0 0 0 6 
02 43 0 0 0 0 0 
02 44 0 0 0 0 10 
02 45 0 0 0 0 0 
02 46 0 0 0 0 9 
02 47 0 0 0 0 0 
02 48 0 0 0 0 11 
02 49 0 0 0 0 0 
02 50 0 0 0 0 10 
02 51 0 0 0 0 8 
02 52 0 0 0 0 11 
02 53 0 0 0 0 6 
02 54 0 0 0 0 8 
02 55 0 0 0 0 12 
02 56 0 0 0 0 10 
02 57 0 0 0 0 2 
02 58 0 0 0 0 10 
02 59 0 0 0 0 5 
02 60 0 0 0 0 9 
02 61 0 0 0 0 10 
02 62 0 0 0 0 6 
02 63 0 0 0 0 14 
03 00 0 0 0 0 11 
03 01 0 0 0 0 8 
03 02 0 0 0 0 4 
03 03 0 0 0 0 7 
03 04 0 0 0 0 8 
03 05 0 0 0 0 5 
03 06 0 0 0 0 1 
03 07 0 0 0 0 5 
03 08 0 0 0 0 6 
03 09 0 0 0 0 2 
03 10 0 0 0 0 4 
03 11 0 0 0 0 0 
03 12 0 0 0 0 4 
03 13 0 0 0 0 13 
03 14 0 0 0 0 6 
03 15 0 0 0 0 1 
03 16 0 0 0 0 12 
03 17 0 0 0 0 7 
03 18 0 0 0 0 0 
03 19 0 0 0 0 5 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 2 
03 24 0 0 0 0 13 
03 25 0 0 0 0 1 
03 26 0 0 0 0 7 
03 27 0 0 0 0 10 
03 28 0 0 0 0 12 
03 29 0 0 0 0 10 
03 30 0 0 0 0 11 
03 31 0 0 0 0 9 
03 32 0 0 0 0 13 
03 33 0 0 0 0 14 
03 34 0 0 0 0 7 
03 35 0 0 0 0 5 
03 36 0 0 0 0 0 
03 37 0 0 0 0 0 
03 38 0 0 0 0 7 
03 39 0 0 0 0 11 
03 40 0 0 0 0 7 
03 41 0 0 0 0 6 
03 42 0 0 0 0 4 
03 43 0 0 0 0 3 
03 44 0 0 0 0 9 
03 45 0 0 0 0 13 
03 46 0 0 0 0 6 
03 47 0 0 0 0 3 
03 48 0 0 0 0 0 
03 49 0 0 0 0 8 
03 50 0 0 0 0 4 
03 51 0 0 0 0 11 
03 52 0 0 0 0 5 
03 53 0 0 0 0 5 
03 54 0 0 0 0 3 
03 55 0 0 0 0 0 
03 56 0 0 0 0 8 
03 57 0 0 0 0 4 
03 58 0 0 0 0 9 
03 59 0 0 0 0 1 
03 60 0 0 0 0 4 
03 61 0 0 0 0 10 
03 62 0 0 0 0 2 
03 63 0 0 0 0 1 
04 00 0 0 0 0 6 
04 01 0 0 0 0 5 
04 02 0 0 0 0 13 
04 03 0 0 0 0 4 
04 04 0 0 0 0 10 
04 05 0 0 0 0 8 
04 06 0 0 0 0 6 
04 07 0 0 0 0 8 
04 08 0 0 0 0 6 
04 09 0 0 0 0 3 
04 10 0 0 0 0 8 
04 11 0 0 0 0 7 
04 12 0 0 0 0 8 
04 13 0 0 0 0 7 
04 14 0 0 0 0 3 
04 15 0 0 0 0 12 
04 16 0 0 0 0 8 
04 17 0 0 0 0 7 
04 18 0 0 0 0 15 
04 19 0 0 0 0 9 
04 20 0 0 0 0 11 
04 21 0 0 0 0 4 
04 22 0 0 0 0 15 
04 23 0 0 0 0 2 
04 24 0 0 0 0 12 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 0 
04 28 0 0 0 0 3 
04 29 0 0 0 0 12 
04 30 0 0 0 0 8 
04 31 0 0 0 0 2 
04 32 0 0 0 0 8 
04 33 0 0 0 0 0 
04 34 0 0 0 0 6 
04 35 0 0 0 0 2 
04 36 0 0 0 0 14 
04 37 0 0 0 0 3 
... 3802 more lines ...
Attachment 3: default_0.conf
Name = /home/silicon/RD50-MPW4/tb_desy_apr24/mpw4.conf

[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/desy2404/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1

[DataCollector.tel_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/adenium/adenium_run$6R$X

[DataCollector.tlu_dc]
DISABLE_PRINT = 1
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /data1/rd50-mpw4/tlu/tlu_run$6R$X

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.MuPix8]
#EUDAQ_DC = tel_dc
#lazyFrog = -25
#register_value = 0
ThPix = 144

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.93

[Producer.aida_tlu]
#  Clock source (0 = no clock, 1= Si5345, 2= FPGA)
# Generate internal triggers (in Hz, 0 = no triggers)
# In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
#DUTMask = 0x3
#DUTMaskModeModifier = 0x30
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskLo = 0x00000040
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12
DACThreshold5 = -0.12
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
FileComment = mpw3
HDMI1_clk = 1
HDMI1_set = 0x7
HDMI2_clk = 1
HDMI2_set = 0x7
HDMI3_clk = 1
HDMI3_set = 0x7
HDMI4_clk = 1
HDMI4_set = 0x7
InternalShutterInterval = 0
InternalTriggerFreq = 0
LEMOclk = 0
MinSpillTimeOnins = 4.5
MinSpilldownTimeins = 0.5
PlotWindowSizeinns = 40e9
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
ThreshEvBegin = 1
ThreshEvEnd = 1
ThreshPartBegin = 1
ThreshPartEnd = 1
confid = 20201311
delayStart = 200
in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0
skipconf = 0
trigMaskHi = 0x00000000
trigMaskLo = 0x00000002
trigPol = 0x3E
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

[Producer.elog1]
files2log = "peary_config.cfg, matrix_mpw4.txt"
start_cmd = "./get_mpw4_configs.sh"

[Producer.keithleyPS]
max_current = 500e-6
voltage = -500

[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER
  512   Sun Apr 28 09:52:48 2024 tb-crewHV scan (hi range)467W3 NIKHEFunirradiated4.2Unknown28.04.2024 09:52:5828.04.2024 09:53:090
automatic log for run 467
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_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
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 = 3
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
inj__u = 0
inj__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 = 3
th__u = 0.93
th__i = 3
Attachment 2: matrix_mpw4.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 11
0 3 0 0 0 0 15
0 4 0 0 0 0 7
0 5 0 0 0 0 6
0 6 0 0 0 0 15
0 7 0 0 0 0 8
0 8 0 0 0 0 11
0 9 0 0 0 0 8
0 10 0 0 0 0 7
0 11 0 0 0 0 10
0 12 0 0 0 0 5
0 13 0 0 0 0 15
0 14 0 0 0 0 15
0 15 0 0 0 0 14
0 16 0 0 0 0 7
0 17 0 0 0 0 11
0 18 0 0 0 0 15
0 19 0 0 0 0 10
0 20 0 0 0 0 8
0 21 0 0 0 0 6
0 22 0 0 0 0 11
0 23 0 0 0 0 14
0 24 0 0 0 0 15
0 25 0 0 0 0 14
0 26 0 0 0 0 15
0 27 0 0 0 0 14
0 28 0 0 0 0 5
0 29 0 0 0 0 10
0 30 0 0 0 0 3
0 31 0 0 0 0 9
0 32 0 0 0 0 2
0 33 0 0 0 0 6
0 34 0 0 0 0 9
0 35 0 0 0 0 15
0 36 0 0 0 0 0
0 37 0 0 0 0 5
0 38 0 0 0 0 14
0 39 0 0 0 0 15
0 40 0 0 0 0 5
0 41 0 0 0 0 12
0 42 0 0 0 0 9
0 43 0 0 0 0 15
0 44 0 0 0 0 13
0 45 0 0 0 0 9
0 46 0 0 0 0 5
0 47 0 0 0 0 11
0 48 0 0 0 0 8
0 49 0 0 0 0 5
0 50 0 0 0 0 2
0 51 0 0 0 0 0
0 52 0 0 0 0 10
0 53 0 0 0 0 10
0 54 0 0 0 0 12
0 55 1 0 0 0 10
0 56 0 0 0 0 9
0 57 0 0 0 0 0
0 58 0 0 0 0 2
0 59 0 0 0 0 11
0 60 0 0 0 0 8
0 61 0 0 0 0 6
0 62 0 0 0 0 15
0 63 0 0 0 0 15
1 0 0 0 0 0 7
1 1 0 0 0 0 6
1 2 0 0 0 0 1
1 3 0 0 0 0 11
1 4 0 0 0 0 13
1 5 0 0 0 0 12
1 6 0 0 0 0 15
1 7 0 0 0 0 11
1 8 0 0 0 0 8
1 9 0 0 0 0 9
1 10 0 0 0 0 15
1 11 0 0 0 0 15
1 12 0 0 0 0 8
1 13 0 0 0 0 14
1 14 0 0 0 0 15
1 15 0 0 0 0 12
1 16 0 0 0 0 11
1 17 0 0 0 0 6
1 18 0 0 0 0 0
1 19 0 0 0 0 10
1 20 0 0 0 0 9
1 21 0 0 0 0 14
1 22 0 0 0 0 5
1 23 0 0 0 0 6
1 24 0 0 0 0 8
1 25 0 0 0 0 15
1 26 0 0 0 0 3
1 27 0 0 0 0 9
1 28 0 0 0 0 10
1 29 0 0 0 0 3
1 30 0 0 0 0 11
1 31 0 0 0 0 12
1 32 0 0 0 0 8
1 33 0 0 0 0 4
1 34 0 0 0 0 13
1 35 0 0 0 0 10
1 36 0 0 0 0 9
1 37 0 0 0 0 7
1 38 0 0 0 0 8
1 39 0 0 0 0 13
1 40 0 0 0 0 1
1 41 0 0 0 0 13
1 42 0 0 0 0 4
1 43 0 0 0 0 5
1 44 0 0 0 0 11
1 45 0 0 0 0 9
1 46 0 0 0 0 9
1 47 0 0 0 0 9
1 48 0 0 0 0 8
1 49 0 0 0 0 10
1 50 0 0 0 0 9
1 51 0 0 0 0 10
1 52 0 0 0 0 5
1 53 0 0 0 0 15
1 54 0 0 0 0 3
1 55 0 0 0 0 0
1 56 0 0 0 0 13
1 57 0 0 0 0 2
1 58 0 0 0 0 11
1 59 0 0 0 0 6
1 60 0 0 0 0 3
1 61 0 0 0 0 10
1 62 0 0 0 0 11
1 63 0 0 0 0 7
2 0 0 0 0 0 13
2 1 0 0 0 0 5
2 2 0 0 0 0 15
2 3 0 0 0 0 5
2 4 0 0 0 0 14
2 5 0 0 0 0 6
2 6 0 0 0 0 7
2 7 0 0 0 0 12
2 8 0 0 0 0 15
2 9 0 0 0 0 4
2 10 0 0 0 0 12
2 11 0 0 0 0 13
2 12 0 0 0 0 15
2 13 0 0 0 0 9
2 14 0 0 0 0 8
2 15 0 0 0 0 12
2 16 0 0 0 0 12
2 17 0 0 0 0 10
2 18 0 0 0 0 3
2 19 0 0 0 0 13
2 20 0 0 0 0 12
2 21 0 0 0 0 2
2 22 0 0 0 0 8
2 23 0 0 0 0 2
2 24 0 0 0 0 15
2 25 0 0 0 0 10
2 26 0 0 0 0 3
2 27 0 0 0 0 9
2 28 0 0 0 0 14
2 29 0 0 0 0 5
2 30 0 0 0 0 4
2 31 0 0 0 0 4
2 32 0 0 0 0 15
2 33 0 0 0 0 12
2 34 0 0 0 0 15
2 35 0 0 0 0 15
2 36 0 0 0 0 15
2 37 0 0 0 0 7
2 38 0 0 0 0 15
2 39 0 0 0 0 1
2 40 0 0 0 0 14
2 41 0 0 0 0 12
2 42 0 0 0 0 7
2 43 0 0 0 0 14
2 44 0 0 0 0 10
2 45 1 0 0 0 11
2 46 0 0 0 0 1
2 47 0 0 0 0 15
2 48 0 0 0 0 4
2 49 0 0 0 0 10
2 50 0 0 0 0 4
2 51 0 0 0 0 10
2 52 0 0 0 0 14
2 53 0 0 0 0 4
2 54 0 0 0 0 11
2 55 0 0 0 0 4
2 56 0 0 0 0 9
2 57 0 0 0 0 4
2 58 0 0 0 0 9
2 59 0 0 0 0 14
2 60 0 0 0 0 12
2 61 0 0 0 0 15
2 62 0 0 0 0 9
2 63 0 0 0 0 13
3 0 0 0 0 0 8
3 1 0 0 0 0 2
3 2 0 0 0 0 15
3 3 0 0 0 0 15
3 4 0 0 0 0 15
3 5 0 0 0 0 4
3 6 0 0 0 0 6
3 7 0 0 0 0 0
3 8 0 0 0 0 15
3 9 0 0 0 0 11
3 10 0 0 0 0 15
3 11 0 0 0 0 15
3 12 0 0 0 0 4
3 13 0 0 0 0 13
3 14 0 0 0 0 8
3 15 0 0 0 0 13
3 16 0 0 0 0 8
3 17 0 0 0 0 7
3 18 0 0 0 0 3
3 19 0 0 0 0 2
3 20 0 0 0 0 13
3 21 0 0 0 0 2
3 22 0 0 0 0 0
3 23 0 0 0 0 5
3 24 0 0 0 0 0
3 25 0 0 0 0 3
3 26 0 0 0 0 9
3 27 0 0 0 0 14
3 28 0 0 0 0 15
3 29 0 0 0 0 15
3 30 0 0 0 0 0
3 31 0 0 0 0 14
3 32 0 0 0 0 12
3 33 0 0 0 0 7
3 34 0 0 0 0 7
3 35 0 0 0 0 7
3 36 0 0 0 0 4
3 37 0 0 0 0 10
3 38 0 0 0 0 2
3 39 0 0 0 0 5
3 40 0 0 0 0 1
3 41 0 0 0 0 15
3 42 0 0 0 0 3
3 43 0 0 0 0 2
3 44 0 0 0 0 3
3 45 0 0 0 0 9
3 46 0 0 0 0 8
3 47 0 0 0 0 9
3 48 0 0 0 0 1
3 49 0 0 0 0 9
3 50 0 0 0 0 6
3 51 0 0 0 0 13
3 52 0 0 0 0 15
3 53 0 0 0 0 6
3 54 0 0 0 0 15
3 55 0 0 0 0 8
3 56 0 0 0 0 3
3 57 0 0 0 0 11
3 58 0 0 0 0 7
3 59 0 0 0 0 15
3 60 0 0 0 0 15
3 61 0 0 0 0 3
3 62 0 0 0 0 9
3 63 0 0 0 0 4
4 0 0 0 0 0 12
4 1 0 0 0 0 15
4 2 0 0 0 0 14
4 3 0 0 0 0 9
4 4 0 0 0 0 10
4 5 0 0 0 0 14
4 6 0 0 0 0 4
4 7 0 0 0 0 14
4 8 0 0 0 0 14
4 9 0 0 0 0 13
4 10 0 0 0 0 15
4 11 0 0 0 0 15
4 12 0 0 0 0 4
4 13 0 0 0 0 10
4 14 0 0 0 0 11
4 15 0 0 0 0 5
4 16 0 0 0 0 4
4 17 0 0 0 0 12
4 18 0 0 0 0 10
4 19 0 0 0 0 9
4 20 0 0 0 0 4
4 21 0 0 0 0 14
4 22 0 0 0 0 4
4 23 0 0 0 0 13
4 24 0 0 0 0 13
4 25 0 0 0 0 12
4 26 0 0 0 0 12
4 27 0 0 0 0 15
4 28 0 0 0 0 7
4 29 0 0 0 0 14
4 30 0 0 0 0 15
4 31 0 0 0 0 8
4 32 0 0 0 0 13
4 33 0 0 0 0 10
4 34 0 0 0 0 8
4 35 0 0 0 0 12
4 36 0 0 0 0 14
4 37 0 0 0 0 10
4 38 0 0 0 0 14
4 39 0 0 0 0 10
4 40 0 0 0 0 7
4 41 0 0 0 0 3
4 42 0 0 0 0 15
4 43 0 0 0 0 3
... 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.85 #0.6363 #Szinti 4x4cm
#PMT3_V= 0.8
#PMT4_V= 0.0

## TRIGGER CONFIGURATION
# 2 words 32bit: Hi + Lo

# combinations of coincidence are now possible!

# Triggering on concidence of scintillator & telepix
trigMaskLo = 0x00000002
#trigMaskLo = 0x00000040 # 0 and 2
trigMaskHi = 0x00000000

# EXTERNAL TRIGGER INPUTs
# Stretch, delay in 6.25ns ticks
in0_STR = 0x3F  # factor to stretch the width of the signal; to get coincidence
in0_DEL = 0  # factor to delay, e.g. compensate
in1_STR = 1
in1_DEL = 0
in2_STR = 0x3F
in2_DEL = 0
in3_STR = 1
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0
in5_DEL = 0

# trigger on rising (0) / falling (1) edge of the trigger input
# Here: all falling edge (scinti), but  channel 0 rising edge (Telepix)
trigPol = 0x3E # 111110 


# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
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= 0xD

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

 # 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= 0x0 #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=/data1/rd50-mpw4/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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_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]
voltage_key = "th"
voltage_value = 0.94

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

[Producer.MuPix8]
ThPix = 144
#lazyFrog = -25
#register_value = 0
#EUDAQ_DC = tel_dc

[Producer.keithleyPS]
voltage = -190
max_current = 500e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  1   Wed Apr 17 11:00:53 2024 bptest desy Wxxx topsideunirradiated4.2Crap   
manual test
  10   Mon Apr 22 14:38:15 2024    Wxxx topsideunirradiated1.0Unknown   
Hello, we'll start soonish Wink
ELOG V3.1.5-fc6679b