Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-rd50-desy-Oct2024 testbeam-RD50-DESY-Apr2024 testbeam-RD50-DESY-Jul2023 testbeam-RD50-CERN-Oct2022 testbeam-DESY-Oct2017 testbeam-DESY-April2017 testbeam-SPS2015 testbeam-SPS2014 testbeam-DESY14 testbeam-SPS12 testbeam-SPS11 testbeam-SPS10 testbeam-SPS09 testbeam-SPS08 LP-TPC
  Testbeam at DESY in 2024, Page 25 of 28  Not logged in ELOG logo
ID Date Author Subject Run Number DUT Fluence Beam Energy Data t-Start t-Stop Duration_min
  76   Tue Apr 23 21:53:52 2024 tb-crewbasic "best" threshold / HV settings57Wxxx topsideunirradiated4.2Unknown23.04.2024 19:22:1923.04.2024 21:54:09151
automatic log for run 57
Comment:
proper data now (99.99% Efficiency), over Samarkand run Big grin
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  75   Tue Apr 23 19:18:40 2024 tb-crewbasic "best" threshold / HV settings56Wxxx topsideunirradiated4.2Unknown23.04.2024 19:18:4323.04.2024 19:18:570
automatic log for run 56
Comment:
reset the system
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  74   Tue Apr 23 19:16:46 2024 tb-crewbasic "best" threshold / HV settings55Wxxx topsideunirradiated4.2Unknown23.04.2024 19:13:5023.04.2024 19:17:033
automatic log for run 55
Comment:
reset the system -> 97%
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  73   Tue Apr 23 18:33:47 2024 tb-crewbasic "best" threshold / HV settings54Wxxx topsideunirradiated4.2Unknown23.04.2024 18:30:0823.04.2024 18:34:043
automatic log for run 54
Comment:
trying to replicate run14
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  72   Tue Apr 23 18:24:54 2024 tb-crewbasic "best" threshold / HV settings53Wxxx topsideunirradiated4.2Unknown23.04.2024 18:21:2323.04.2024 18:25:113
automatic log for run 53
Comment:
ignoring veto again (yes desperate)
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  71   Tue Apr 23 18:21:05 2024 tb-crewbasic "best" threshold / HV settings Wxxx topsideunirradiated4.2Unknown   
ignoring veto again (yes desperate)
  70   Tue Apr 23 18:20:06 2024 tb-crewbasic "best" threshold / HV settings52Wxxx topsideunirradiated4.2Unknown23.04.2024 17:33:3023.04.2024 18:20:2346
automatic log for run 52
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  69   Tue Apr 23 17:43:13 2024 tb-crewbasic "best" threshold / HV settings Wxxx topsideunirradiated4.2Unknown   
major efficiency problems
  68   Tue Apr 23 17:25:06 2024 tb-crewbasic "best" threshold / HV settings51Wxxx topsideunirradiated4.2Unknown23.04.2024 17:23:3923.04.2024 17:25:231
automatic log for run 51
Comment:
threshold scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  67   Tue Apr 23 17:21:56 2024 tb-crewbasic "best" threshold / HV settings50Wxxx topsideunirradiated4.2Unknown23.04.2024 17:22:0323.04.2024 17:22:130
automatic log for run 50
Comment:
threshold scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  66   Tue Apr 23 16:54:53 2024 tb-crewbasic "best" threshold / HV settings49Wxxx topsideunirradiated4.2Unknown23.04.2024 16:46:4623.04.2024 16:55:108
automatic log for run 49
Comment:
threshold scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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

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

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

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

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.995

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

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

[Producer.keithleyPS]
max_current = 5e-6
voltage = -200

[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
  65   Tue Apr 23 16:45:54 2024 tb-crewbasic "best" threshold / HV settings48Wxxx topsideunirradiated4.2Unknown23.04.2024 16:31:0723.04.2024 16:46:1115
automatic log for run 48
Comment:
threshold scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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

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

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

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

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.97

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

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

[Producer.keithleyPS]
max_current = 5e-6
voltage = -200

[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
  64   Tue Apr 23 16:30:16 2024 tb-crewbasic "best" threshold / HV settings47Wxxx topsideunirradiated4.2Unknown23.04.2024 16:15:2923.04.2024 16:30:3315
automatic log for run 47
Comment:
threshold scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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

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

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

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

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.945

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

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

[Producer.keithleyPS]
max_current = 5e-6
voltage = -200

[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
  63   Tue Apr 23 16:14:36 2024 tb-crewbasic "best" threshold / HV settings46Wxxx topsideunirradiated4.2Unknown23.04.2024 15:59:4923.04.2024 16:14:5315
automatic log for run 46
Comment:
threshold scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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

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

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

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

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.92

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

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

[Producer.keithleyPS]
max_current = 5e-6
voltage = -200

[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
  62   Tue Apr 23 15:58:09 2024 tb-crewbasic "best" threshold / HV settings45Wxxx topsideunirradiated4.2Unknown23.04.2024 15:47:5823.04.2024 15:58:2610
automatic log for run 45
Comment:
threshold scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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

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

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

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

[LogCollector.log]

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.92

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

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

[Producer.keithleyPS]
max_current = 5e-6
voltage = -200

[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
  61   Tue Apr 23 15:42:58 2024 tb-crewbasic "best" threshold / HV settings44Wxxx topsideunirradiated4.2Unknown23.04.2024 15:39:2723.04.2024 15:43:153
automatic log for run 44
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  60   Tue Apr 23 15:38:43 2024 tb-crewbasic "best" threshold / HV settings43Wxxx topsideunirradiated4.2Unknown23.04.2024 14:28:4123.04.2024 15:39:0070
automatic log for run 43
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  59   Tue Apr 23 14:27:46 2024 tb-crewbasic "best" threshold / HV settings Wxxx topsideunirradiated4.2Unknown   
fixed EUDAQ config bugs
  58   Tue Apr 23 14:15:25 2024 tb-crewbasic "best" threshold / HV settings42Wxxx topsideunirradiated4.2Unknown23.04.2024 13:58:5923.04.2024 14:15:4216
automatic log for run 42
Comment:
not ignoring anything an triggering on Telepix, Correlations still fine though...
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
  57   Tue Apr 23 13:53:38 2024 tb-crewbasic "best" threshold / HV settings41Wxxx topsideunirradiated4.2Unknown23.04.2024 13:52:2823.04.2024 13:53:551
automatic log for run 41
Comment:
not ignoring anything an triggering on Telepix, Correlations still fine though...
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

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


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

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

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

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

# combinations of coincidence are now possible!

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

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

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


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

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = +0.3 #-0.012
DACThreshold1 = -0.04 #-0.012
DACThreshold2 = -0.04
DACThreshold3 = +0.5
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

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


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

[DataCollector.tel_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN=/data1/rd50-mpw4/adenium/adenium_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
voltage_key = "th"
voltage_value = 0.92

[Producer.altel]
EUDAQ_ID=1
EUDAQ_DC=tel_dc

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6

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

[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50

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

[Producer.keithleyPS]
voltage = -200
max_current = 5e-6
ELOG V3.1.5-fc6679b