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