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 1 of 7  Not logged in ELOG logo
Entry  14 Oct 2020 08:39, Tom Thorpe, Routine, General, Log regarding MB2 removal from Proto-0 forward_warm_1.pngiv_warm_1.pngiv_warm_2.png
Drive folder with data files and some pictures:  https://drive.google.com/drive/folders/1Sr27kQTOO2kciBY7v-wYBP06tWLVEjiP

Lab notes @ CERN

11/10/2020
Entry  08 Sep 2020 12:46, Ben Smith, Configuration, Other, New backup ELOG location 
I have added a backup of the CERN proto-0 ELOG at TRIUMF, in case ds-proto-daq is unavailable in future.

The backup ELOG is at https://ladd00.triumf.ca/elog-ds/. There are other logbooks hosted in the same place (requiring a username/password), but the CERN
Entry  16 Mar 2020 14:21, Ben Smith, Configuration, Software, New CAEN HV frontend 
A few months ago I created a new midas frontend for CAEN HV crates. It behaves more like what users expect - changes made through other interfaces (e.g.
ssh or the Java-based GUI) will be reflected in the ODB. The ODB structure is created dynamically based on which modules are present in the crate, and
the parameters that each module supports (e.g. whether you specify a ramp-up rate in V/s or a ramp-up time in s).
Entry  20 Nov 2019 04:47, Sam Hill, Routine, General, IV Curve - warming up 
Temp at start: 

A: 242.7K    B: 278.16K    C: 86.4K    D: 240.89K

Temp at End:
Entry  19 Nov 2019 04:07, Julie / Pascal, Routine, Other, IV curve at the end of data taking  
IV of 25 SiPM put in ivdata_191119 directory
Entry  19 Nov 2019 01:39, Julie / Pascal, Routine, General, Random Trigger runs suggested by Simone, S1 data / 3ms  
Run 1258  Physics run

Chronobox: External trigger Enable

Chronobox: Enable Channel [ch_enable]: 0x00000000
Entry  19 Nov 2019 00:57, Julie/ Pascal, Routine, General, Random Trigger runs suggested by Simone, S1 data / 1ms 
Run 1255  Physics run

Chronobox: External trigger Enable

Chronobox: Enable Channel [ch_enable]: 0x00000000
Entry  19 Nov 2019 00:14, Pascal/Julie, Routine, General, Laser run 
Run 1252 Laser run

Chronobox: External trigger Enable

Chronobox: Enable Channel [ch_enable]: 0x00000000
Entry  14 Nov 2019 08:14, Ben Smith, Routine, General, Automatic copying to darkside01 
I have set up automatic copying of data from ds-proto-daq to darkside01, using the lazy logger.

There are 2 lazy logger channels set up - one for lz4 files and one for gz files. It will take some time for all the files to copied over. Note that lazy
    Reply  18 Nov 2019 07:20, Ben Smith, Routine, General, Disk cleanup 
Lazy logger has caught up with the backlog, and continues to transfer new files to darkside01 as they are written.
EOS currently contains data for runs 822-1201.
Entry  18 Nov 2019 07:01, Julie / Edgar, Routine, General, Random Trigger runs suggested by Simone, S1 data 
PDM 15 and PDM 19 strange behaviour, lot of noise

Run 1239  Physics run

Chronobox: External trigger Enable
Entry  18 Nov 2019 03:03, Julie / Pascal / Edgar, Routine, General, Random Trigger runs suggested by Simone (4 runs ~ 200 k evts) 
Run 1234  Physics run

Chronobox: External trigger Enable

Chronobox: Enable Channel [ch_enable]: 0x00000000
Entry  18 Nov 2019 02:40, Pascal/Julie, Routine, General, Laser run 
Run 1232 Laser run

Chronobox: External trigger Enable

Chronobox: Enable Channel [ch_enable]: 0x00000000
Entry  18 Nov 2019 00:18, Yi / Edgar, Routine, General, dual phase data taking 
We still have the noise issue.

Run 1219

Gas pocket: ON (thinkness 9mm)
Entry  17 Nov 2019 02:23, Yi Wang, Routine, General, dual phase data taking 
Noise problem seems like fixed after remaking the Al foil cover.

Run 1208

Gas pocket: ON (thinkness 9mm)
Entry  17 Nov 2019 00:48, Yi Wang, Routine, General, dual phase data taking Screenshot_from_2019-11-17_11-02-26.png
Run 1197

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  16 Nov 2019 01:57, Yi Wang, Routine, General, Dual phase data taking proposed by Marco 
Run 1186

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  15 Nov 2019 10:48, E. Sanchez, Routine, General, S1 data taking proposed by Marco 
Run 1171

