HW-Time-Slice Firmware-Filter Software vx2740 Steering Module Reports MVM MVM Vexos MVM-Bug listing MVM TRIUMF Local DS Prototype DS Cryogenic For Shifters BCIT-31 ChronoBox Run Operation DS-DAQ
  CERN DS-Proto0 read-only backup, Page 6 of 8  Not logged in ELOG logo
ID Date Author Type Category Subjectup
  90   07 Nov 2019 02:07 SamRoutineGeneralRun 963 Laser Run with SiPMs at 65V, 12us trace

Laser Intensity: MAX

Threshold: external clock (laser NIM), laser set to 1kHz

Trace length: 12us, 5us pre-trigger

SIPM HV: 65V

  92   07 Nov 2019 02:16 SamRoutineGeneralRun 964 Laser Run with SiPMs at 65V, 30us trace

Laser Intensity: MAX

Threshold: external clock (laser NIM), laser set to 1kHz

Trace length: 30us, 5us pre-trigger

SIPM HV: 65V

  93   07 Nov 2019 02:34 SamRoutineGeneralRun 966 Laser Run with SiPMs at 65V, 30us trace

Laser Intensity: MIN 

Threshold: external clock (laser NIM), laser set to 1kHz

Trace length: 30us, 5us pre-trigger

SIPM HV: 65V

 

MISSING FILE (E.Sanchez)

  111   10 Nov 2019 11:19 Edgar SanchezRoutineGeneralS1 + S2 short time window

Run 1054

Gas pocket: ON (unknow)

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 100 ADC below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 400 Hz 

 

 

  135   15 Nov 2019 10:48 E. SanchezRoutineGeneralS1 data taking proposed by Marco

Run 1171

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1172 Gas pocket: OFF

Fields: 0 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1173

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 4 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1174

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend: 5x16 = 80ns TPC

Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1175

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 6 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1176

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 500 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1177

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 500 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1178

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 500 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 4 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1179 Gas pocket: OFF

Fields: 0 V/cm

Threshold: 500 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1180

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 500 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 6 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 20k

Run 1181

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 200 ADCc below baseline

Trace length: 200us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 100k

Problem with DAQ, forced to stop

Run 1182

Gas pocket: OFF

Fields: 0 V/cm

Threshold: 200 ADCc below baseline

Trace length: 200us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend: 5x16 = 80ns

TPC Pressure: 80 mbarg

SiPM HV: 65 V

Number of events: 100k

  108   10 Nov 2019 08:04 Edgar SanchezRoutineGeneralS1 data taking with field

Run 1032

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 800 Hz

Run 1033

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 350 Hz

Run 1034

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 250 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 260 Hz

Run 1035

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 200 Hz

Run 1036

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 130 Hz

 

"ERROR INFO: 17:19:23.176 2019/11/10 [feov1725MTI00,ERROR] [feoV1725.cxx:1048:read_trigger_event,ERROR] Error: did not receive a ZMQ bank after 100.000000 ms. Stopping run."

Run 1037

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 800 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  110 Hz

Run 1038

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  80 Hz

Run 1039

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm

Threshold: 150 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  400 Hz

 

  132   14 Nov 2019 07:42 E. SanchezRoutineGeneralS1 data taking with field

Run 1148

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

problem DAQ, forced to stop manually

Run 1149

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 380 Hz

Run 1150

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 310 Hz

Run 1151

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  250 Hz

Run 1152

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  150 Hz

Run 1153

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  90 Hz

Run 1154

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  390 Hz

Run 1155

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  400 Hz

Run 1156

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  400 Hz

Run 1157

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:   400 Hz

Run 1158

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:   400 Hz

Run 1159

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1160

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1161

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1163

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1164

Gas pocket: OFF

Fields: 500 V/cm

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

  109   10 Nov 2019 08:40 Edgar SanchezRoutineGeneralS1 data taking without field

Run 1041

Gas pocket: OFF

Fields: OFF

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 360 Hz

Run 1042

Gas pocket: OFF

Fields: OFF

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 340 Hz

Run 1043

Gas pocket: OFF

Fields: OFF

Threshold: 250 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 290 Hz

Run 1044

Gas pocket: OFF

Fields: OFF

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 240 Hz

Run 1045

Gas pocket: OFF

