Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-rd50-desy-Oct2024 testbeam-RD50-DESY-Apr2024 testbeam-RD50-DESY-Jul2023 testbeam-RD50-CERN-Oct2022 testbeam-DESY-Oct2017 testbeam-DESY-April2017 testbeam-SPS2015 testbeam-SPS2014 testbeam-DESY14 testbeam-SPS12 testbeam-SPS11 testbeam-SPS10 testbeam-SPS09 testbeam-SPS08 LP-TPC
  Testbeam at DESY in October 2024, Page 2 of 29  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Author Subject Run Number DUT Biasing Beam Energy thr HVdown scan-val Data t-Start t-Stop Duration_min
  557   Sun Oct 6 15:51:18 2024 tb-crewHV scan514V W8-0E0Topside4.21.0-70 Unknown06.10.2024 15:41:4306.10.2024 15:51:4710
automatic log for run 514
Comment:
no TP data
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

Attachment 3: default_8.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 1.0

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  513   Sun Oct 6 07:55:57 2024 tb-crewHV scan475V W8-0E0Topside4.21.0-65 Unknown06.10.2024 07:46:2306.10.2024 07:56:2610
automatic log for run 475
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

Attachment 3: default_43.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 1.0

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  88   Wed Oct 2 18:19:53 2024 tb-crewHV final steps79V W3-1E14Backside4.21.1-600 Unknown02.10.2024 18:10:1002.10.2024 18:20:1910
automatic log for run 79
Comment:
38uA
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

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

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  92   Wed Oct 2 22:24:20 2024 tb-crewthr minimizing82V W3-1E14Backside4.21.05-600 Unknown02.10.2024 22:14:3402.10.2024 22:24:4610
automatic log for run 82
Comment:
really nice run
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

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

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  93   Wed Oct 2 22:26:35 2024 tb-crew  V W3-1E14Topside4.21.05-600 Unknown   
put jumper to HV_SR position
  139   Thu Oct 3 06:50:46 2024 tb-crewHV scan 128V W3-1E14Topside4.21.1-60 Unknown03.10.2024 06:41:0903.10.2024 06:51:1210
automatic log for run 128
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

Attachment 3: default_44.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 36
voltage_key = th
voltage_value = 1.1

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  290   Fri Oct 4 06:56:43 2024 tb-crewHV scan262V W3-1E14Backside4.21.1-60 Unknown04.10.2024 06:47:0604.10.2024 06:57:1010
automatic log for run 262
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 
Attachment 3: default_44.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 1.1

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  392   Sat Oct 5 00:03:54 2024 tb-crewHV scan357L W3-3E14Backside4.20.95-60 Unknown04.10.2024 23:54:1805.10.2024 00:04:2210
automatic log for run 357
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 
13 11 1 0 0 0 -1 
13 12 1 0 0 0 -1 
13 13 1 0 0 0 -1 
14 11 1 0 0 0 -1 
14 12 1 0 0 0 -1 
14 13 1 0 0 0 -1 
15 11 1 0 0 0 -1 
15 12 1 0 0 0 -1 
15 13 1 0 0 0 -1 
Attachment 3: default_44.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 0.95

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  456   Sat Oct 5 19:00:55 2024 tb-crewHV scan419L W3-3E14Topside4.20.95-60 Unknown05.10.2024 18:51:2005.10.2024 19:01:2310
automatic log for run 419
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 
13 11 1 0 0 0 -1 
13 12 1 0 0 0 -1 
13 13 1 0 0 0 -1 
14 11 1 0 0 0 -1 
14 12 1 0 0 0 -1 
14 13 1 0 0 0 -1 
15 11 1 0 0 0 -1 
15 12 1 0 0 0 -1 
15 13 1 0 0 0 -1 
Attachment 3: default_44.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 0.95

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  514   Sun Oct 6 08:06:36 2024 tb-crewHV scan476V W8-0E0Topside4.21.0-60 Unknown06.10.2024 07:57:0206.10.2024 08:07:0510
automatic log for run 476
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

Attachment 3: default_44.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 1.0

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  558   Sun Oct 6 16:01:56 2024 tb-crewHV scan515V W8-0E0Topside4.21.0-60 Unknown06.10.2024 15:52:2106.10.2024 16:02:2510
automatic log for run 515
Comment:
no TP data
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

