AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  EDI_PSA, Page 2 of 2  ELOG logo
ID Date Author Subject
  10   Tue Jul 9 13:31:20 2019 CBTests with positive pulses
According to Carl U. the DPP-PSA software is not meant to be used with negative pulses, and some of the
functions that are currently not working may be recovered fixing this issue.

Changed Pulse Polarity in V1730PSD control panel Positive -> Negative 
No changes. Note trigger is currently supplied by external CFD
QLong histograms are still not counting

Set DC offset to 64000. The negative part of the pulse is cut off. Wave histogram shows nothing below zero.
Inversion doe snot appear to be working.


Changed BNC-4 Pulser polarity Negative -> Positive and changed polarity of time signal going to CFD. CFD
triggers OK.
No changes. QLong histograms not counting.

Enabled self-triggering on Ch0 and removed CFD input. DAQ no longer triggers. Put CFD back in.

Changed DC offset of Ch0 to 64010 to remove DC offset. Pulse now looks as attach 1.
Disconnected CFD output -> DAQ does not trigger. Reconnected CFD.
QLong histograms still not counting.

Attempted to change options in V1730PSD control panel one by one to see difference
Enabled Charge Pedestal -> No difference. Disabled
Changed Charge Sensitivity 5 fC -> 5.12 pC. No difference. Back to 5 fC
Changed Discrimination Mode CFD -> LED & removed CFD input. No triggers. Reverted

Changed Baseline Mean 16 -> 1024. Wave changes as per attach 1. QLong histogram starts counting at low channel.
See attach 2.
Changed DC offset 64010 -> 60000. Peak in QLong histogram moves to ~1050 channels. See attach 2.
Changed DC offset back to 64010.
Changed Baseline Mean 1024 -> 64. No changes in either wave shape or QLong peak position.
Changed Baseline Mean 64 -> 256. No changes as above.
Changed Baseline Mean 256->16. Wave is back as per attach 1, QLong no longer counting.
Attachment 1: 190709_PositivePulse.png
190709_PositivePulse.png
Attachment 2: 190709_BaselineMean.png
190709_BaselineMean.png
  9   Tue Jul 9 13:05:17 2019 CBJul 8
Found VME crate yesterday reporting AC power failure. Workstation unresponsive.

Power cycled everything and restarted -> all OK.

Long-term stability of the setup appears to be still poor.
  8   Fri Jun 28 18:01:09 2019 CBLong run to test DAQ stability
Left DAQ running with pulser signal to attempt to reproduce error leading loss of communication with VME crate.
Write to disk DISABLED.
  7   Wed Jun 26 17:04:07 2019 CBNew settings for internal CFD