Gas pocket: OFF

Fields: 0 V/cm
Entry  15 Nov 2019 00:19, Yi Wang, Routine, General, Laser run 
Run 1166 Laser run

Chronobox: External trigger Enable

Chronobox: Enable Channel [ch_enable]: 0x00000000
Entry  14 Nov 2019 07:42, E. Sanchez, Routine, General, S1 data taking with field 
Run 1148

Gas pocket: OFF

Fields: 500 V/cm
Entry  14 Nov 2019 04:03, Yi/Edgar/Sam, Routine, General, Noise data taking 
Run 1121 

Gas pocket: OFF

Fields:  OFF
Entry  14 Nov 2019 03:51, E. Sanchez, Routine, General, S1 data taking without field 
Run 1133

Gas pocket: OFF

Fields: OFF
Entry  14 Nov 2019 00:33, E. Sanchez, Routine, General, Morning data taking 
It is not possible to access to the Chronobox page

Run 1109 Laser run

Chronobox: External trigger Enable
Entry  14 Nov 2019 00:09, Ben Smith, Problem, Hardware, Chronobox not serving human webpage 
The chronobox isn't serving the human-interactive webpage that should be visible at https://m-darkside.web.cern.ch/chronobox/ - it responds with "File not
found". Oddly, it is still responding to API calls at /read_var, /write_var etc.
Entry  13 Nov 2019 09:24, Xiang Xiao, Routine, General, Evening data taking 
Run 1105

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 3.78 kV/cm
Entry  13 Nov 2019 08:15, Ben Smith, Routine, Software, Don't worry about "Param Not Found Type" error messages 
When we start the HV program (CAEN_SY4527), it spews error messages of the form:
"16:58:30.035 2019/11/13 [CAEN_SY4527,ERROR] [dd_sy4527.cxx:280:fParam_get,ERROR] Param Not Found Type : 0"
Entry  13 Nov 2019 00:08, Yi Wang, Routine, General, Morning data taking 
Run 1099

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 3.78 kV/cm
Entry  12 Nov 2019 10:08, Edgar Sanchez, Routine, General, Laser run 
Run 1096 Laser run

Chronobox: External trigger Enable

Chronobox: Enable Channel [ch_enable]: 0x00000000
Entry  12 Nov 2019 09:30, Edgar Sanchez, Routine, General, Afternoon system monitoring  
Run 1092

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 3.78 kV/cm
Entry  12 Nov 2019 09:22, Edgar Sanchez, Routine, General, Afternoon system monitoring  
Run 1090

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 3.78 kV/cm
Entry  12 Nov 2019 00:24, Yi Wang, Routine, General, Morning data taking 
Run 1084

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 3.78 kV/cm
Entry  12 Nov 2019 00:16, Yi Wang, Problem, Digitizer, V1725 error, runs keep crashing 
09:15:33.955 2019/11/12 [feov1725MTI00,ERROR] [feoV1725.cxx:663:link_thread,ERROR] Exiting thread 3 with error
    Reply  12 Nov 2019 00:23, Ben Smith, Problem, Digitizer, V1725 error, runs keep crashing 
It looks like there's a memory leak in the high voltage driver, and we were running out of memory (using a lot of swap). That *may* be related to the recent
instability, but I'm not sure.
Entry  11 Nov 2019 23:57, Yi Wang, Problem Fixed, Trigger, ID 117 problem is fixed 
The problem reported in ID 117 is somehow fixed this morning.
Entry  11 Nov 2019 10:05, Sam Hill, Problem, General, Evening data taking 
Attemted the following run, and it started but the rate was shoing 0 and it got stuck on 5 events

Was unable to connect to Chronobox webpage even after turning VME crate off and on.

Abandoned run and will attempt to fix in the morning.
Entry  11 Nov 2019 09:31, Sam Hill, Routine, General, Afternoon system monitoring: IV curves and Dewar refill summaryPlot_191111.png
17:30

Took a set of IV curves using 0.5V steps from 30-50V and 0.05 steps above 50V.

Curves all look as expected, although reducing the step size makes the breakdown voltage harder to see on the plots.
Entry  11 Nov 2019 01:12, Yi / Edgar, Routine, General, Morning data taking 
Run 1065

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 3.78 kV/cm
Entry  11 Nov 2019 00:47, Yi / Edgar, Problem Fixed, Digitizer, Problem fixed by restarting the VME crate 
 