Fields: OFF

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate: 170 Hz

Run 1046

Gas pocket: OFF

Fields: OFF

Threshold: 800 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  140 Hz

Run 1047

Gas pocket: OFF

Fields: OFF

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  110 Hz

Run 1048

Gas pocket: OFF

Fields: OFF

Threshold: 150 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  400 Hz

Run 1049

Gas pocket: OFF

Fields: OFF

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Threshold extend:  5x16 = 80ns

TPC Pressure:  340 mbarg

SiPM HV: 65 V

Number of events: 50k

Rate:  400 Hz

  130   14 Nov 2019 03:51 E. SanchezRoutineGeneralS1 data taking without field

Run 1133

Gas pocket: OFF

Fields: OFF

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1134

Gas pocket: OFF

Fields: OFF

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1135

Gas pocket: OFF

Fields: OFF

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1136

Gas pocket: OFF

Fields: OFF

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1137

Gas pocket: OFF

Fields: OFF

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 2 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1138

Gas pocket: OFF

Fields: OFF

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1139

Gas pocket: OFF

Fields: OFF

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

 

Run 1140

Gas pocket: OFF

Fields: OFF

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1141

Gas pocket: OFF

Fields: OFF

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1142

Gas pocket: OFF

Fields: OFF

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 3 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1143

Gas pocket: OFF

Fields: OFF

Threshold: 100 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1144

Gas pocket: OFF

Fields: OFF

Threshold: 200 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1145

Gas pocket: OFF

Fields: OFF

Threshold: 400 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1146

Gas pocket: OFF

Fields: OFF

Threshold: 600 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

Run 1147

Gas pocket: OFF

Fields: OFF

Threshold: 1000 ADCc below baseline

Trace length: 30us total, 5 us pre-trigger

Coincidence: 5 PDMs

Threshold extend:  5x16 = 80ns

TPC Pressure:  240 mbarg

SiPM HV: 65 V

Number of events: 50k

  1   11 Dec 2018 15:17 ThomasConfigurationSoftwareSetup elog for ds-proto-daq
1) Install and tweak elog:

[root@ds-proto-daq ~]# cat /etc/elogd.cfg 
[global]
port = 8084
MTP host = trmail.triumf.ca
Use Email Subject = {$logbook} $Subject
Remove on reply = Author
Quote on reply = 1
URL = https://ds-proto-daq/elog/

[DS Prototype]
Theme = default
Comment = ELOG for DS Prototype MIDAS DAQ
Attributes = Author, Type, Category, Subject
Options Type = Routine, Problem, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Digitizer, Trigger, MIDAS, Software, Other
Extendable Options = Category, Type
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Email all = lindner@triumf.ca

[root@ds-proto-daq ~]# systemctl start elogd.service
[root@ds-proto-daq ~]# systemctl is-active elogd.service
active
[root@ds-proto-daq ~]# systemctl enable elogd.service

2) Tweak apache and restart 

[root@ds-proto-daq ~]# grep elog /etc/httpd/conf.d/ssl-ds-proto-daq.conf 
ProxyPass /elog/ http://localhost:8084/ retry=1
[root@ds-proto-daq ~]# systemctl restart httpd

3) change MIDAS to use elog

[dsproto@ds-proto-daq bin]$ odbedit 
[local:dsproto:R]/>cd Elog/
[local:dsproto:R]/Elog>create STRING URL
String length [32]: 256
[local:dsproto:R]/Elog>set URL https://ds-proto-daq.triumf.ca/elog/DS+Prototype/
  2   11 Dec 2018 15:20 ThomasConfigurationSoftwareSetup elog for ds-proto-daq
1) Install and tweak elog:

[root@ds-proto-daq ~]# cat /etc/elogd.cfg 
[global]
port = 8084
MTP host = trmail.triumf.ca
Use Email Subject = {$logbook} $Subject
Remove on reply = Author
Quote on reply = 1
URL = https://ds-proto-daq/elog/

[DS Prototype]
Theme = default
Comment = ELOG for DS Prototype MIDAS DAQ
Attributes = Author, Type, Category, Subject
Options Type = Routine, Problem, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Digitizer, Trigger, MIDAS, Software, Other
Extendable Options = Category, Type
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Email all = lindner@triumf.ca