Tried using settings attached to enable internal CFD.
Restored / DAQ Go. No waveforms.
MIDAS lost connection with the VME crate. Stopped DAQ. Workstation froze few seconds later.
Rebooted, restored settings CarlTest150519 - all OK
Attachment 1: 1725_PosSig_Working.txt
Ch15.RecLen string 62
Ch3.ZeroThreshold string 65535
Ch8.PreGate string 12
Ch0.CFD_Params string 0x00000119
Ch4.PreTrig string 25
Ch11.DynRnge string 0
Ch13.TrigValMask string 0x00000000
Ch14.Threshold string 50
Ch11.AlgorithmControl string 0x00100042
Ch6.Threshold string 50
Ch4.AlgorithmControl string 0x00100042
Ch10.BaseLine string 100
Ch15.DynRnge string 0
Ch8.PreTrig string 25
Ch14.ShortGate string 100
Ch6.ShortGate string 100
Ch13.BaseLineFreeze string 2
Ch3.DCOffset string 55123
Ch11.PreGate string 12
Ch2.RecLen string 62
Ch13.RecLen string 62
Ch15.PreGate string 12
Ch11.PreTrig string 25
Ch13.VetoWidth string 6
Ch13.TrigWidth string 6
Ch2.TrigHoldOff string 64
Ch5.VetoWidth string 6
Ch5.TrigWidth string 6
Ch15.PreTrig string 25
Ch0.BaseLineFreeze string 2
Ch13.AlgorithmControl string 0x00100042
Ch7.TrigValMask string 0x00000000
EvtsPerBuf string 16
Ch6.AlgorithmControl string 0x00100042
Ch9.EvtsPerBuf string 16
Ch5.BaseLine string 100
Ch9.LocalTrigger string 0x00000200
Ch12.DCOffset string 55123
Ch0.RecLen string 62
Ch1.CFD_Params string 0x00000119
Ch11.RecLen string 62
TrigSrcEnable string 0xc0000000
Ch9.PSDThreshold string 0
Ch4.LongGate string 200
Ch12.TrigValMask string 0x00000000
Ch15.ZeroThreshold string 65535
Ch7.BaseLineFreeze string 2
Ch8.Threshold string 50
Ch15.TrigHoldOff string 64
Enable string 0x0000ffff
Ch9.ZeroThreshold string 65535
Ch15.AlgorithmControl string 0x00100042
Ch8.AlgorithmControl string 0x00100042
Ch14.BaseLine string 100
Ch10.CFD_Params string 0x00000119
Ch8.ShortGate string 100
Ch0.PUR-GAPThreshold string 1000
Ch7.DCOffset string 55123
Ch13.LongGate string 200
Ch10.ZeroThreshold string 65535
Ch0.DCOffset string 55123
Ch1.Threshold string 50
Ch8.LocalTrigger string 0x00000200
Ch1.DynRnge string 0
Ch4.ZeroThreshold string 65535
Ch1.TrigHoldOff string 64
Ch2.CFD_Params string 0x00000119
Ch1.ShortGate string 100
Ch6.TrigValMask string 0x00000000
Ch15.VetoWidth string 6
Ch15.TrigWidth string 6
Ch8.PSDThreshold string 0
Ch5.DynRnge string 0
Ch7.VetoWidth string 6
Ch7.TrigWidth string 6
Ch0.EvtsPerBuf string 16
Ch9.DynRnge string 0
Ch9.TrigHoldOff string 64
Ch1.PreGate string 12
Ch2.PUR-GAPThreshold string 1000
Ch9.BaseLine string 100
Ch5.PreGate string 12
Ch2.BaseLine string 100
Ch0.VetoWidth string 6
Ch0.TrigWidth string 6
Ch1.PreTrig string 25
Ch3.BaseLineFreeze string 2
Ch11.TrigValMask string 0x00000000
Ch8.LongGate string 200
Ch9.PreGate string 12
Ch5.PreTrig string 25
Ch12.DynRnge string 0
Ch1.LongGate string 200
Ch11.CFD_Params string 0x00000119
Ch14.TrigHoldOff string 64
Ch9.PreTrig string 25
Ch7.LocalTrigger string 0x00000200
Ch11.PUR-GAPThreshold string 1000
Ch7.PSDThreshold string 0
Ch3.CFD_Params string 0x00000119
Ch12.PreGate string 12
Ch4.PUR-GAPThreshold string 1000
Ch11.BaseLine string 100
Ch11.Threshold string 50
Ch1.EvtsPerBuf string 16
Ch12.BaseLineFreeze string 2
Ch0.TrigHoldOff string 64
Ch3.Threshold string 50
Ch12.PreTrig string 25
Ch10.LongGate string 200
Ch4.DCOffset string 55123
Ch5.TrigValMask string 0x00000000
Ch11.ShortGate string 100
Ch3.ShortGate string 100
AcqControl string 0x00000000
Ch9.VetoWidth string 6
Ch9.TrigWidth string 6
Ch8.TrigHoldOff string 64
Ch9.RecLen string 62
Ch12.CFD_Params string 0x00000119
Ch13.PUR-GAPThreshold string 1000
Ch6.LocalTrigger string 0x00000200
Ch10.TrigValMask string 0x00000000
Ch11.ZeroThreshold string 65535
Ch10.VetoWidth string 6
Ch10.TrigWidth string 6
Ch6.PUR-GAPThreshold string 1000
Ch10.EvtsPerBuf string 16
Ch2.VetoWidth string 6
Ch2.TrigWidth string 6
Ch6.BaseLine string 100
Ch5.ZeroThreshold string 65535
Ch6.PSDThreshold string 0
Ch13.DCOffset string 55123
Ch13.TrigHoldOff string 64
Ch4.CFD_Params string 0x00000119
Ch5.LongGate string 200
Ch2.EvtsPerBuf string 16
Ch7.RecLen string 62
Ch1.AlgorithmControl string 0x00100042
Ch6.BaseLineFreeze string 2
Ch0.ZeroThreshold string 65535
Ch15.LocalTrigger string 0x00000200
Ch15.PUR-GAPThreshold string 1000
Ch13.Threshold string 50
Ch8.PUR-GAPThreshold string 1000
Ch4.TrigValMask string 0x00000000
Ch2.DynRnge string 0
Ch15.BaseLine string 100
Ch5.Threshold string 50
Ch15.PSDThreshold string 0
Ch13.CFD_Params string 0x00000119
Ch5.LocalTrigger string 0x00000200
Ch13.ShortGate string 100
Ch6.DynRnge string 0
Ch5.ShortGate string 100
Ch14.LongGate string 200
Ch8.DCOffset string 55123
Ch5.RecLen string 62
Ch7.TrigHoldOff string 64
Ch1.DCOffset string 55123
Ch11.EvtsPerBuf string 16
Ch5.PSDThreshold string 0
Ch10.AlgorithmControl string 0x00100042
Ch2.PreGate string 12
Ch15.BaseLineFreeze string 2
BLTEventNum string 1
Ch3.AlgorithmControl string 0x00100042
Ch5.CFD_Params string 0x00000119
Ch6.PreGate string 12
Ch2.PreTrig string 25
Ch12.VetoWidth string 6
Ch12.TrigWidth string 6
Ch3.EvtsPerBuf string 16
Ch4.VetoWidth string 6
Ch4.TrigWidth string 6
Ch12.TrigHoldOff string 64
Ch6.PreTrig string 25
Ch13.DynRnge string 0
Ch3.RecLen string 62
Ch14.LocalTrigger string 0x00000200
Ch3.BaseLine string 100
Ch2.BaseLineFreeze string 2
Ch14.RecLen string 62
Ch10.DCOffset string 55123
Ch14.PSDThreshold string 0
Ch9.LongGate string 200
Ch12.AlgorithmControl string 0x00100042
Ch4.LocalTrigger string 0x00000200
Ch2.LongGate string 200
Ch13.PreGate string 12
Ch14.CFD_Params string 0x00000119
Ch5.AlgorithmControl string 0x00100042
Ch3.TrigValMask string 0x00000000
Ch4.PSDThreshold string 0
Ch12.ZeroThreshold string 65535
Ch13.PreTrig string 25
Ch12.EvtsPerBuf string 16
Ch1.RecLen string 62
Ch15.Threshold string 50
Ch6.ZeroThreshold string 65535
Ch12.RecLen string 62
Ch7.Threshold string 50
Ch9.BaseLineFreeze string 2
FPIOControl string 0x00000101
Ch12.BaseLine string 100
Ch11.BaseLineFreeze string 2
Ch6.TrigHoldOff string 64
Ch6.CFD_Params string 0x00000119
Ch15.ShortGate string 100
RecLen string 0x0
Ch7.ShortGate string 100
Ch4.EvtsPerBuf string 16
Ch13.LocalTrigger string 0x00000200
Ch11.LongGate string 200
Ch5.DCOffset string 55123
Ch14.AlgorithmControl string 0x00100042
Ch0.Threshold string 50
Ch1.ZeroThreshold string 65535
Ch7.AlgorithmControl string 0x00100042
Ch13.PSDThreshold string 0
Ch0.ShortGate string 100
Ch10.RecLen string 62
Ch11.TrigHoldOff string 64
Ch3.LocalTrigger string 0x00000200
Ch14.TrigWidth string 6
Ch14.VetoWidth string 6
Ch6.TrigWidth string 6
Ch6.VetoWidth string 6
Config string 0x000f0115
Ch15.CFD_Params string 0x00000119
Ch3.PSDThreshold string 0
Ch7.BaseLine string 100
Ch13.EvtsPerBuf string 16
Ch0.BaseLine string 100
Ch14.DCOffset string 55123
Ch7.CFD_Params string 0x00000119
Ch2.TrigValMask string 0x00000000
Ch6.LongGate string 200
Ch5.BaseLineFreeze string 2
Ch9.AlgorithmControl string 0x00100042
Ch12.LocalTrigger string 0x00000200
Ch1.PUR-GAPThreshold string 1000
Ch3.DynRnge string 0
Ch5.EvtsPerBuf string 16
Ch5.TrigHoldOff string 64
Ch7.DynRnge string 0
Ch9.Threshold string 50
Ch12.PSDThreshold string 0
Ch2.LocalTrigger string 0x00000200
Ch9.ShortGate string 100
FPTrigOutEnable string 0x00000000
Ch3.PreGate string 12
Ch2.PSDThreshold string 0
Ch10.Threshold string 50
Ch15.LongGate string 200
Ch9.DCOffset string 55123
Ch7.PreGate string 12
Ch2.Threshold string 50
Ch10.DynRnge string 0
Ch3.PreTrig string 25
Ch2.DCOffset string 55123
Ch13.ZeroThreshold string 65535
Ch14.BaseLineFreeze string 2
Ch10.TrigHoldOff string 64
Ch10.PUR-GAPThreshold string 1000
Ch10.ShortGate string 100
Ch2.ShortGate string 100
Ch15.TrigValMask string 0x00000000
Ch14.EvtsPerBuf string 16
Ch7.ZeroThreshold string 65535
Ch7.PreTrig string 25
Ch3.PUR-GAPThreshold string 1000
Ch14.DynRnge string 0
Ch8.TrigWidth string 6
Ch8.VetoWidth string 6
Ch8.CFD_Params string 0x00000119
Ch10.PreGate string 12
Ch11.LocalTrigger string 0x00000200
Ch6.EvtsPerBuf string 16
Ch14.PreGate string 12
Ch1.BaseLineFreeze string 2
Ch11.PSDThreshold string 0
Ch10.PreTrig string 25
Ch1.TrigValMask string 0x00000000
Ch1.VetoWidth string 6
Ch1.TrigWidth string 6
Ch4.BaseLine string 100
Ch2.ZeroThreshold string 65535
Ch1.LocalTrigger string 0x00000200
Ch11.DCOffset string 55123
Ch14.PreTrig string 25
Ch3.LongGate string 200
Ch12.PUR-GAPThreshold string 1000
Ch4.TrigHoldOff string 64
Ch1.PSDThreshold string 0
Ch5.PUR-GAPThreshold string 1000
Ch9.TrigValMask string 0x00000000
Ch8.BaseLineFreeze string 2
Ch15.EvtsPerBuf string 16
... 47 more lines ...
  6   Wed Jun 26 14:19:36 2019 CBAnalysis of R2
