Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-rd50-desy-Oct2024 testbeam-RD50-DESY-Apr2024 testbeam-RD50-DESY-Jul2023 testbeam-RD50-CERN-Oct2022 testbeam-DESY-Oct2017 testbeam-DESY-April2017 testbeam-SPS2015 testbeam-SPS2014 testbeam-DESY14 testbeam-SPS12 testbeam-SPS11 testbeam-SPS10 testbeam-SPS09 testbeam-SPS08 LP-TPC
  Testbeam at DESY in October 2024, Page 5 of 29  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Author Subject Run Number DUTdown Biasing Beam Energy thr HV scan-val Data t-Start t-Stop Duration_min
  28   Tue Oct 1 14:28:44 2024 tb-crew1st tests29V W8-0E0Topside4.20.96-190 Unknown01.10.2024 14:22:4101.10.2024 14:29:096
automatic log for run 29
Comment:
telescope without DUT
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

#[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  29   Tue Oct 1 14:40:47 2024 tb-crew1st tests30V W8-0E0Topside4.20.96-190 Unknown01.10.2024 14:35:4201.10.2024 14:41:115
automatic log for run 30
Comment:
telescope without DUT
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

#[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  30   Tue Oct 1 14:48:16 2024 tb-crew1st tests31V W8-0E0Topside4.20.96-190 Unknown01.10.2024 14:41:4201.10.2024 14:48:416
automatic log for run 31
Comment:
telescope without DUT
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

#[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  31   Tue Oct 1 15:19:44 2024 tb-crew1st tests32V W8-0E0Topside4.20.96-190 Unknown01.10.2024 15:09:4701.10.2024 15:20:0910
automatic log for run 32
Comment:
still no DUT
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  32   Tue Oct 1 15:37:40 2024 tb-crew1st tests33V W8-0E0Topside4.20.96-190 Unknown01.10.2024 15:23:5401.10.2024 15:38:0514
automatic log for run 33
Comment:
still no DUT
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  33   Tue Oct 1 15:38:46 2024 tb-crew1st tests V W8-0E0Topside4.20.96-190 Unknown   
dismounted entire thing to hopefully get cooling setup in a proper working condition, remounting just now
  34   Tue Oct 1 16:45:58 2024 tb-crew1st tests V W8-0E0Topside4.20.96-190 Unknown   
clock was not running so far on MPW4
blame me / conf_reg_ts_ctrl
  35   Tue Oct 1 16:55:19 2024 tb-crew1st tests V W8-0E0Topside4.20.96-190 Unknown   
changed to 5x5 mm^2 colimator
  36   Tue Oct 1 19:11:50 2024 tb-crew1st tests V W8-0E0Topside4.2   Unknown   
remounted everything, hopefully better cooling now
  37   Tue Oct 1 19:36:56 2024 tb-crew1st tests34V W8-0E0Topside4.20.96-190 Unknown01.10.2024 19:13:1701.10.2024 19:37:2124