Entry  11 Nov 2019 00:37, Yi Wang, Problem, MIDAS, cannot connect to rootana 
The connection to rootana is lost.

No data taking can be started.
Entry  10 Nov 2019 12:15, E. Sanchez, Problem, MIDAS, Problem DAQ 
Error during data taking  1573416708 21:11:48.151 2019/11/10 [feov1725MTI00,INFO] V1725 PLL loss lock Board:0 (vmeAcq=0x0)

It stop saving event but run in process. Impossible to stop the run. I tried to reset feov1725MTl00. After that error: 

1573416857 21:14:17.792 2019/11/10 [feChronoEsper,INFO] Client 'feov1725MTI00' on database 'ODB' removed by db_cleanup called
Entry  10 Nov 2019 11:19, Edgar Sanchez, Routine, General, S1 + S2 short time window  
Run 1054

Gas pocket: ON (unknow)

Fields: drift 500 V/cm, extraction 3.78 kV/cm
Entry  10 Nov 2019 11:18, Edgar Sanchez, Routine, General, Afternoon system monitoring  
Run 1050

Gas pocket: ON (unknow)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  10 Nov 2019 08:40, Edgar Sanchez, Routine, General, S1 data taking without field 
Run 1041

Gas pocket: OFF

Fields: OFF
Entry  10 Nov 2019 08:04, Edgar Sanchez, Routine, General, S1 data taking with field 
Run 1032

Gas pocket: OFF

Fields: drift 500 V/cm, extraction 3.78 kV/cm
Entry  10 Nov 2019 00:06, Yi Wang, Routine, General, morning data taking 
Run 1022

Gas pocket: ON (thinkness 7mm)

Fields: drift 500 V/cm, extraction 3.78 kV/cm
Entry  09 Nov 2019 09:39, Sam Hill, Routine, General, Evening data taking 
Run 1016

Gas pocket: ON (thinkness 7mm)

Fields: Off
Entry  09 Nov 2019 07:29, Marco Rescigno, Problem Fixed, MIDAS, this morning problem 
frontend process still alive but slow, causing lot of rejected triggers.

stopped and restarted the feov1725 process to fix this
Entry  09 Nov 2019 00:13, Xiang Xiao, Routine, General, Morning data taking 
"ERROR INFO: 10:38:10.924 2019/11/09 [feov1725MTI00,ERROR] [feoV1725.cxx:1048:read_trigger_event,ERROR] Error: did not receive a ZMQ bank after
100.000000 ms. Stopping run."

Emailed to Ben.
Entry  08 Nov 2019 22:31, Marco , Configuration, Hardware, Adding darkside01 
Wrong MAC address fixed in CERN network setting, now the machine is visible from external network too:

From CERN network (even laptop) can connect by 

ssh -XY dsproto@ds-proto-daq2.cern.ch.  (same password as local account in ds-proto-daq)
Entry  08 Nov 2019 10:07, Edgar Sanchez, Routine, General, Monitoring Data Taking 
Run 995

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  08 Nov 2019 05:14, Ben Smith, Configuration, Hardware, Adding darkside01 to the network 
The analysis server from Roma (darkside01) is now connected to the local network. It is not yet connected to CERN.

There are 2 network ports on the rear of the machine:
    Reply  08 Nov 2019 09:09, Ben Smith, Configuration, Hardware, Adding darkside01 to the network 
The cable has been fixed. Socket 0001/007 is still not active.
Entry  08 Nov 2019 08:35, Ben Smith, Configuration, Hardware, Failed to talk to steering module from DAQ PC 
I have failed to communicate with the steering module arduino from the DAQ PC.

The steering module has the most bizarre communication protocol of any device I have used:
Entry  08 Nov 2019 02:48, Ben Smith, Configuration, MIDAS, Enabled dotfile naming in Logger 
I have changed `/Logger/Channels/0/Settings/Filename` to start with a dot, so files will be hidden until they are complete. 
The current value is `.run%05dsub%03d.mid`.
Entry  08 Nov 2019 02:31, Ben Smith, Routine, Software, New "run type" selection page 
I made a new page that makes it easier to switch between laser/noise/physics runs. 

It handles setting the most common chronobox trigger settings, and the V1725 self-trigger thresholds. 
Entry  08 Nov 2019 02:21, Ben Smith, Problem Fixed, Software, Increased max waveform length that we can take 
I've increased various thresholds so that we can now take 3000us (3ms) waveforms.

