Project

General

Profile

Wiki » History » Version 3

Alexandre Camsonne, 03/07/2019 12:10 PM

1 1 Alexandre Camsonne
h1. Wiki
2
3
h1. DAQ
4
5
DAQ is running on simonadaq computer in coda account in the vnc session number 1.
6
7
To open VNC, either start VNC from a computer at the counting house through ssh or make a ssh tunnel if you are offsite
8
9
Example :
10
11
   ssh -L5901:locahost:34567 username@hallgw.jlab.org     ( use a port number not in used on hallgw )
12
13
after from hallgw
14
15
   ssh -L34567:localhost:5901 cdaq@simonadaq 
16
17
then open a vnc locally on your computer : vncviewer -shared localhost:1 ( ask Junqi or Sylvester for the vnc password )
18
19
To start CODA from scratch, login as coda
20
21
type startcoda
22
23
that will open the CODA windows
24
25 3 Alexandre Camsonne
If the ROC is not started alread, ssh root@hallcsc-1 and type ./startroc1
26
27 2 Alexandre Camsonne
in Run Control GUI, go to platform and connect.
28 1 Alexandre Camsonne
29 2 Alexandre Camsonne
Then choose the FADC configuration and just start a run.
30 1 Alexandre Camsonne
31 2 Alexandre Camsonne
To change the FADC parameters,
32
33
ssh to hallcsc-1 as root
34
35
go to /root/linuxvme/fadc/rol
36
37
and edit fadc_list.c
38
39
once done compile with :
40
41
 make fadc_list.so
42
43
and redownload in CODA to take the changes into account
44 3 Alexandre Camsonne
45
46
I saw from time to time error in FADC ROC window about scanmask, usually stopping the run and redownloading fixes the issue.
47 2 Alexandre Camsonne
48 1 Alexandre Camsonne
h1. FADC data analysis
49
50 2 Alexandre Camsonne
51 1 Alexandre Camsonne
on cdaq account
52
53 2 Alexandre Camsonne
go to /home/cdaq/tlgc/FADC_decode
54
55
and run FADCcom program
56
57
you need to copy the CODA file from simonadaq to /net/cdaq/cdaql1data/cdaq/tlgc/data ( from simonadaq : scp fadc_runnumber.dat cdaq@cdaql2:tlgc/data/ )
58
59
60
if you open the rootfile you will see the different directories corresponding to the channels decoded.