Project

General

Profile

Wiki » History » Version 2

Alexandre Camsonne, 03/07/2019 12:07 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 2 Alexandre Camsonne
in Run Control GUI, go to platform and connect.
26 1 Alexandre Camsonne
27 2 Alexandre Camsonne
Then choose the FADC configuration and just start a run.
28 1 Alexandre Camsonne
29 2 Alexandre Camsonne
To change the FADC parameters,
30
31
ssh to hallcsc-1 as root
32
33
go to /root/linuxvme/fadc/rol
34
35
and edit fadc_list.c
36
37
once done compile with :
38
39
 make fadc_list.so
40
41
and redownload in CODA to take the changes into account
42
43 1 Alexandre Camsonne
h1. FADC data analysis
44
45 2 Alexandre Camsonne
46 1 Alexandre Camsonne
on cdaq account
47
48 2 Alexandre Camsonne
go to /home/cdaq/tlgc/FADC_decode
49
50
and run FADCcom program
51
52
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/ )
53
54
55
if you open the rootfile you will see the different directories corresponding to the channels decoded.