Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-MA2018 testbeam-MA2019 testbeam-MA2020 testbeam-MA2021 testbeam-MA2023 testbeam-MA2024
  Testbeams at MedAustron in 2024, Page 6 of 11  Not logged in ELOG logo
ID Date Author Subject Run Number DUT Beam Energydown Rate Setting Particle Type Data t-Start t-Stop Duration_min Frontend Phantom Phantom thickness
  69   Sat Mar 30 20:27:35 2024 hh, mb, psHigh statistics1052TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 20:17:1130.03.2024 20:30:0212HV  
automatic log for run 1052
Comment:
Back to stock veto period of 7us (100)
Attachment 1: tjmonopix2.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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[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
  70   Sat Mar 30 20:46:41 2024 hh, mb, psHigh statistics1053TJ-Monopix2800 MeVLow Flux HighProtonUnknown30.03.2024 20:31:1430.03.2024 20:49:0817HV  
automatic log for run 1053
Comment:
Back to stock veto period of 7us (100)
Lets try with high
Attachment 1: tjmonopix2.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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[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
  71   Sat Mar 30 20:51:31 2024 hh, mb, psHigh statistics1054TJ-Monopix2800 MeVLow Flux HighProtonUnknown30.03.2024 20:50:5330.03.2024 20:53:583HV  
automatic log for run 1054
Comment:
Litle high settings run
Attachment 1: tjmonopix2.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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1
VCLIP = 60

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1




[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1
VCLIP = 60

[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[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
  102   Sun Aug 25 06:34:56 2024 tb-crewPiggy test44RD50-MPW4800 MeVLow Flux LowProtonUnknown25.08.2024 06:35:1325.08.2024 06:35:230Normal  
automatic log for run 44
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  103   Sun Aug 25 06:42:38 2024 tb-crewPiggy test45RD50-MPW4800 MeVLow Flux LowProtonUnknown25.08.2024 06:40:5225.08.2024 06:43:042Normal  
automatic log for run 45
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  104   Sun Aug 25 06:43:53 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux LowProtonUnknown   Normal  
first tests, trying to get beam right beam
  105   Sun Aug 25 06:45:12 2024 tb-crewPiggy test46RD50-MPW4800 MeVLow Flux LowProtonUnknown25.08.2024 06:44:3325.08.2024 06:45:391Normal  
automatic log for run 46
Comment:
first tests, trying to get beam right beam
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  106   Sun Aug 25 06:47:14 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
rate should be fine now
  107   Sun Aug 25 06:51:00 2024 tb-crewPiggy test47RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 06:48:2925.08.2024 06:51:272Normal  
automatic log for run 47
Comment:
with tracker
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  108   Sun Aug 25 06:57:58 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
data is correlated
  109   Sun Aug 25 07:01:37 2024 tb-crewPiggy test48RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 06:51:4625.08.2024 07:02:0410Normal  
automatic log for run 48
Comment:
data is correlated
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  110   Sun Aug 25 07:03:33 2024 tb-crewPiggy test49RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 07:02:2425.08.2024 07:04:001Normal  
automatic log for run 49
Comment:
data is correlated
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  111   Sun Aug 25 07:04:31 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
adjusting geometry
was a lil schief
  112   Sun Aug 25 07:43:36 2024 tb-crewPiggy test50RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 07:19:4625.08.2024 07:44:0324Normal  
automatic log for run 50
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  113   Sun Aug 25 07:43:57 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
DUT might have been stuck at end of last run
  114   Sun Aug 25 08:10:54 2024 tb-crewPiggy test51RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 07:45:1525.08.2024 08:11:2026Normal  
automatic log for run 51
Comment:
stuck again?
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  115   Sun Aug 25 08:33:56 2024 tb-crewPiggy test52RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 08:11:4025.08.2024 08:34:2322Normal  
automatic log for run 52
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  116   Sun Aug 25 08:51:02 2024 tb-crewVNFB scan53RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 08:36:2425.08.2024 08:51:2815Normal  
automatic log for run 53
Comment:
vnfb = 10
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 10
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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  117   Sun Aug 25 08:59:46 2024 tb-crewVNFB scan54RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 08:53:1625.08.2024 09:00:136Normal  
automatic log for run 54
Comment:
vnfb = 20
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 20
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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  118   Sun Aug 25 09:12:07 2024 tb-crewVNFB scan55RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 09:01:2625.08.2024 09:12:3411Normal  
automatic log for run 55
Comment:
vnfb = 30
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 = cBase
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_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 30
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.7
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 = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
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 = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 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"
Attachment 2: matrix_mpw4_base.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 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.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 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 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= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


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

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

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

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