Analysed first ~500 MB of R2_0 using sorting program

https://elog.ph.ed.ac.uk/EDI_PSA/2

and analysis program

https://elog.ph.ed.ac.uk/EDI_PSA/5

The energy histogram shows three relatively clear peaks, from the triple alpha source - see attached. 
This confirms the DAQ is working properly.
Attachment 1: 260619_R2Histo.png
260619_R2Histo.png
  5   Wed Jun 26 14:15:43 2019 CBWaves to histogram program
Wrote simple program to convert from waves to amplitude/energy histogram.
Program uses semi-gaussian filtering with RC=RC, simple pole zero correction and baseline restoration.

Compile with g++ WavesToHisto.cpp -o WavesToHisto.x
Usage: ./WavesToHisto.x Sorted_run_file > histogram.dat
Attachment 1: WavesToHisto.cpp
#include <iostream>
#include <fstream>
#include <string>
#include <vector>

#include <math.h> // exp

#define TOT_SAMPLES 8192
#define B_SAMPLES 400


#define GAIN 6.22575 //1/(POW(POLES,POLES)*EXP(-POLES)/POLES!)
#define T_C 100.0 			// Time constant (RC=CR)
#define PZ 500.0 			// Pole zero correction

void Filter(std::vector<double>* wave) // Semi-gaussian filter
{	
	
	//std::vector<double> old_wave = *wave;
	double b1,a0,a1,a0_1;
	b1=exp(-1./T_C);
	a0=(1.+b1)/2;
	a0_1=1.-b1;

	int i,j;
	
	// 1 differentiator (high-pass filter)
	double my_value, baseline;
	
	baseline= (*wave)[0];
	(*wave)[0]=0;
	for(i=1;i<wave->size();++i)
	{
		my_value=(*wave)[i]-baseline; // Baseline
		(*wave)[i]=b1*(*wave)[i-1] + a0*(my_value-(*wave)[i-1]) + (*wave)[i-1]/PZ;
	}
	
	//  6 integrators (low-pass filter)
 	for(j=0;j<6;++j)
	{
		for(i=1;i<wave->size();++i) 
		{
			my_value=b1*(*wave)[i-1]+a0_1*(*wave)[i];
			(*wave)[i]=my_value;
		}
	}
	
	//for(i=0;i<wave->size();++i) std::cout<<old_wave[i]-old_wave[0]<<" "<<(*wave)[i]<<std::endl;
};

