Wiki » History » Version 6
Mark Jones, 03/07/2019 12:33 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 | 5 | Alexandre Camsonne | ssh -L5901:locahost:24567 username@hallgw.jlab.org ( use a port number not in used on hallgw ) |
14 | 1 | Alexandre Camsonne | |
15 | after from hallgw |
||
16 | |||
17 | 5 | Alexandre Camsonne | ssh -L24567:localhost:5901 cdaq@simonadaq |
18 | 1 | Alexandre Camsonne | |
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. |
||
67 | 6 | Mark Jones | |
68 | |||
69 | h1. HV |
||
70 | |||
71 | h2. Access HV crate. |
||
72 | *The HV crate can be remotely accessed through the port server port 2002 to access the port: telnet 129.57.168.242 2002 |
||
73 | *To end a telnet session type:"CTRL-]" then quit |
||
74 | *If someone else is connected to the 2002 if you get : |
||
75 | <pre> |
||
76 | Trying 129.57.168.242... |
||
77 | telnet: connect to address 129.57.168.242: Connection refused |
||
78 | </pre> |
||
79 | |||
80 | *To force a connect you must first kill the 2002 connection by the following steps: |
||
81 | > # telnet 129.57.168.242 ( login: root password:dbps) |
||
82 | > # at "#>" prompt type: kill tty=2 |
||
83 | > # at "#>" prompt type: "CTRL-]" then quit |
||
84 | |||
85 | *press the "U" ( for update) if you see the following: |
||
86 | |||
87 | <pre> |
||
88 | 16:40:40 104% telnet 129.57.168.242 2002 |
||
89 | Trying 129.57.168.242... |
||
90 | Connected to 129.57.168.242. |
||
91 | Escape character is '^]'. |
||
92 | |||
93 | Digi International |
||
94 | PortServer 8 |
||
95 | </pre> |
||
96 | |||
97 | |||
98 | *Press "D" if you see the main menu |
||
99 | <pre> |
||
100 | ************** |
||
101 | M A I N M E N U |
||
102 | |||
103 | Display Display/Modify channels |
||
104 | Protections Set/Reset password |
||
105 | Crate Connect a new crate |
||
106 | Map Crate map |
||
107 | Kill Kill all channels |
||
108 | Alarms Reset alarms |
||
109 | Status Select type of alarm |
||
110 | Format Reformat EEPROM |
||
111 | Quit Abandon program |
||
112 | *********** |
||
113 | </pre> |
||
114 | |||
115 | *You should eventually see (hitting "P" moves to different pages: |
||
116 | <pre> |
||
117 | |||
118 | Channel Vmon Imon HVmax V0set I0set Hv Status Ch# |
||
119 | CHANNEL48 0000.00 0000.00 2321 1700.00 2000.00 Off 48 |
||
120 | CHANNEL49 0000.00 0000.00 2321 1700.00 2000.00 Off 49 |
||
121 | CHANNEL50 0000.00 0000.00 2321 1850.00 2000.00 Off 50 |
||
122 | CHANNEL51 0000.00 0000.00 2321 1700.00 2000.00 Off 51 |
||
123 | CHANNEL52 0000.00 0000.00 2321 1900.00 2000.00 Off 52 |
||
124 | CHANNEL53 0000.00 0000.00 2321 1900.00 2000.00 Off 53 |
||
125 | cerA 0000.00 0000.00 2321 1000.00 2000.00 Off 54 |
||
126 | cerB 0000.00 0000.00 2321 1000.00 2000.00 Off 55 |
||
127 | cerC 0000.00 0000.00 2321 1000.00 2000.00 Off 56 |
||
128 | cerD 0000.00 0000.00 2321 1000.00 2000.00 Off 57 |
||
129 | CHANNEL58 0000.00 0000.00 2321 0000.00 2000.00 Off 58 |
||
130 | CHANNEL59 0000.00 0000.00 2321 1000.00 2000.00 Off 59 |
||
131 | calo2 1653.40 0880.00 2321 1650.00 2000.00 On 60 |
||
132 | calo3 1653.60 0913.00 2321 1650.00 2000.00 On 61 |
||
133 | calo4 1553.20 0849.00 2321 1550.00 2000.00 On 62 |
||
134 | calo5 1453.20 0790.00 2321 1450.00 2000.00 On 63 |
||
135 | |||
136 | or |
||
137 | Channel Vmon Imon HVmax V0set I0set Hv Status Ch# |
||
138 | chan16 0000.00 0000.00 1048 0200.00 1000.00 Off 16 |
||
139 | scinF 0847.80 0213.00 1048 0850.00 1000.00 On 17 |
||
140 | scinB 0847.40 0216.00 1048 0850.00 1000.00 On 18 |
||
141 | CHANNEL19 0000.00 0000.00 1048 0200.00 1000.00 Off 19 |
||
142 | CHANNEL20 0000.00 0000.00 1048 0200.00 1000.00 Off 20 |
||
143 | CHANNEL21 0000.00 0000.00 1048 0200.00 1000.00 Off 21 |
||
144 | CHANNEL22 0000.00 0000.00 1048 0200.00 1000.00 Off 22 |
||
145 | CHANNEL23 0000.00 0000.00 1048 0200.00 1000.00 Off 23 |
||
146 | CHANNEL24 0023.40 0000.00 1048 0200.00 0800.00 Off 24 |
||
147 | CHANNEL25 0000.00 0000.00 1048 0200.00 0800.00 Off 25 |
||
148 | CHANNEL26 0000.00 0000.00 1048 0200.00 0800.00 Off 26 |
||
149 | CHANNEL27 0000.00 0000.00 1048 0200.00 0800.00 Off 27 |
||
150 | CHANNEL28 0000.00 0000.00 1048 0200.00 0800.00 Off 28 |
||
151 | CHANNEL29 0000.00 0000.00 1048 0200.00 0800.00 Off 29 |
||
152 | CHANNEL30 0000.00 0000.00 1048 0200.00 0800.00 Off 30 |
||
153 | CHANNEL31 0000.00 0000.00 1048 0200.00 0800.00 Off 31 |
||
154 | |||
155 | </pre> |