[root@ds-proto-daq ~]# systemctl start elogd.service
[root@ds-proto-daq ~]# systemctl is-active elogd.service
active
[root@ds-proto-daq ~]# systemctl enable elogd.service

2) Tweak apache and restart 

[root@ds-proto-daq ~]# grep elog /etc/httpd/conf.d/ssl-ds-proto-daq.conf 
ProxyPass /elog/ http://localhost:8084/ retry=1
[root@ds-proto-daq ~]# systemctl restart httpd

3) change MIDAS to use elog

[dsproto@ds-proto-daq bin]$ odbedit 
[local:dsproto:R]/>cd Elog/
[local:dsproto:R]/Elog>create STRING URL
String length [32]: 256
[local:dsproto:R]/Elog>set URL https://ds-proto-daq.triumf.ca/elog/DS+Prototype/
  18   06 Mar 2019 15:10 Thomas, PierreRoutineTriggerSetup of chronobox
Summary of setup of chronobox on network (mostly done by Pierre):

1) Hook up USB connection from chronobox to ds-proto-daq.  Start serial-USB connection by doing

/home/dsproto/online/dsproto_daq/serialusb

can login through serial link.  Added the ssh key for dsproto@ds-proto-daq to the authorized_keys file on
chronobox linux.

ctrl-a, ctrl-x to stop picocom

2) On ds-proto-daq, setup dhcpd server.  Configuration in this file

/etc/dhcp/dhcpd.conf

dhpcd is bond to the second NIC only.  Configure DHCP to give IP 192.168.1.3 to chronobox.  In /etc/hosts set
192.168.1.3 to have hostname chronobox

Power cycle chronobox; it successfully gets IP:

[dsproto@ds-proto-daq dsproto_daq]$ ping chronobox
PING chronobox (192.168.1.3) 56(84) bytes of data.
64 bytes from chronobox (192.168.1.3): icmp_seq=1 ttl=64 time=0.180 ms

3) Can see the chronobox webpage locally as

http://chronobox:8080

4) Some esper tool to access data:  did following to setup esper

  734  yum install python2-pip
  735  pip install esper-tool
  736  yum install ncurses
  738  yum install ncurses-devel
  739  pip install esper-tool

Can then connect to the chronobox by doing

esper-tool interactive http://chronobox:8080

This is as much as I understand at this point... more exploring now...

5) Pierre unplugged the SD card to take it back to Bryerton's room.  But I guess this was bad.

lots of errors on serialUSB link now and the webpage doesn't work anymore:

[ 1246.665269] blk_partition_remap: fail for partition 2
Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.904770] EXT4-fs error: 339 callbacks suppressed
[ 1246.679162] blk_partition_remap: fail for partition 2
Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.904780] EXT4-fs error (device mmcblk0p2):
ext4_find_entry:1437: inode #2: com[ 1246.692884] blk_partition_remap: fail for partition 2
m syslogd: reading directory lblock 0
[ 1246.709020] blk_partition_remap: fail for partition 2
Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.929199] blk_partition_remap: fail for partition 2
[ 1246.717394] blk_partition_remap: fail for partition 2
Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.942971] EXT4-fs error (device mmcblk0p2):
ext4_find_entry:1437: inode #2: com[ 1246.731255] blk_partition_remap: fail for partition 2
m syslogd: reading directory lblock 0
Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.953760] blk_partition_remap: fail for [ 1246.747337]
blk_partition_remap: fail for partition 2
partition 2
Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.967532] EXT4-fs error (device mmcblk0p2):
ext4_find_entry:1437: [ 1246.763481] blk_partition_remap: fail for partition 2
inode #2: comm syslogd: reading directory lblock 0
Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.978320] blk_partition_rem[ 1246.779511] blk_partition_remap:
fail for partition 2
ap: fail for partition 2
Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.992091] EXT4-fs error (device mmcblk0p2): ext4_find[
1246.795586] blk_partition_remap: fail for partition 2
_entry:1437: inode #2: comm syslogd: reading directory lblock 0
Jan  1 00:20:46 buildroot user.warn kernel: [ 1243.002885] blk_[ 1246.811671] blk_partition_remap: fail for
partition 2
partition_remap: fail for partition 2
Jan  1 00:20:46 buildroot user.crit kernel: [ 1243.016656] EXT4-fs error (device mmcblk0p[ 1246.827750]
blk_partition_remap: fail for partition 2
  19   06 Mar 2019 18:19 Bryerton ShawRoutineTriggerSetup of chronobox
The SDcard is currently required for operation of the device, the ext3/4 filesystem will immediately fail upon removal.


> Summary of setup of chronobox on network (mostly done by Pierre):
> 
> 1) Hook up USB connection from chronobox to ds-proto-daq.  Start serial-USB connection by doing
> 
> /home/dsproto/online/dsproto_daq/serialusb
> 
> can login through serial link.  Added the ssh key for dsproto@ds-proto-daq to the authorized_keys file on
> chronobox linux.
> 
> ctrl-a, ctrl-x to stop picocom
> 
> 2) On ds-proto-daq, setup dhcpd server.  Configuration in this file
> 
> /etc/dhcp/dhcpd.conf
> 
> dhpcd is bond to the second NIC only.  Configure DHCP to give IP 192.168.1.3 to chronobox.  In /etc/hosts set
> 192.168.1.3 to have hostname chronobox
> 
> Power cycle chronobox; it successfully gets IP:
> 
> [dsproto@ds-proto-daq dsproto_daq]$ ping chronobox
> PING chronobox (192.168.1.3) 56(84) bytes of data.
> 64 bytes from chronobox (192.168.1.3): icmp_seq=1 ttl=64 time=0.180 ms
> 
> 3) Can see the chronobox webpage locally as
> 
> http://chronobox:8080
> 
> 4) Some esper tool to access data:  did following to setup esper
> 
>   734  yum install python2-pip
>   735  pip install esper-tool
>   736  yum install ncurses
>   738  yum install ncurses-devel
>   739  pip install esper-tool
> 
> Can then connect to the chronobox by doing
> 
> esper-tool interactive http://chronobox:8080
> 
> This is as much as I understand at this point... more exploring now...
> 
> 5) Pierre unplugged the SD card to take it back to Bryerton's room.  But I guess this was bad.
> 
> lots of errors on serialUSB link now and the webpage doesn't work anymore:
> 
> [ 1246.665269] blk_partition_remap: fail for partition 2
> Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.904770] EXT4-fs error: 339 callbacks suppressed
> [ 1246.679162] blk_partition_remap: fail for partition 2
> Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.904780] EXT4-fs error (device mmcblk0p2):
> ext4_find_entry:1437: inode #2: com[ 1246.692884] blk_partition_remap: fail for partition 2
> m syslogd: reading directory lblock 0
> [ 1246.709020] blk_partition_remap: fail for partition 2
> Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.929199] blk_partition_remap: fail for partition 2
> [ 1246.717394] blk_partition_remap: fail for partition 2
> Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.942971] EXT4-fs error (device mmcblk0p2):
> ext4_find_entry:1437: inode #2: com[ 1246.731255] blk_partition_remap: fail for partition 2
> m syslogd: reading directory lblock 0
> Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.953760] blk_partition_remap: fail for [ 1246.747337]
> blk_partition_remap: fail for partition 2
> partition 2
> Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.967532] EXT4-fs error (device mmcblk0p2):
> ext4_find_entry:1437: [ 1246.763481] blk_partition_remap: fail for partition 2
> inode #2: comm syslogd: reading directory lblock 0
> Jan  1 00:20:46 buildroot user.warn kernel: [ 1242.978320] blk_partition_rem[ 1246.779511] blk_partition_remap:
> fail for partition 2
> ap: fail for partition 2
> Jan  1 00:20:46 buildroot user.crit kernel: [ 1242.992091] EXT4-fs error (device mmcblk0p2): ext4_find[
> 1246.795586] blk_partition_remap: fail for partition 2
> _entry:1437: inode #2: comm syslogd: reading directory lblock 0
> Jan  1 00:20:46 buildroot user.warn kernel: [ 1243.002885] blk_[ 1246.811671] blk_partition_remap: fail for
> partition 2
> partition_remap: fail for partition 2
> Jan  1 00:20:46 buildroot user.crit kernel: [ 1243.016656] EXT4-fs error (device mmcblk0p[ 1246.827750]
> blk_partition_remap: fail for partition 2
  15   05 Mar 2019 10:36 ThomasRoutineDigitizerSwitched to standard V1725 firmware
It turns out that the ZLE V1725 firmware we are using only supports reading out up to 4000 samples per channel.
 We need 80000 samples to readout 200us, which is requirement.

So we switch the V1725s to use the backup firmware on the board, which is the standard waveform firmware. 
Firmware version is 17200410.

Expected data size for event with 200us of data: 200000ns * 1/4 ns/sample * 16 ch * 4 boards * 2 bytes/sample =
 6.4MB per event

Measured max event rate of 60Hz with 385MB/s with 200us readout.

Needed to increase max event size, set buffer organization to 6 and set almost full to 32 in order to
accommodate the larger event size.

Changed some registers for different firmware:
- V1725_SELFTRIGGER_LOGIC

More tests needed
  24   28 Mar 2019 02:18 PierreConfigurationTriggerTest
  46   26 Oct 2019 07:33 Sam HillProblemSoftwareTest of IV Script

People:  Simone, Sam, Tom, Edgar

Tested IV curve python script that runs using MIDAS. Measured resistance consistant with resistor specification. elog:46/1

The resistance is attached to ch11, and we called the script (channels go from 0 to 24):
chnum=11 ; python3 iv_curve.py --no_steering --caen_chan $chnum --stop_v 3 --step_v 0.001 --filename ivcurve_`date +%s`_$chnum.txt 

 

Issues:

No readout of trip condiotion therefore python script overides power supply trip and attemps to bring back voltage to next value. Potentially dangerous. Script only terminates with the final voltage value. See attached plot elog:46/1

Script terminated with error message:

Traceback (most recent call last):
  File "iv_curve.py", line 287, in <module>
    iv.run()
  File "iv_curve.py", line 269, in run
    self.set_caen_and_wait_for_readback(voltage)
  File "iv_curve.py", line 223, in set_caen_and_wait_for_readback
    raise RuntimeError("CAEN HV didn't respond to request to set voltage to %s; latest readback voltage is %s" % (voltage, rdb))
RuntimeError: CAEN HV didn't respond to request to set voltage to 2.976; latest readback voltage is 0.052000001072883606

 

Attachment 1: IV_curve_29K.png
IV_curve_29K.png
  3   13 Dec 2018 11:02 ThomasRoutineHardwareTesting V1725 digitizers
Couple weeks of work documented in one elog...

V1725 serial numbers: 455, 392, 460, 462, 474

firmware: DPP-ZLE+

The 3818 kernel module not getting loaded on start-up... it is in /etc/rc.local, but not getting called

[root@ds-proto-daq ~]# grep 3818 /etc/rc.local 
# Load A3818 driver...
/sbin/insmod  /home/dsproto/packages/A3818Drv-1.6.0/src/a3818.ko

Called manually for now...

Reworked and cleaned up DEAP version of V1725 code
- Updated register map
- Removed smartQT code

Quick test: the V1725 seems to be getting busy at a maximum rate of 10kHz (with no samples being saved though).

Got preliminary documentation from CAEN for ZLE-plus firmware... posted here:

/home/dsproto/packages/CAEN_ZLE_Info

In particular, manual shows how the data structure is different for ZLE-plus data banks (as compared to V1720 ZLE data banks).

Fixed the /etc/rc.local setup so that the A3818 driver is loaded and mhttpd/mlogger is started on reboot.

Looking at V1725-ZLE register list.  I don't entirely understand how we are going to do the trigger outputs and the busy.  The manual makes it clear that the triggers from each pair of channels are combined together and send to the trigger logic.  So there should be 8 trigger primitives from the board.  The LVDS IO connector allows to configure groups of 4 outputs as being for either the trigger outputs or the busy/veto outputs.  So I guess I will configure the first two groups to output the trigger primitives and the third group to output the BUSY information.

Added code to do the ADC calibration; added extra equipment for reading out ADC temperatures periodically.

Renewed the lets-encrypt SSL certificate... but haven't set up automatic renewal yet...

[root@ds-proto-daq ~]# certbot renew --apache
[root@ds-proto-daq ~]# systemctl restart httpd

Analyzer program basically working.  Pushed to bitbucket:

https://bitbucket.org/ttriumfdaq/dsproto_analyzer/src
  11   07 Feb 2019 17:30 ThomasRoutineSoftwareTesting the maximum data throughput
First check the maximum trigger rate and maximum data rate for different sample lengths (for each channels):

sample length      Maximum rate   MB/s    CPU % (per thread)
16us               0.44kHz        231     20
6.4us              1.04kHz        214     20  
3.2us              1.95kHz        198     22   
1.6us              3.12kHz        160     26   
0.8us              4.88kHz        127     30   (what are these threads doing?)

Look at the code more.  See that there is a maximum size for the block transfer of 10kB.  Increase this to 130kB
(which is the maximum amount that this board can make per event).  Now find

sample length     Maximum rate       MB/s     CPU % (per thread)
16us              0.68kHz            346      7
6.4us             1.46kHz            300      10 
1.6us             3.6kHz             190      25

Good.  So for long samples we are actually slightly above the maximum transfer rate of 85MB/s*4 = 340MB/s

Tried writing out the data to disk at the maximum 345MB/s rate; the DAQ can't keep up.  Maximum rate was more
like 270MB/s.
I think the mlogger was actually fine.  But I think the write-to-disk speed of the harddrive could not keep up.
 So I think we are limited 
by hardware in that case.  We would need a large raid array to be able to write faster.
  7   21 Jan 2019 13:05 Thomas, PierreRoutineDigitizerTests of V1725 baseline and triggering
A little progress on a couple fronts:

1) We got the baseline DAC setting working correctly from both the CAEN command line tool and from the MIDAS
frontend.  Needed to add some extra sleep before the DAC settings were modified.