automatic log for run 34
Comment:
no DUT data
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  38   Tue Oct 1 21:16:47 2024 tb-crew1st tests35V W8-0E0Topside4.20.96-190 Unknown01.10.2024 19:38:3001.10.2024 21:17:1298
automatic log for run 35
Comment:
no DUT data
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  39   Tue Oct 1 22:38:55 2024 tb-crew1st tests37V W8-0E0Topside4.20.96-190 Unknown01.10.2024 21:24:5301.10.2024 22:39:2074
automatic log for run 37
Comment:
with dut
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.91
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  40   Tue Oct 1 22:41:12 2024 tb-crew1st tests38V W8-0E0Topside4.21.1-190 Unknown01.10.2024 22:40:5301.10.2024 22:41:370
automatic log for run 38
Comment:
reduced thr
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.91
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.1
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  41   Wed Oct 2 07:33:53 2024 tb-crew1st tests39V W8-0E0Topside4.21.0-190 Unknown01.10.2024 22:42:3902.10.2024 07:34:18531
automatic log for run 39
Comment:
reduced thr
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.91
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.0
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  42   Wed Oct 2 09:31:18 2024 tb-crew1st tests40V W8-0E0Topside4.21.1-190 Unknown02.10.2024 07:35:1602.10.2024 09:31:43116
automatic log for run 40
Comment:
reduced thr
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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 = 0


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.91
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 0 
00 03 0 0 0 0 0 
00 04 0 0 0 0 0 
00 05 0 0 0 0 0 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 0 
00 09 0 0 0 0 0 
00 10 0 0 0 0 0 
00 11 0 0 0 0 0 
00 12 0 0 0 0 0 
00 13 0 0 0 0 0 
00 14 0 0 0 0 0 
00 15 0 0 0 0 0 
00 16 0 0 0 0 0 
00 17 0 0 0 0 11 
00 18 0 0 0 0 10 
00 19 0 0 0 0 9 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 8 
00 23 0 0 0 0 7 
00 24 0 0 0 0 8 
00 25 0 0 0 0 5 
00 26 0 0 0 0 6 
00 27 0 0 0 0 3 
00 28 0 0 0 0 7 
00 29 0 0 0 0 7 
00 30 0 0 0 0 9 
00 31 0 0 0 0 4 
00 32 0 0 0 0 7 
00 33 0 0 0 0 6 
00 34 0 0 0 0 8 
00 35 0 0 0 0 7 
00 36 0 0 0 0 9 
00 37 0 0 0 0 7 
00 38 0 0 0 0 9 
00 39 0 0 0 0 7 
00 40 0 0 0 0 11 
00 41 0 0 0 0 6 
00 42 0 0 0 0 8 
00 43 0 0 0 0 6 
00 44 0 0 0 0 8 
00 45 0 0 0 0 10 
00 46 0 0 0 0 5 
00 47 0 0 0 0 7 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 7 
00 51 0 0 0 0 8 
00 52 0 0 0 0 9 
00 53 0 0 0 0 7 
00 54 0 0 0 0 7 
00 55 0 0 0 0 8 
00 56 0 0 0 0 8 
00 57 0 0 0 0 6 
00 58 0 0 0 0 9 
00 59 0 0 0 0 5 
00 60 0 0 0 0 7 
00 61 0 0 0 0 5 
00 62 1 0 0 0 8 
00 63 0 0 0 0 8 
01 00 0 0 0 0 14 
01 01 0 0 0 0 8 
01 02 0 0 0 0 7 
01 03 0 0 0 0 7 
01 04 0 0 0 0 8 
01 05 0 0 0 0 3 
01 06 0 0 0 0 9 
01 07 0 0 0 0 10 
01 08 0 0 0 0 6 
01 09 0 0 0 0 9 
01 10 0 0 0 0 8 
01 11 0 0 0 0 5 
01 12 0 0 0 0 8 
01 13 0 0 0 0 8 
01 14 0 0 0 0 7 
01 15 0 0 0 0 3 
01 16 0 0 0 0 6 
01 17 0 0 0 0 10 
01 18 0 0 0 0 7 
01 19 0 0 0 0 8 
01 20 0 0 0 0 7 
01 21 0 0 0 0 9 
01 22 0 0 0 0 6 
01 23 0 0 0 0 10 
01 24 0 0 0 0 6 
01 25 0 0 0 0 8 
01 26 0 0 0 0 8 
01 27 0 0 0 0 7 
01 28 0 0 0 0 6 
01 29 0 0 0 0 4 
01 30 0 0 0 0 8 
01 31 0 0 0 0 6 
01 32 0 0 0 0 8 
01 33 0 0 0 0 6 
01 34 0 0 0 0 12 
01 35 0 0 0 0 7 
01 36 0 0 0 0 6 
01 37 0 0 0 0 6 
01 38 0 0 0 0 10 
01 39 0 0 0 0 7 
01 40 0 0 0 0 8 
01 41 0 0 0 0 4 
01 42 0 0 0 0 10 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 9 
01 46 0 0 0 0 9 
01 47 0 0 0 0 7 
01 48 0 0 0 0 4 
01 49 0 0 0 0 8 
01 50 0 0 0 0 9 
01 51 0 0 0 0 7 
01 52 0 0 0 0 8 
01 53 0 0 0 0 9 
01 54 0 0 0 0 8 
01 55 0 0 0 0 5 
01 56 0 0 0 0 8 
01 57 0 0 0 0 8 
01 58 0 0 0 0 6 
01 59 0 0 0 0 5 
01 60 0 0 0 0 7 
01 61 0 0 0 0 6 
01 62 0 0 0 0 8 
01 63 0 0 0 0 8 
02 00 0 0 0 0 6 
02 01 0 0 0 0 7 
02 02 0 0 0 0 11 
02 03 0 0 0 0 7 
02 04 0 0 0 0 9 
02 05 0 0 0 0 10 
02 06 0 0 0 0 9 
02 07 0 0 0 0 8 
02 08 0 0 0 0 7 
02 09 0 0 0 0 8 
02 10 0 0 0 0 7 
02 11 0 0 0 0 7 
02 12 0 0 0 0 8 
02 13 0 0 0 0 5 
02 14 0 0 0 0 7 
02 15 0 0 0 0 6 
02 16 0 0 0 0 8 
02 17 0 0 0 0 8 
02 18 0 0 0 0 8 
02 19 0 0 0 0 8 
02 20 0 0 0 0 8 
02 21 0 0 0 0 7 
02 22 0 0 0 0 6 
02 23 0 0 0 0 7 
02 24 0 0 0 0 9 
02 25 0 0 0 0 6 
02 26 0 0 0 0 4 
02 27 0 0 0 0 8 
02 28 0 0 0 0 7 
02 29 0 0 0 0 7 
02 30 0 0 0 0 8 
02 31 0 0 0 0 9 
02 32 0 0 0 0 6 
02 33 0 0 0 0 7 
02 34 0 0 0 0 7 
02 35 0 0 0 0 8 
02 36 0 0 0 0 8 
02 37 0 0 0 0 10 
02 38 0 0 0 0 6 
02 39 0 0 0 0 6 
02 40 0 0 0 0 7 
02 41 0 0 0 0 8 
02 42 0 0 0 0 6 
02 43 0 0 0 0 8 
02 44 0 0 0 0 6 
02 45 0 0 0 0 8 
02 46 0 0 0 0 10 
02 47 0 0 0 0 8 
02 48 0 0 0 0 6 
02 49 0 0 0 0 10 
02 50 0 0 0 0 6 
02 51 0 0 0 0 7 
02 52 0 0 0 0 7 
02 53 0 0 0 0 5 
02 54 0 0 0 0 8 
02 55 0 0 0 0 6 
02 56 0 0 0 0 5 
02 57 0 0 0 0 6 
02 58 0 0 0 0 11 
02 59 0 0 0 0 11 
02 60 0 0 0 0 8 
02 61 0 0 0 0 8 
02 62 0 0 0 0 10 
02 63 0 0 0 0 6 
03 00 0 0 0 0 7 
03 01 0 0 0 0 9 
03 02 0 0 0 0 6 
03 03 0 0 0 0 4 
03 04 0 0 0 0 8 
03 05 0 0 0 0 8 
03 06 0 0 0 0 6 
03 07 0 0 0 0 6 
03 08 0 0 0 0 7 
03 09 0 0 0 0 7 
03 10 0 0 0 0 7 
03 11 0 0 0 0 6 
03 12 0 0 0 0 10 
03 13 0 0 0 0 4 
03 14 0 0 0 0 7 
03 15 0 0 0 0 4 
03 16 0 0 0 0 6 
03 17 0 0 0 0 9 
03 18 0 0 0 0 11 
03 19 0 0 0 0 7 
03 20 0 0 0 0 6 
03 21 0 0 0 0 6 
03 22 0 0 0 0 6 
03 23 0 0 0 0 6 
03 24 0 0 0 0 6 
03 25 0 0 0 0 7 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 8 
03 29 0 0 0 0 6 
03 30 0 0 0 0 6 
03 31 0 0 0 0 10 
03 32 0 0 0 0 7 
03 33 0 0 0 0 6 
03 34 0 0 0 0 8 
03 35 0 0 0 0 6 
03 36 0 0 0 0 8 
03 37 0 0 0 0 9 
03 38 0 0 0 0 8 
03 39 0 0 0 0 8 
03 40 0 0 0 0 5 
03 41 0 0 0 0 6 
03 42 0 0 0 0 10 
03 43 0 0 0 0 9 
03 44 0 0 0 0 8 
03 45 0 0 0 0 9 
03 46 0 0 0 0 8 
03 47 0 0 0 0 4 
03 48 0 0 0 0 8 
03 49 0 0 0 0 6 
03 50 0 0 0 0 4 
03 51 0 0 0 0 8 
03 52 0 0 0 0 8 
03 53 0 0 0 0 8 
03 54 0 0 0 0 5 
03 55 0 0 0 0 5 
03 56 0 0 0 0 10 
03 57 0 0 0 0 6 
03 58 0 0 0 0 5 
03 59 0 0 0 0 6 
03 60 0 0 0 0 7 
03 61 0 0 0 0 6 
03 62 0 0 0 0 6 
03 63 0 0 0 0 4 
04 00 0 0 0 0 8 
04 01 0 0 0 0 12 
04 02 0 0 0 0 9 
04 03 0 0 0 0 6 
04 04 0 0 0 0 8 
04 05 0 0 0 0 9 
04 06 0 0 0 0 10 
04 07 0 0 0 0 9 
04 08 0 0 0 0 5 
04 09 0 0 0 0 7 
04 10 0 0 0 0 6 
04 11 0 0 0 0 10 
04 12 0 0 0 0 7 
04 13 0 0 0 0 8 
04 14 0 0 0 0 7 
04 15 0 0 0 0 8 
04 16 0 0 0 0 6 
04 17 0 0 0 0 9 
04 18 0 0 0 0 9 
04 19 0 0 0 0 9 
04 20 0 0 0 0 8 
04 21 0 0 0 0 8 
04 22 0 0 0 0 8 
04 23 0 0 0 0 9 
04 24 0 0 0 0 5 
04 25 0 0 0 0 5 
04 26 0 0 0 0 9 
04 27 0 0 0 0 9 
04 28 0 0 0 0 7 
04 29 0 0 0 0 5 
04 30 0 0 0 0 6 
04 31 0 0 0 0 7 
04 32 0 0 0 0 6 
04 33 0 0 0 0 7 
04 34 0 0 0 0 7 
04 35 0 0 0 0 6 
04 36 0 0 0 0 5 
04 37 0 0 0 0 9 
... 3802 more lines ...
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.1
#register_key = vnfb
#register_value = 36


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  462   Sat Oct 5 23:32:15 2024 tb-crewHV scan V W8-0E0Topside4.2   Unknown   
changed DUT
  463   Sat Oct 5 23:57:18 2024 tb-crewmanual HV search425V W8-0E0Topside4.20.91-190 Unknown05.10.2024 23:56:5205.10.2024 23:57:460