Attachment 3: default_9.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 1.0

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  230   Thu Oct 3 18:18:00 2024 tb-crewinceasing bias208V W8-1E15Topside4.20.97-580 Unknown03.10.2024 18:18:1203.10.2024 18:18:270
automatic log for run 208
Comment:
144uA and getting data
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 30 1 0 0 0 -1 
00 31 1 0 0 0 -1 
00 32 1 0 0 0 -1 
00 33 1 0 0 0 -1 
00 34 1 0 0 0 -1 
01 30 1 0 0 0 -1 
01 31 1 0 0 0 -1 
01 32 1 0 0 0 -1 
01 33 1 0 0 0 -1 
01 34 1 0 0 0 -1 
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  229   Thu Oct 3 18:16:58 2024 tb-crewinceasing bias207V W8-1E15Topside4.20.97-560 Unknown03.10.2024 18:17:1003.10.2024 18:17:240
automatic log for run 207
Comment: 98%
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 30 1 0 0 0 -1 
00 31 1 0 0 0 -1 
00 32 1 0 0 0 -1 
00 33 1 0 0 0 -1 
00 34 1 0 0 0 -1 
01 30 1 0 0 0 -1 
01 31 1 0 0 0 -1 
01 32 1 0 0 0 -1 
01 33 1 0 0 0 -1 
01 34 1 0 0 0 -1 
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  515   Sun Oct 6 08:17:14 2024 tb-crewHV scan477V W8-0E0Topside4.21.0-55 Unknown06.10.2024 08:07:4006.10.2024 08:17:4310
automatic log for run 477
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

Attachment 3: default_45.conf
Name = /home/silicon/testbeam/desy2410/mpw4.conf

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

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

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

[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]
#register_key = vnfb
#register_value = 18
voltage_key = th
voltage_value = 1.0

[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
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0
#trigMaskHi = 0x00000000
#trigMaskLo = 0x00000002
DACThreshold0 = +0.3
DACThreshold1 = -0.04
DACThreshold2 = -0.04
DACThreshold3 = -1.2
DACThreshold4 = -1.2
DACThreshold5 = +0.3
DUTIgnoreBusy = 0x0
DUTIgnoreShutterVeto = 0x0
DUTMask = 0xD
DUTMaskMode = 0xF1
DUTMaskModeModifier = 0x30
EUDAQ_DC = tlu_dc
EnableRecordData = 1
EnableShutterMode = 0x0
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
ShutterOffTime = 200000000
ShutterOnTime = 0
ShutterSource = 5
ShutterVetoOffTime = 0
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 = 0x00000001
trigMaskLo = 0x00000000
trigPol = 0x0
verbose = 1

[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1

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

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

[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
  228   Thu Oct 3 18:15:55 2024 tb-crewinceasing bias206V W8-1E15Topside4.20.97-540 Unknown03.10.2024 18:16:0303.10.2024 18:16:220
automatic log for run 206
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 30 1 0 0 0 -1 
00 31 1 0 0 0 -1 
00 32 1 0 0 0 -1 
00 33 1 0 0 0 -1 
00 34 1 0 0 0 -1 
01 30 1 0 0 0 -1 
01 31 1 0 0 0 -1 
01 32 1 0 0 0 -1 
01 33 1 0 0 0 -1 
01 34 1 0 0 0 -1 
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  231   Thu Oct 3 18:19:01 2024 tb-crewinceasing bias209V W8-1E15Topside4.20.97-540 Unknown03.10.2024 18:19:1203.10.2024 18:19:270
automatic log for run 209
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 30 1 0 0 0 -1 
00 31 1 0 0 0 -1 
00 32 1 0 0 0 -1 
00 33 1 0 0 0 -1 
00 34 1 0 0 0 -1 
01 30 1 0 0 0 -1 
01 31 1 0 0 0 -1 
01 32 1 0 0 0 -1 
01 33 1 0 0 0 -1 
01 34 1 0 0 0 -1 
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  233   Thu Oct 3 18:21:31 2024 tb-crewinceasing bias V W8-1E15Topside4.20.97-540 Unknown   
bias = 0
setting voltage manually now
approaching regimes in which compliance starts to drip all the time
  232   Thu Oct 3 18:21:31 2024 tb-crewinceasing bias V W8-1E15Topside4.20.97-540 Unknown   
bias = 0
setting voltage manually now
approaching regimes in which compliance starts to drip all the time
  227   Thu Oct 3 18:15:00 2024 tb-crewinceasing bias205V W8-1E15Topside4.20.97-520 Unknown03.10.2024 18:15:1403.10.2024 18:15:270
automatic log for run 205
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# 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 30 1 0 0 0 -1 
00 31 1 0 0 0 -1 
00 32 1 0 0 0 -1 
00 33 1 0 0 0 -1 
00 34 1 0 0 0 -1 
01 30 1 0 0 0 -1 
01 31 1 0 0 0 -1 
01 32 1 0 0 0 -1 
01 33 1 0 0 0 -1 
01 34 1 0 0 0 -1 
Attachment 3: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  72   Wed Oct 2 16:28:53 2024 tb-crewmanual HV scan64V W3-1E14Backside4.21.1-500 Unknown02.10.2024 16:29:0802.10.2024 16:29:190
automatic log for run 64
Comment:
trying manually to find scan limit
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt

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

[LogCollector.log]

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

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

## PMT POWER CONFIGURATION
#PMT1_V = 0.8
#PMT2_V = 0.85
#PMT3_V = 0.8
#PMT4_V = 0.0

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


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