2) We figured out how to set the threshold for self-triggering on each channel. It is actually register 0x1n60
for this firmware.  The threshold is defined relative to the online calculated baseline. The threshold is
settable from the ODB.  However, the polarity of the triggering is currently hard-coded to be negative (bit 6 of
register 0x1n64).

3) We could confirm that the LVDS outputs from the V1725 appeared and disappeared as expected when the
self-trigger threshold was changed.

4) We added some basic documentation in Markdown here:

https://bitbucket.org/ttriumfdaq/dsproto_daq/src/master/
  23   27 Mar 2019 14:04 PierreConfigurationTriggerTime stamp sync
The ChronoBox latest FW is loaded. Let tme know if this is what the chronobox should look like in term of registers.

Are we monitoring the PLL Lock Loss  (odb: /DEAP Alarm ?)

Here is the dump of the 5 first sync triggers without any physics trigger behind.

1 0x830b577 0x17d7855 0x6b33d22 0x6b33d22 8.992791 
2 0x830b577 0x17d7855 0x6b33d22 0x6b33d22 8.992791 
3 0x830b577 0x17d7855 0x6b33d22 0x6b33d22 8.992791 
4 0x830b577 0x17d7855 0x6b33d22 0x6b33d22 8.992791 

1 0x830b581 0x2faf097 0x535c4ea 0x535c4ea 6.992792 
2 0x830b581 0x2faf097 0x535c4ea 0x535c4ea 6.992792 
3 0x830b581 0x2faf095 0x535c4ec 0x535c4ec 6.992792 
4 0x830b581 0x2faf095 0x535c4ec 0x535c4ec 6.992792 