The changes are:
Entry  07 Nov 2019 23:48, Yi Wang, Routine, General, morning data taking 
Run 973

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 3.78 kV/cm
Entry  07 Nov 2019 02:34, Sam, Routine, General, Run 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
Entry  07 Nov 2019 02:16, Sam, Routine, General, Run 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
Entry  07 Nov 2019 02:07, Yi/Marco/Andrea, Routine, General, morning data taking, purity check 
Run 956

Gas pocket: ON (thickness 7mm)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  07 Nov 2019 02:07, Sam, Routine, General, Run 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
Entry  06 Nov 2019 11:22, Yi Wang, Routine, General, Evening data taking, purity check 
Not sure if the trigger threshold is correctly set, there is an error:

Traceback (most recent call last):
  File "/home/dsproto/online/dsproto_analyzer/threshold_tool.py", line 71, in <module>
    Reply  06 Nov 2019 12:28, Ben Smith, Problem Fixed, General, Evening data taking, purity check 
> Not sure if the trigger threshold is correctly set, there is an error:

Sorry, I made a change to the baseline calculation and forgot to update the threshold tool. It's updated now.
Entry  06 Nov 2019 05:58, Ben Smith, Configuration, Hardware, CAEN VME Crate DHCP 
The CAEN VME crate now gets its IP address from the ds-proto-daq DHCP server. To do this, I set the IP address of the crate to 0.0.0.0 (using the front
panel interface) then reset the crate (not just a power cycle - pressing the reset button is required).
Entry  05 Nov 2019 23:58, Yi Wang, Routine, General, Morning data taking, purity check 
Run 917

Gas pocket: ON (thinkness 7mm)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  05 Nov 2019 08:32, Alex / Sam, Routine, General, Run 900, Edrift 500V/cm 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar) [Edgar\Yi: correction: OFF (during recirculation
tpc pressure about 400 mbar)]

Fields: drift 500 V/cm, extraction 2.8 kV/cm (wire grid 3780 V, 1st ring 2780 V, cathode 7780 V) [Yi: 1st ring
Entry  05 Nov 2019 08:23, Alex / Sam, Routine, General, Run 899, Edrift 100V/cm 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar) [Edgar\Yi: correction: OFF (during
recirculation tpc pressure about 400 mbar)]

Fields: drift 100 V/cm, extraction 2.8 kV/cm (wire grid 3780 V, 1st ring 3580 V, cathode 3780 V) [Yi: 1st
Entry  05 Nov 2019 08:14, Alex / Sam, Routine, General, Run 898, Edrift 200V/cm 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar) [Edgar\Yi: correction: OFF (during
recirculation tpc pressure about 400 mbar)]

Fields: drift 200 V/cm, extraction 2.8 kV/cm (wire grid 3780 V, 1st ring 4180 V, cathode 6180 V) 
Entry  05 Nov 2019 07:26, Alex / Ben / Sam, Routine, General, Run 894, laser run with SiPMs at 67V, 30us trace 
Laser intensity: MAX

Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  05 Nov 2019 07:24, Alex / Ben / Sam, Routine, General, Run 892, laser run with SiPMs at 65V 
Laser intensity: MIN

Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  05 Nov 2019 07:23, Alex / Ben / Sam, Routine, General, Run 893, laser run with SiPMs at 65V, 30us trace 
Laser intensity: MAX

Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  05 Nov 2019 07:05, Alex / Ben / Sam, Routine, General, Run 891, laser run with SiPMs at 67V 
Laser intensity: MIN

Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  05 Nov 2019 06:56, Alex / Ben, Routine, General, Run 889, laser run with SiPMs at 67V 
Laser intensity: MAX

Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  05 Nov 2019 06:55, Alex / Ben, Routine, General, Run 888, laser run with SiPMs at 65V 
Laser intensity: MAX

Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm
Entry  05 Nov 2019 06:42, Alex / Ben, Routine, General, Run 886, baseline run with SiPMs at 50V 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm

Threshold: external clock, 50Hz
Entry  05 Nov 2019 06:36, Alex / Ben, Routine, General, Run 885, baseline run with SiPMs at 65V 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm

Threshold: external clock, 50Hz
Entry  05 Nov 2019 05:43, Ben Smith, Routine, Software, New script to equalize baselines 
I've written a new script that will set all the V1725 baselines to the same level, by adjusting the DAC values. All the baselines are currently set to 15500.

The script is documented in the "Adjusting V1725 baselines" section of https://bitbucket.org/ttriumfdaq/dsproto_daq/wiki/Midas%20Software%20Operation.
Entry  05 Nov 2019 05:09, Yi Wang, Routine, General, Run 877 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: drift 200 V/cm, extraction 2.8 kV/cm

