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
ID Date Author Subject Run Number DUTdown Biasing Beam Energy thr HV scan-val Data t-Start t-Stop Duration_min
  206   Thu Oct 3 17:20:25 2024 tb-crewinceasing bias185V W8-1E15Topside4.20.97-350 Unknown03.10.2024 17:20:4803.10.2024 17:20:510
automatic log for run 185
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 = -350
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 = 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
  207   Thu Oct 3 17:32:07 2024 tb-crewinceasing bias186V W8-1E15Topside4.20.97-400 Unknown03.10.2024 17:21:3203.10.2024 17:32:3311
automatic log for run 186
Comment:
91 % efficiency <3
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 = -400
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 = 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
  208   Thu Oct 3 17:32:40 2024 tb-crewinceasing bias187V W8-1E15Topside4.20.97-500 Unknown03.10.2024 17:33:0003.10.2024 17:33:070
automatic log for run 187
Comment:
91 % efficiency <3
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 = -500
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 = 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
  209   Thu Oct 3 17:33:18 2024 tb-crewinceasing bias V W8-1E15Topside4.20.97-450 Unknown   
hit compliance at 500V
  210   Thu Oct 3 17:34:23 2024 tb-crewinceasing bias188V W8-1E15Topside4.20.97-450 Unknown03.10.2024 17:34:4503.10.2024 17:34:490
automatic log for run 188
Comment:
hit compliance at 500V
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 = -450
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 = 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
  211   Thu Oct 3 17:35:08 2024 tb-crewinceasing bias189V W8-1E15Topside4.20.97-410 Unknown03.10.2024 17:35:2603.10.2024 17:35:340
automatic log for run 189
Comment:
hit compliance at 500V
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 = -410
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 = 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
  212   Thu Oct 3 17:35:51 2024 tb-crewinceasing bias190V W8-1E15Topside4.20.97-400 Unknown03.10.2024 17:36:0703.10.2024 17:36:180
automatic log for run 190
Comment:
hit compliance at 500V
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 = -400
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 = 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
  213   Thu Oct 3 17:36:41 2024 tb-crewinceasing bias191V W8-1E15Topside4.20.97-190 Unknown03.10.2024 17:36:5603.10.2024 17:37:070
automatic log for run 191
Comment:
hit compliance at 500V
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 = 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
  214   Thu Oct 3 17:38:09 2024 tb-crewinceasing bias192V W8-1E15Topside4.20.97-300 Unknown03.10.2024 17:37:3103.10.2024 17:38:351
automatic log for run 192
Comment:
hit compliance at 500V
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 = -300
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 = 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
  215   Thu Oct 3 17:39:33 2024 tb-crewinceasing bias193V W8-1E15Topside4.20.97-300 Unknown03.10.2024 17:39:1103.10.2024 17:40:000
automatic log for run 193
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 = -300
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 = 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
  216   Thu Oct 3 17:43:24 2024 tb-crewinceasing bias194V W8-1E15Topside4.20.97-400 Unknown03.10.2024 17:42:2703.10.2024 17:43:511
automatic log for run 194
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 = -400
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 = 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
  217   Thu Oct 3 17:45:08 2024 tb-crewinceasing bias195V W8-1E15Topside4.20.97-300 Unknown03.10.2024 17:44:3003.10.2024 17:45:351
automatic log for run 195
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 = -300
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 100


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.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
  218   Thu Oct 3 17:47:26 2024 tb-crewinceasing bias196V W8-1E15Topside4.20.97-300 Unknown03.10.2024 17:46:1503.10.2024 17:47:521
automatic log for run 196
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 = -300
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 100


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.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
  219   Thu Oct 3 17:48:31 2024 tb-crewinceasing bias197V W8-1E15Topside4.20.97-350 Unknown03.10.2024 17:48:2803.10.2024 17:48:580
automatic log for run 197
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 = -350
max_current = 300e-6
ramp_step = 2.5
ramp_speed = 100


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


[Producer.RD50_MPW4_0]
voltage_key = th
voltage_value = 0.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
  220   Thu Oct 3 17:49:28 2024 tb-crewinceasing bias198V W8-1E15Topside4.20.97-375 Unknown03.10.2024 17:49:4103.10.2024 17:49:540
automatic log for run 198
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 = -375
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
  221   Thu Oct 3 17:50:17 2024 tb-crewinceasing bias199V W8-1E15Topside4.20.97-400 Unknown03.10.2024 17:50:3003.10.2024 17:50:430
automatic log for run 199
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 = -400
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
  222   Thu Oct 3 17:58:54 2024 tb-crewinceasing bias200V W8-1E15Topside4.20.97-420 Unknown03.10.2024 17:51:3903.10.2024 17:59:207
automatic log for run 200
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 = -420
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
  223   Thu Oct 3 17:59:38 2024 tb-crewinceasing bias201V W8-1E15Topside4.20.97-440 Unknown03.10.2024 17:59:5303.10.2024 18:00:040
automatic log for run 201
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 = -440
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
  224   Thu Oct 3 18:00:23 2024 tb-crewinceasing bias202V W8-1E15Topside4.20.97-460 Unknown03.10.2024 18:00:3903.10.2024 18:00:500
automatic log for run 202
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 = -460
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
  225   Thu Oct 3 18:01:07 2024 tb-crewinceasing bias203V W8-1E15Topside4.20.97-480 Unknown03.10.2024 18:01:2703.10.2024 18:01:330
automatic log for run 203
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 = -480
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
ELOG V3.1.5-fc6679b