1 0x830b587 0x47868d7 0x3b84cb0 0x3b84cb0 4.992792 
2 0x830b587 0x47868d7 0x3b84cb0 0x3b84cb0 4.992792 
3 0x830b587 0x47868d7 0x3b84cb0 0x3b84cb0 4.992792 
4 0x830b587 0x47868d7 0x3b84cb0 0x3b84cb0 4.992792 

1 0x830b5a1 0x5f5e119 0x23ad488 0x23ad488 2.992794 
2 0x830b5a1 0x5f5e119 0x23ad488 0x23ad488 2.992794 
3 0x830b5a1 0x5f5e117 0x23ad48a 0x23ad48a 2.992794 
4 0x830b5a1 0x5f5e117 0x23ad48a 0x23ad48a 2.992794 

1 0x830b5ab 0x7735959 0xbd5c52 0xbd5c52 0.992795 
2 0x830b5ab 0x7735959 0xbd5c52 0xbd5c52 0.992795 
3 0x830b5ab 0x7735959 0xbd5c52 0xbd5c52 0.992795 
4 0x830b5ab 0x7735959 0xbd5c52 0xbd5c52 0.992795 


With the physics triggers:
1 0x830b5c1 0x1834497f 0xeffc6c42 0x100393be 21.493591 
2 0x830b5c1 0x1834497f 0xeffc6c42 0x100393be 21.493591 
3 0x830b5c1 0x1834497f 0xeffc6c42 0x100393be 21.493591 
4 0x830b5c1 0x1834497f 0xeffc6c42 0x100393be 21.493591 
1 0x830b5d3 0x1834abb5 0xeffc0a1e 0x1003f5e2 21.495601 
2 0x830b5d3 0x1834abb5 0xeffc0a1e 0x1003f5e2 21.495601 
3 0x830b5d3 0x1834abb5 0xeffc0a1e 0x1003f5e2 21.495601 
4 0x830b5d3 0x1834abb5 0xeffc0a1e 0x1003f5e2 21.495601 
1 0x830b5dd 0x18350d7f 0xeffba85e 0x100457a2 21.497603 
2 0x830b5dd 0x18350d7f 0xeffba85e 0x100457a2 21.497603 
3 0x830b5dd 0x18350d7f 0xeffba85e 0x100457a2 21.497603 
4 0x830b5dd 0x18350d7f 0xeffba85e 0x100457a2 21.497603 
1 0x830b5e3 0x183585e7 0xeffb2ffc 0x1004d004 21.500068 
2 0x830b5e3 0x183585e7 0xeffb2ffc 0x1004d004 21.500068 
3 0x830b5e3 0x183585e7 0xeffb2ffc 0x1004d004 21.500068 
4 0x830b5e3 0x183585e7 0xeffb2ffc 0x1004d004 21.500068 
1 0x830b5ed 0x1a10bb9b 0xee1ffa52 0x11e005ae 23.991535 
2 0x830b5ed 0x1a10bb9b 0xee1ffa52 0x11e005ae 23.991535 
3 0x830b5ed 0x1a10bb9b 0xee1ffa52 0x11e005ae 23.991535 
4 0x830b5ed 0x1a10bb9b 0xee1ffa52 0x11e005ae 23.991535 
1 0x830b5fb 0x1a111f65 0xee1f9696 0x11e0696a 23.993578 
2 0x830b5fb 0x1a111f65 0xee1f9696 0x11e0696a 23.993578 
3 0x830b5fb 0x1a111f65 0xee1f9696 0x11e0696a 23.993578 
4 0x830b5fb 0x1a111f65 0xee1f9696 0x11e0696a 23.993578 
1 0x830b607 0x1a118115 0xee1f34f2 0x11e0cb0e 23.995577 
2 0x830b607 0x1a118115 0xee1f34f2 0x11e0cb0e 23.995577 
3 0x830b607 0x1a118115 0xee1f34f2 0x11e0cb0e 23.995577 
4 0x830b607 0x1a118115 0xee1f34f2 0x11e0cb0e 23.995577 
1 0x830b611 0x1a11e2c7 0xee1ed34a 0x11e12cb6 23.997577 
2 0x830b611 0x1a11e2c7 0xee1ed34a 0x11e12cb6 23.997577 
3 0x830b611 0x1a11e2c7 0xee1ed34a 0x11e12cb6 23.997577 
4 0x830b611 0x1a11e2c7 0xee1ed34a 0x11e12cb6 23.997577 


The ZMQ0 banks:
#banks:5 Bank list:-ZMQ0W200W201W202W203-
Bank:ZMQ0 Length: 40(I*1)/10(I*4)/10(Type) Type:Unsigned Integer*4
   1-> 0x000a5f1c 0x000000c4 0x00000001 0x0ebd5273 0x00000001 0x00010001 0xffffffff 0x00000000 
   9-> 0xffff0000 0x00000000 
------------------------ Event# 10 ------------------------
#banks:5 Bank list:-ZMQ0W200W201W202W203-
Bank:ZMQ0 Length: 40(I*1)/10(I*4)/10(Type) Type:Unsigned Integer*4
   1-> 0x000a5f1d 0x000000c5 0x00000001 0x0ebd5279 0x00000001 0x00010001 0xffffffff 0x00000000 
   9-> 0xffff0000 0x00000000 
[dsproto@ds-proto-daq dsproto_daq]$ 
ELOG V3.1.4-cb3afcd8