Threshold: 1600 ADC below baseline
Entry  05 Nov 2019 04:57, Yi Wang, Routine, General, Run 875 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

Fields: OFF

Threshold: 1600 ADC below baseline
Entry  05 Nov 2019 04:48, Yi Wang, Routine, General, Run 873 
Gas pocket: ON (thinkness unknown, since the TPC pressure is >200 mbar)

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

Threshold: 1600 ADC below baseline
Entry  05 Nov 2019 01:22, Ben Smith, Configuration, Digitizer, V1725 board config 
The V1725s have been changed to have board config 0x50 rather than 0x10. This means that they will now trigger on the leading edge of the pulse rather than
the tailing edge. There is now much less jitter in the location of pulses in the digitized waveforms.
Entry  04 Nov 2019 09:02, Alex/Yi/Ben, Routine, General, run 865, fields on 
Gas pocket: ON

Fields: wire gate 3780 V, 1st ring: 4500 V, cathode: 7000 V

Threshold: 1000 ADCc below baseline
Entry  04 Nov 2019 08:03, Ben Smith, Routine, Software, New script for setting self-trigger thresholds 
I have created a new script that simplifies the adjustment of self-trigger thresholds (e.g. to change between "noise" runs with a low threshold and "normal"
runs with a higher threshold).
Entry  04 Nov 2019 08:00, Ben Smith, Configuration, MIDAS, Change of location of history files 
/home was getting very full on ds-proto-daq, so I moved the history files onto the /data disk. There is now a symlink from ~/online/history to /data/dsproto/history/.
Entry  04 Nov 2019 07:57, Ben Smith, Configuration, Software, Package installations 
This morning I installed the xrootd-client and python3-devel packages from yum. For the latter to work, I needed to do a yum update. This was long overdue,
and updated 1200+ packages.
Entry  04 Nov 2019 06:02, Alex Kish, Configuration, Hardware, Increased fields! 
Increased drift and extraction fields.

Current settings: wire gate 5100 V, 1st ring: 6100 V, cathode: 11100 V
Entry  03 Nov 2019 09:17, Alex Kish, Routine, General, run 836, zero drift field 
Gas pocket: ON

Fields: drift field OFF (1st ring 0 V, cathode 0 V), extraction field OFF (wire gate 0 V)

Threshold: 200 ADCc below baseline
Entry  03 Nov 2019 08:49, Alex Kish, Routine, General, run 835, zero drift field 
Gas pocket: ON

Fields: drift field OFF (1st ring 0 V, cathode 0 V), extraction field OFF (wire gate 0 V)

Threshold: 200 ADCc below baseline
Entry  03 Nov 2019 08:15, Alex Kish, Routine, General, run 834, drift field ON, extraction OFF 
Gas pocket: ON

Fields: drift field ON (1st ring 4180 V, cathode 6180 V), extraction field OFF (wire gate 0 V)

Threshold: 200 ADCc below baseline
Entry  03 Nov 2019 07:46, Alex Kish, Routine, General, run 833, with nominal fields 
Gas pocket: ON

Fields: ON (wire gate 3780 V, 1st ring 4180 V, cathode 6180 V)

Threshold: 200 ADCc below baseline
Entry  01 Nov 2019 10:56, Alex / Marco, Routine, General, run 829, with nominal fields 
Gas pocket: ON

Fields: ON

Threshold: 200 ADCc below baseline
Entry  01 Nov 2019 09:49, Alex Kish, Configuration, Hardware, Turn off the fields 
Ramp UP the fields, in 100V steps.

Nominal values:
Entry  01 Nov 2019 09:06, Alex Kish, Routine, General, run 826, zero-field with gas pocket 
Gas pocket: ON

Fields: OFF

Threshold: 400 ADCc below baseline
Entry  01 Nov 2019 06:50, Alex Kish, Configuration, Hardware, Turn off the fields 
Ramp down the fields, in 200V steps.
Nominal values:
1st ring: 4180 V
Entry  01 Nov 2019 06:15, Ben Smith, Problem Fixed, Software, Restoration of elog 
After booting, the elog was only showing logs from before July, and was missing the "For Shifters" category. It appears we were loading the incorrect config
file. The running command was:
Entry  01 Nov 2019 06:07, Ben Smith, Problem Fixed, Software, Restoration of network settings 
For a few days we were unable to access ds-proto-daq remotely. We were also unable to reach the outside world from ds-proto-daq.

