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 Subjectdown Run Number DUT Biasing Beam Energy thr HV scan-val Data t-Start t-Stop Duration_min
  90   Wed Oct 2 22:10:53 2024 tb-crewthr minimizing81V W3-1E14Backside4.21.02-190 Unknown02.10.2024 22:11:1102.10.2024 22:11:180
automatic log for run 81
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


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

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

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


[Producer.keithleyPS]
voltage = -190
max_current = 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.02
#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
  91   Wed Oct 2 22:11:02 2024 tb-crewthr minimizing V W3-1E14Backside4.21.02-190 Unknown   
that was noise
  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
  52   Wed Oct 2 14:34:54 2024 tb-crewstd settings V W3-1E14Backside4.21.1-190 Unknown   
adjusted XY stage in order to get rid of Cu artifacts on telescope planes
  56   Wed Oct 2 15:09:12 2024 tb-crewstd settings V W3-1E14Backside4.21.1-190 Unknown   
alignment test
currently at
positionX = 52
positionY = 9
  60   Wed Oct 2 15:35:31 2024 tb-crewstd settings V W3-1E14Backside4.21.1-190 Unknown   
alignment test
currently at
positionX = 52
positionY = 11
  162   Thu Oct 3 10:39:57 2024 tb-crewstd settings V W3-1W16Topside4.21.1-190 Unknown   
taking data with the poor boy now
  163   Thu Oct 3 10:42:55 2024 tb-crewstd settings150V W3-1W16Topside4.21.1-190 Unknown03.10.2024 10:39:4203.10.2024 10:43:213
automatic log for run 150
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


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

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

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


[Producer.keithleyPS]
voltage = -190
max_current = 300e-6
ramp_step = 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 = 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
  164   Thu Oct 3 10:44:29 2024 tb-crewstd settings V W3-1W16Topside4.21.1-190 Unknown   
MPW4 not giving data at all
  165   Thu Oct 3 10:46:32 2024 tb-crewstd settings151V W3-1W16Topside4.21.0-190 Unknown03.10.2024 10:44:1903.10.2024 10:46:582
automatic log for run 151
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


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

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

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.0
#register_key = vnfb
#register_value = 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
  195   Thu Oct 3 16:26:59 2024 tb-crewstd settings176V W8-1E15Topside4.21.10-190 Unknown03.10.2024 15:36:4303.10.2024 16:27:2550
automatic log for run 176
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 = -190
max_current = 300e-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.10
#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
  319   Fri Oct 4 11:56:16 2024 tb-crewstd settings L W3-3E14Backside4.21.1-19018Unknown   
we'll have to move the stage a bit, not very centered
  320   Fri Oct 4 11:56:22 2024 tb-crewstd settings287L W3-3E14Backside4.21.1-19018Unknown04.10.2024 11:47:5104.10.2024 11:56:498
automatic log for run 287
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: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.1
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
  328   Fri Oct 4 13:33:11 2024 tb-crewstd settings293L W3-3E14Backside4.21.1-190 Unknown04.10.2024 12:28:1504.10.2024 13:33:3765
automatic log for run 293
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: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.1
#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
  400   Sat Oct 5 10:08:22 2024 tb-crewstd settings363L W3-3E14Topside4.21.1-190 Unknown05.10.2024 09:57:4205.10.2024 10:08:4911
automatic log for run 363
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: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.1
#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
  66   Wed Oct 2 16:23:20 2024 tb-crewstd measurement58V W3-1E14Backside4.21.1-190 Unknown02.10.2024 16:02:0602.10.2024 16:23:4621
automatic log for run 58
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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


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


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


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

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

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


[Producer.keithleyPS]
voltage = -190
max_current = 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
  401   Sat Oct 5 10:20:11 2024 tb-crewreducing thr364L W3-3E14Topside4.21.0-190 Unknown05.10.2024 10:10:0805.10.2024 10:20:3910
automatic log for run 364
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: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 1.0
#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
  402   Sat Oct 5 10:27:37 2024 tb-crewreducing thr365L W3-3E14Topside4.20.96-190 Unknown05.10.2024 10:21:2205.10.2024 10:28:056
automatic log for run 365
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: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.96
#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
  403   Sat Oct 5 10:38:17 2024 tb-crewreducing thr366L W3-3E14Topside4.20.95-190 Unknown05.10.2024 10:28:4205.10.2024 10:38:4510
automatic log for run 366
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: mpw4.conf
[RunControl]
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
ADDITIONAL_DISPLAY_NUMBERS = log,_SERVER

[LogCollector.log]

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

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

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

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

trigMaskHi = 0x00000001
trigMaskLo = 0x00000000

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

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

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

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

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

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

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

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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc


[Producer.altel]
EUDAQ_DC = tel_dc
EUDAQ_ID = 1


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


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


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


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


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


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


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


[Monitor.mpw4_mon]
buffer_size = 50000
update_thr = 50
  240   Thu Oct 3 22:50:27 2024 tb-crewprep for HV scan213V W3-1E14Backside4.21.1-190 Unknown03.10.2024 22:50:4203.10.2024 22:50:540
automatic log for run 213
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 = -190
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 200


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


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


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


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


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


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