AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  EDI_PSA  ELOG logo
Message ID: 1     Entry time: Mon Jun 10 03:26:41 2019
Author: CB 
Subject: DAQ setup, start & stop instructions 
(Updated to 10/01/2020)

If recovering from a crash, turn off the VME crate and the workstation.

1. Turn ON the workstation, and wait for Linux to finish booting. 
Check internet connection to laplan works. If it does not work, open Firefox and log in using UoE credentials.

2. Open a terminal and execute
ping -i 60 8.8.8.8
to prevent the laplan connection from being disabled after a period of inactivity

3. Turn on VME crate. Check lights on CAEN modules are off

4. Start HTTPD service (green right arrow on top bar). Check it is able to find its configuration files, i.e.

Custom startup from /MIDAS/config/TclHttpd/c082002.laplan.net.ed.ac.uk/startup.tcl

works OK. 
If connection to laplan has been lost, the machine name on the network will change and HTTPD will give an error. 
To solve this, cd to /MIDAS/config/TclHttpdf and mv the directory called c0XXXXX.laplan.net.ed.ac.uk to
c0YYYYYY.laplan.net.ed.ac.uk where c0YYYYY is the current name of the workstation on the network
(The name of the workstation is written after npg@ in any terminal)

Check HTTPD ends with 
Completed custom startup from /MIDAS/TclHttpd/Html/CAEN/RunControl/stats.defn.tcl

For more information on messages, see 
http://npg.dl.ac.uk/MIDAS/MIDAS_Release/MIDASNewGen_CAEN_Installation_06Feb18.txt

5. Start EXEC service (blue right arrow on top bar, *not* the down arrow)

Check it ends with

CAEN Data Acquisition now all ready to start
SIGBUS, SIGSEGV and SIGPIPE traps setup

For more information on messages, see 
http://npg.dl.ac.uk/MIDAS/MIDAS_Release/MIDASNewGen_CAEN_Installation_06Feb18.txt

6. Open Firefox and browse to localhost:8015. The page should look like attach 1

7. Press ISOL experiment control, -> Hardware control -> VME Module configuration -> Restore
The page should look like attach 2. If Restore does not work, insert values as per attach 2
Press Activate configuration. You should receive a message saying Activation is successful, and the lights on
the CAEN modules should turn on.

Any other message indicates a communication issue with the CAEN modules. Close Firefox, terminate EXEC and
HTTPD, turn off the VME crate and restart from step 3
Failing that, turn off the workstation as well, and restart from step 1.
The CAEN communication tool in /MIDAS/CAEN/Test can help diagnose the problem. See

http://npg.dl.ac.uk/MIDAS/MIDAS_Release/MIDASNewGen_CAEN_Installation_06Feb18.txt

8. Open VME Save/Restore
Select Data Base Key 1725PosSigWorking and press Restore Settings. You should get a message confirming the restore
was OK.
Dismiss this tab

9. Close the VME Module configuration tab and open Experiment control -> Save/Restore Options
Press Restore options. The configuration should look like attach 3 & 4
Dismiss this tab

10. Select CAEN V1730PSD and press Restore Settings for all Modules. You should get a message confirming the
restore was OK. There are many settings here - some of the most important ones are shown in attach 6.
Select Module Register -> Acquisition Window and set it to 8192
Press Save Settings, Restore settings.

11. Open Experiment Control -> Data Acquisition and Run Control
Press Reset. Wait for the operation to finish.
Press Setup. Wait for the operation to finish.

HTTPD terminal should look like attach 5

Check events per buffer is > 1 AND V1730PSD buffer size used XXXX words out of max 18000, where XXXX < 18000.
Failing either, reduce Acquisition Window.

12. Tick Histogramming On in the Run Control tab. You can now press GO to start without saving to disk.
Check histograms are being generated is received in Histogram Browser and data is being received in Statistics.
Follow 13 on to save to disk.

13. Execute the Tape Server service (blue arrow pointing down in the top bar).
Checks typical output in http://npg.dl.ac.uk/MIDAS/MIDAS_Release/MIDASNewGen_CAEN_Installation_06Feb18.txt

14. Tick Data Transfer On and Data Storage Control Enabled in the Run Control tab.

15. Select Data Storage Control in the Run Control tab. Select a volume name. Data will be saved in
/TapeData/VolumeName
*Do not* use VolumeNames longer than 8 characters.
Press GO in Data Storage Control to open the file. Check the file has been created by ls -lh /TapeData/VolumeName
File size should be zero

16. Press GO in Run Control to start acquiring data. 
Check the data is being written to disk by ls -lh /TapeData/VolumeName - the run should be increasing in size.

17. Stop the DAQ by pressing STOP in TapeService (aka Data Storage Control), and then pressing STOP in Run Control.
The run number should automatically increase in Run Control  (File name R(N+1)). If it does not, increase it
manually in Data Storage Control.
MIDAS will not overwrite runs, and will warn if the run number already exists, but may append new data to an old
run if the run stop procedure is not performed properly.
Attachment 1: 1.png  220 kB  Uploaded Mon Jun 10 04:46:21 2019  | Hide | Hide all
1.png
Attachment 2: 2.png  182 kB  Uploaded Mon Jun 10 04:48:08 2019  | Hide | Hide all
2.png
Attachment 3: 3.png  328 kB  Uploaded Mon Jun 10 05:00:49 2019  | Hide | Hide all
3.png
Attachment 4: 4.png  390 kB  Uploaded Mon Jun 10 05:00:49 2019  | Hide | Hide all
4.png
Attachment 5: 5.png  192 kB  Uploaded Mon Jun 10 06:38:49 2019  | Hide | Hide all
5.png
Attachment 6: 6.png  111 kB  Uploaded Mon Jun 10 07:04:10 2019  | Hide | Hide all
6.png
Attachment 7: 7.png  142 kB  Uploaded Mon Jun 10 07:04:14 2019  | Hide | Hide all
7.png
ELOG V3.1.4-unknown