automatic log for run 425
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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
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
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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

Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


[Producer.keithleyPS]
voltage = -190
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 200


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.91
#register_key = vnfb
#register_value = 18


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  464   Sat Oct 5 23:59:02 2024 tb-crewmanual HV search426V W8-0E0Topside4.20.95-190 Unknown05.10.2024 23:58:4605.10.2024 23:59:300
automatic log for run 426
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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
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
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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

Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


[Producer.keithleyPS]
voltage = -190
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 200


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.95
#register_key = vnfb
#register_value = 18


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  465   Sat Oct 5 23:59:53 2024 tb-crewmanual HV search427V W8-0E0Topside4.20.95-190 Unknown06.10.2024 00:00:0706.10.2024 00:00:220
automatic log for run 427
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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
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
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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

Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


[Producer.keithleyPS]
voltage = -190
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 200


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.95
#register_key = vnfb
#register_value = 18


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  466   Sun Oct 6 00:01:35 2024 tb-crewmanual HV search428V W8-0E0Topside4.20.95-220 Unknown06.10.2024 00:01:0006.10.2024 00:02:041
automatic log for run 428
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_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
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
th__i = 3


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


#SEC::REGISTERS
conf_reg_ts_ctrl = 2
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

Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

[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
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

## TRIGGER CONFIGURATION
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

in0_DEL = 0
in0_STR = 0x3F
in1_DEL = 0
in1_STR = 1
in2_DEL = 0
in2_STR = 0x3F
in3_DEL = 0
in3_STR = 1
in4_DEL = 0
in4_STR = 0
in5_DEL = 0
in5_STR = 0

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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
trigPol=0x0

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


[Producer.keithleyPS]
voltage = -220
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 200


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.95
#register_key = vnfb
#register_value = 18


[DataCollector.mpw4_dc]
DISABLE_PRINT = 1
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/external-hd/desy2410/mpw4/mpw4_run$6R$X
EUDAQ_MN = mpw4_mon
XILINX_IP = 192.168.201.1


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
ELOG V3.1.5-fc6679b