To gain more control over the network settings, I have disabled the automatic configuration by dracut. I created the file /etc/dracut.conf.d/no-ifcfg.conf
Entry  28 Oct 2019 15:10, Simone Stracka, Configuration, Hardware, LV for steering module and current status of CAEN mainframe CAENmainframe.png
The HV board from Naples did not turn on: Yury gave it to the CAEN guys to check and/or bring back for replacement.

Yi and Luigi rented a new HV module (A1519). The HV module (A1520P) we used for tests of the I-V script is also present in the Mainframe (see
below).
Entry  28 Oct 2019 14:56, Simone Stracka, Problem, Software, Issues with network configuration for steering module 
We have tried to connect the steering module to the DAQ pc via Luigi's USB-Ethernet adapter. 

That does not appear to work. We'll receive another USB-Ethernet adapter tomorrow, and it should be configured to have a static IP address
: 192.168.121.1 and NetMask 255.255.255.0
Entry  27 Oct 2019 06:08, Simone Stracka, Configuration, Hardware, Converters installed in VME crate PDMadcCh.pngconverters.jpgadc0_ttl.jpg
People: Edgar, Simone

Installed differential to single-ended converters in VME crate, and turned crate back on. elog:47/2

Channel count in the converters is 0 to 15 starting from the low end. Wired according to:
    Reply  28 Oct 2019 14:10, Ben Smith, Problem Fixed, Software, Converters installed in VME crate 
> V1725 board #0 logic level is set to TTL (boards #1, #2, #3 to NIM) 

There was a problem with CMakeLists for the V1725 driver, and the frontend was only connecting to 1 board. This is now fixed, and all the boards should
Entry  28 Oct 2019 06:28, Simone Stracka, Problem, Software, Need python3 package tkinter on DAQ pc 
We need python3 package tkinter installed on ds-proto-daq in order to run the steering module GUI. 

I don't have root privileges.

 
    Reply  28 Oct 2019 08:33, Ben Smith, Problem Fixed, Software, Need python3 package tkinter on DAQ pc 
I have installed the python3-tkinter package from yum. I checked that "import tkinter" works from a python3 prompt.
Entry  26 Oct 2019 07:33, Sam Hill, Problem, Software, Test of IV Script IV_curve_29K.png
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):
Entry  25 Oct 2019 07:44, Simone Stracka, Routine, Hardware, MB2 activities on October 25 TileFEBMapping_MB2.pngiv_warm_1.pngiv_warm_1_zoom.pngIndividualTileAtLNGS.png
Crew: Edgar Sanchez Garcia, Sam Hill, Simone Stracka, Tom Thorpe, Yi Wang

Morning: Set up equipment for the IV curve measurements. We enable the interlock system in the SMU in order to go higher than 42 V (handle with care).
Entry  25 Oct 2019 07:17, Simone Stracka, Routine, Hardware, Photoelectronics activities on October, 24 
Crew: Edgar Sanchez Garcia, Sam Hill, Simone Stracka, Tom Thorpe, Yi Wang

Morning: Tested photocurrents for MB2 on tabletop using SMU and Keithley switching matrix.  All measured between 1-10 microAmps.

Afternoon: Tested PDU mounting procedure with TPC assembled and with the mockup.  No showstoppers. This will be the procedure for installation
Entry  16 Jul 2019 03:53, Marco Rescigno, Routine, General, run 774, scintillation events triggering on all 24 channels and 200 us window PileupEvent.png
Majority of 8, threshold at 1000 ADC count, 24 channels enabled (16 trigger signals)  10 Hz, 200 us window, trigger at 9.5 microseconds.

10 k events recorded.

By direct inspection pileup seems at the 10 % level in the 200 us window.
Entry  16 Jul 2019 03:51, Marco Rescigno, Routine, General, run 773, scintillation events triggering on all 24 channels 
Majority of 5, threshold at 1000 ADC count, 24 channels enabled (16 trigger signals)  100 Hz, 30 us window.

38 k events recorded.
Entry  16 Jul 2019 03:17, Marco Rescigno, Routine, General, run 772, scintillation events triggering on all channels 
Majority of 5, threshold at 1000 ADC count, 13 channels enabled (10 trigger signals)  50 Hz, 30 us window.

58 k events recorded.
Entry  16 Jul 2019 02:41, Marco Rescigno, Problem, Trigger, Busy handling 
This morning tried to get some data with Vbias=65 V, which seems better for the SiPM in MB1.

Busy handling still erratic.