unsigned int GetAmplitude(std::vector<double> wave)
{
	double minimum=wave[0];
	double baseline=0;
	int i;	
	
	for(i=0;i<B_SAMPLES && i<wave.size();++i) baseline+=wave[i];
	baseline*=1./B_SAMPLES;

	for(;i<wave.size();++i) if(wave[i]<minimum) minimum=wave[i];

	return baseline-minimum;

};

int main (int argc, char* argv[])
{
	std::fstream f_in;
	std::string str;
	if(argc<2)
	{
		std::cerr<<"USAGE: ./WavesToHisto input_file"<<std::endl;
		return 1;
	}
	str=argv[1];
	f_in.open(str.c_str(),std::fstream::in);
	if(!f_in)
	{
		std::cerr<<"No such file: "<<str<<std::endl;
	}

	// Header
	std::getline(f_in,str);
	while(str!="")
	{
		std::getline(f_in,str);
	}

	// Waveforms
	int read;
	int i=0;
	double baseline, minimum;

	int histo[500]={0};
	unsigned int channel;
	std::vector<double> wave;

	while(f_in)
	{
		i=0;
		baseline=0;
		f_in>>read;
		while( f_in && i<(TOT_SAMPLES-3) )
		{
			wave.push_back(read);
			f_in>>read;
			++i;
		}
		f_in>>read>>read;
		if(wave.size()>0)
		{		
			Filter(&wave);
			channel=GetAmplitude(wave);
			if(channel<500) histo[channel]++;
		}

		wave.clear();
				

		/*		
		minimum=read;	
		while(i<(TOT_SAMPLES-3))
		{
			//std::cout<<i<<" "<<read<<std::endl;
			if(i<B_SAMPLES) baseline+=read;
			else if (read<minimum) minimum=read;

			f_in>>read;
			i++;
		}
		f_in>>read>>read; // Waveform tail
		baseline*=1./B_SAMPLES;
		channel=baseline-minimum;
		if(channel<500) histo[channel]++;
		//std::cout<<baseline<<" "<<minimum<<" "<<baseline-minimum<<std::endl;
		*/
	}

	for(i=0;i<500;++i) std::cout<<i<<" "<<histo[i]<<std::endl;
	
	return 0;
}
  4   Tue Jun 25 11:51:00 2019 CBTest run 4