At the beginning it seemed to work fine with busy_invert off and busy_enable on.
Entry  16 Jul 2019 02:39, Marco Rescigno, Routine, General, run 771, scintillation events triggering on ch11 and ch12 of board0 
Trigger setup with a threshold of 1500 ADC count wrt to baseline, on just two channels.

This is also to limit the trigger to 50 Hz, since the busy still did not work.

100 K events on disk.
Entry  16 Jul 2019 01:58, Marco Rescigno, Routine, General, Run 766 (Laser)  
Laser Run with Vbias=65 V , new recommended value from PE group

500 k events acquired
Entry  13 Jul 2019 14:50, Marco Rescigno, Routine, General, Long Laser run on disk 
Run 747 , 250 k events

as requested by alessandro 40% post trigger, acquisition window 16 us.

 
Entry  12 Jul 2019 11:34, Marco Rescigno, Routine, General, MB1 test in proto-0 setup/2 Run 718 RMS_run718.gifSPE.gifScintillation.gif
Run 718 has 25 channel readout Board 0 ch 0-15 and Board 0 ch 0-7. 

Laser triggered, some noise, maybe not so bad as is look here.

RMS of baseline is 200 ADC count. Single PE peak is about 100-200 ADC count from baseline.
Entry  12 Jul 2019 07:58, Marco Rescigno, Routine, General, MB1 test in proto-0 setup/day 2 Screenshot_from_2019-07-13_17-45-14.png
Implemented a simple charge integration on the midas display, most of the channels look almost as good as this one.

Nothing on the daq side changed, a part from the DAC value moved to 5000, allowing a slightly greater dynamic range.
Entry  12 Jul 2019 06:01, Marco Rescigno, Routine, General, Run 703 
Run 703 is being writte on disk.

16 channels of board 00. 

Laser trigger at 10 Hz
Entry  12 Jul 2019 02:05, Marco Rescigno, Problem, Trigger, MB1 test in proto-0 setup/1 
Tried to get laser sync signal into chronobox (clkin1 input), apparently all triggers dropped by chronobox

Problem is that the same now happen also with the regular setup where the clkin1 signal is taken by the dual timer.

 
Entry  12 Jul 2019 01:27, Marco Rescigno, Configuration, , MB1 test in proto-0 setup/1 
Changed custom size to 500 (20 us), tested ok run 681
Entry  11 Jul 2019 15:52, Thomas, Routine, Trigger, invert first chronobox busy signal 
The DAQ seems to be ready for tests with proto-0 tomorrow.  

I had to invert the first busy input in order to get chronobox to produce triggers.  I modified the setup script
Entry  02 Jul 2019 18:01, Thomas, Routine, Software, MIDAS running again 
Darkside people seem to be doing some tests at CERN next week.  It looks like they aren't going to use our DAQ (they will I think just use CAEN tools).
 But we took 
opportunity to make TRIUMF DAQ work again.  There was a couple issues
Entry  11 Apr 2019 08:20, Thomas, Routine, Trigger, Missing ZMQ banks 
I have done a couple longer tests of the DAQ setup.  The runs were done with a high trigger rate of ~60Hz, with
the V1725 asserting their busy to throttle the trigger.
Entry  10 Apr 2019 05:40, Thomas, Routine, General, General work - day 3 at CERN 
Several points:

1) Gave a series of tutorial on DAQ to DS people yesterday and today.  Got a bunch of feedback, which I will pass on when I'm back at TRIUMF.
Entry  08 Apr 2019 08:31, Thomas, Routine, General, General work - day 1 at CERN 
Notes on day:

1) Fixed the problem with the network interfaces.  Now the computer boots with the correct network configuration; outside world visible 
Entry  03 Apr 2019 15:31, Thomas, Routine, Software, test of elog 
The last elog didn't go out cleanly.  Modified the elogd.cfg to point to the proxy.  Try again.
Entry  03 Apr 2019 15:11, Thomas, Routine, Software, CERN SSO proxy for ds-proto-daq  
Pierre and I got the CERN proxy setup for the Darkside prototype.

Using your CERN single-sign-on identity, you should be able to login to this page
Entry  28 Mar 2019 02:18, Pierre, Configuration, Trigger, Test 
 
Entry  27 Mar 2019 14:04, Pierre, Configuration, Trigger, Time 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 ?)
Entry  27 Mar 2019 08:57, Pierre, Configuration, Hardware, CERN setup 
Found that the Trigger out from the CB is on output1
Trigger / Not used
Clock   / Not used
Entry  11 Mar 2019 12:30, Thomas, Routine, Trigger, New chronobox firmware; run start/stop implemented 
a) Bryerton implemented new version of the firmware.  New features:

1) run start/stop state
    Reply  11 Mar 2019 15:27, Thomas, Routine, Trigger, New chronobox firmware; run start/stop implemented 

> f) However, I found that the frontend program still consistently failed with this error when the trigger rate
> was above the maximum sustainable:
Entry  06 Mar 2019 15:10, Thomas, Pierre, Routine, Trigger, Setup 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
    Reply  06 Mar 2019 18:19, Bryerton Shaw, Routine, Trigger, Setup of chronobox 
The SDcard is currently required for operation of the device, the ext3/4 filesystem will immediately fail upon removal.

Entry  06 Mar 2019 14:16, Thomas, Routine, General, Retested the chronobox trigger logic 
I retested the chronobox trigger generation:

1) Inserting moderate sized pulse into channel 8 of V1725-0.
Entry  05 Mar 2019 14:20, Thomas, Routine, Hardware, Installed network card 
I installed a PCIe 1Gbps network card and configured it as a private network.  The PC (ds-proto-daq) is
192.168.1.1.  I guess we can make the chronobox 192.168.1.2.
Entry  05 Mar 2019 10:36, Thomas, Routine, Digitizer, Switched 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.
Entry  19 Feb 2019 16:26, Pierre-A., Configuration, General, Overall HW configuration ds-proto-architecture-02.pdf
For Reference,

I put a simple schematic for the Trigger/Run control.

Bryerton, please have a look. Let's try to issue 3..5 SW trigger before opening the HW trigger.
Entry  13 Feb 2019 16:45, Pierre, Problem, Hardware, A3818 from Marco 
Checking again Marco's A3818:
- Port #2 (third from top of card) is acting up.
- change the SFP makes no difference.
Entry  08 Feb 2019 12:08, Thomas, Problem, Hardware, Installed Marco's A3818; didn't work 
I installed Marco's A3818 PCIe card.  Didn't seem to work.  I got communication errors talking to link 2.  The
communication problems didn't happen right away, but happened once the run started.
Entry  07 Feb 2019 17:30, Thomas, Routine, Software, Testing 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)
Entry  06 Feb 2019 14:12, Pierre, Configuration, Hardware, Extended Trigger Time Tag (ETTT) 
Confirmed this ETTT configuration is working.

                     ETTT Enabled [22..21] = b10
Entry  31 Jan 2019 15:18, Pierre, Configuration, Trigger, Trigger rate 
Somehow the trigger rate was not matching the trigger source.
Find out that Link 3 was not collecting and possibly holding the fragment assembly in the main thread.
Swap Link3 <-> Link0 on the V1725, restarted.
Entry  28 Jan 2019 01:44, Thoms, Routine, Software, Added web display of V1725 waveforms 
I added javascript webdisplay of the V1725 waveforms to the Darkside setup.  You can see the waveform display here:

https://ds-proto-daq.triumf.ca/CS/webdisplay
Entry  21 Jan 2019 13:05, Thomas, Pierre, Routine, Digitizer, Tests 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
Entry  17 Jan 2019 15:47, Thomas, Routine, Hardware, Added raided HD to ds-proto-daq 
Added pair of 10TB hard-drives in raid-1 to ds-proto-daq.  MIDAS data files will get written to this raid volume.

[dsproto@ds-proto-daq tmp]$ df -h /data
Entry  11 Jan 2019 11:07, Thomas, Routine, Digitizer, Data corruption for ADC channels dsproto_corrupt.gif
I modified the analyzer so that it shows data from all four modules.

I find that there is evidence of corruption of the V1725 ADC data on a couple channels.   You can see an example of a waveform with corruption in the attachment.
Entry  09 Jan 2019 12:22, Thomas, Routine, General, V1725 LVDS outputs 
Pierre figured out that NIM crate not working.  We now see LVDS outputs from the individual channels firing. 
Each set of two different channels is ganged together into a single self-trigger output.  By setting the
register 0x1n84 to 3 we enable so that if either input channel fires then the self-trigger for that group fires.
Entry  13 Dec 2018 11:02, Thomas, Routine, Hardware, Testing V1725 digitizers 
Couple weeks of work documented in one elog...

V1725 serial numbers: 455, 392, 460, 462, 474
Entry  11 Dec 2018 15:20, Thomas, Configuration, Software, Setup elog for ds-proto-daq 

1) Install and tweak elog:
Entry  11 Dec 2018 15:17, Thomas, Configuration, Software, Setup elog for ds-proto-daq 

1) Install and tweak elog:
ELOG V3.1.4-cb3afcd8