P9 3-alpha source
Hamamatsu Photodiode - bias = 15V
Cooknell preamplifier
Analogue triggering chain

2048 total samples
256 samples pre-trigger window

Start 11:50 am
Lost contact with VME modules at ~ 18:00 - no more data written to file

Attempted to stop DAQ - failed.
Had to power cycle VME crate to restore contact. 
  3   Mon Jun 10 06:17:51 2019 CB, RG, AK3-6 June - first DAQ tests
Tested performance of DAQ with following equipment

Hamamatsu photodiode (S3590-09)
    - Powered by Farnell power supply (E30/1). Bias 14V / leakage current < 10uA.
Cooknell preamplifier
    - Powered by Farnell power supply (L30BT) @ 24V.

Self-triggering of the CAEN modules is not yet working. Currently triggering using analogue electronic chain.

Preamp signal is split. One half is sent to Ortec 747 TFA ( coarse gain = 1x / fine gain = 2 / int = 50ns / diff =
500ns / non-inv input) -> Octal CFD CF8000 ( threshold ?? ) -> LeCroy 688AL level adapter (for NIM to TTL
conversion) -> CAEN v1730 external trigger IN
Other half is delayed by 250ns line and sent to CAEN V1730 channel 0

Data saved in DiodeTes/
R1 -> Forgot bias to the diode
R2 -> Bias on. Overnight run
R3 -> Bias on. Short run to commission analysis program
  2   Mon Jun 10 06:09:59 2019 CB, OHSorting program
Sort program written by Oscar, adapted from the RIKEN AIDA sort.
EDIT 26 Jun 2019 by CB - C++11 dependencies removed for SL6 compatibility
EDIT 28 Jun 2019 by CB - added histogram program mode

1. Untar/unzip
2. Compile with  g++ dataReaderMain.cpp -o dataReader
3. Usage       ./dataReader MODE pathToFile/File

where MODE is wave to output the waveforms, and histo to output a basic wave amplitude histogram with
semi-gaussian filtering applied on the waves
The output will be printed on standard output. 
Use ./dataReader MODE path/ToFile/File > pathToOutput/Output.dat
to save to file.

In wave mode the first few lines are the header. Waveforms are printed bin-by-bin with a newline after every
bin. A blank
line is placed between waveforms.
Attachment 1: dataReader.tar.gz
  1   Mon Jun 10 03:26:41 2019 CBDAQ 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
1.png
Attachment 2: 2.png
2.png
Attachment 3: 3.png
3.png
Attachment 4: 4.png
4.png
Attachment 5: 5.png
5.png
Attachment 6: 6.png
6.png
Attachment 7: 7.png
7.png
ELOG V3.1.4-unknown