Project

General

Profile

Wiki » History » Version 31

Simona Malace, 03/06/2020 11:51 AM

1 1 Alexandre Camsonne
h1. Wiki
2
3 27 Alexandre Camsonne
h1. [[ESB DAQ]]
4 26 Alexandre Camsonne
5 24 Alexandre Camsonne
h1. Cerenkov folder
6
7 30 Mark Jones
h1. [[Data replay]]
8
9 29 Mark Jones
h1. [[Gas System]]
10
11 31 Simona Malace
h1. [[Run List]]
12
13 24 Alexandre Camsonne
[https://jeffersonlab-my.sharepoint.com/:f:/g/personal/jones_jlab_org/EsWpGHZPv6NJhRX3pkQMAakBZS25S1sDGxotQzKblVM3tA?e=5%3asbAMA1&at=9]
14
15
16 28 Mark Jones
I think that most of the stuff below is outdated. (MKJones Feb 25, 2020).
17
18 1 Alexandre Camsonne
h1. DAQ
19
20 4 Alexandre Camsonne
21
h2. Starting CODA
22 1 Alexandre Camsonne
DAQ is running on simonadaq computer in coda account in the vnc session number 1.
23
24
To open VNC, either start VNC from a computer at the counting house through ssh or make a ssh tunnel if you are offsite
25
26
Example :
27
28 9 Alexandre Camsonne
   ssh -L5901:locahost:portnumber username@hallgw.jlab.org     ( use a port number not in used on hallgw and there are some limitation on the port range I think between 10000 and 30000 should be ok)
29 1 Alexandre Camsonne
30
after from hallgw
31
32 9 Alexandre Camsonne
   ssh -Lportnumber:localhost:5901 cdaq@simonadaq 
33 1 Alexandre Camsonne
34
then open a vnc locally on your computer : vncviewer -shared localhost:1 ( ask Junqi or Sylvester for the vnc password )
35
36
To start CODA from scratch, login as coda
37
38
type startcoda
39
40
that will open the CODA windows
41
42 3 Alexandre Camsonne
If the ROC is not started alread, ssh root@hallcsc-1 and type ./startroc1
43
44 2 Alexandre Camsonne
in Run Control GUI, go to platform and connect.
45 1 Alexandre Camsonne
46 2 Alexandre Camsonne
Then choose the FADC configuration and just start a run.
47 1 Alexandre Camsonne
48 2 Alexandre Camsonne
To change the FADC parameters,
49
50
ssh to hallcsc-1 as root
51
52
go to /root/linuxvme/fadc/rol
53
54
and edit fadc_list.c
55
56
once done compile with :
57
58
 make fadc_list.so
59
60
and redownload in CODA to take the changes into account
61 4 Alexandre Camsonne
62
63 7 Alexandre Camsonne
I saw from time to time error in FADC ROC window about scanmask, usually stopping the run and redownloading fixes the issue.
64
65 25 Alexandre Camsonne
h2. Scalers
66
67
To start the scaler server :
68
69
go in scaler_server dirextory
70
71
72
launch
73
 scaSrvrLinux
74
75
and after
76
77
78
79
80
81
82
83 7 Alexandre Camsonne
h2. Powercycling the crate 
84
85
 telnet  129.57.168.242 2003
86
87
 type CAEN
88
89
and a menu should appear
90
91
     C.A.E.N.  A8160 VME8100 Crate Controller    V1.05     
92
93
     B O A R D   M E N U 
94
95
     Crate           PS & Fan Status   
96
     General         General Status    
97
     Update          PS Firmware Update
98
99
100
     Quit            Abandon program
101
102
Type C
103
104
and then you will see fan status and you can turn the crate on or off with O
105
106 23 Alexandre Camsonne
h2. Channel Map (update on Mar 20th for new MPC)
107 3 Alexandre Camsonne
108 22 Alexandre Camsonne
VME address 0x7000000
109 3 Alexandre Camsonne
110 21 Mark Jones
|_.FADC 1 (slot 6) (1V max range) |_.detector|
111 23 Alexandre Camsonne
| 0    |   Cer 1L      |
112
| 1    |   Cer 2L       |
113
| 2    |   Cer 3L       |
114
| 3    |   Not used       |
115
| 4    |   Cer 4L      |
116
| 5    |   Cer 5L       |
117
| 6    |   Cer 6L       |
118
| 7    |   Not used       |
119
| 8    |   Cer 1R       |
120
| 9    |   Cer 2R       |
121
| 10   |   Cer 3R       |
122
| 11   |  Not used        |
123
| 12   |   Cer 4R       |
124
| 13   |   Cer 5R      |
125
| 14   |   Cer 6R       |
126
| 15   |   Not used       |
127 22 Alexandre Camsonne
128
129
VME address 0x7800000
130
131 1 Alexandre Camsonne
132 21 Mark Jones
|_.FADC 2 (slot 7) 2V max range |_.detector|
133 23 Alexandre Camsonne
| 0    |   Calo 2       |
134
| 1    |   Calo 3    |
135
| 2    |   Calo 4       |
136
| 3    |   Calo 5       |
137
| 4    |   Calo sum       |
138
| 5    |   Not used       |
139
| 6    |   Not used      |
140
| 7    |   LED       |
141
| 8    |   Not used       |
142
| 9    |   Not used       |
143
| 10    |  Not used       |
144
| 11    |  Reference time       |
145
| 12   |   Scint bottom right       |
146
| 13   |   Scint bottom left       |
147
| 14   |   Scint top right       |
148
| 15   |   Scint top Left      |
149 2 Alexandre Camsonne
150 1 Alexandre Camsonne
h1. FADC data analysis
151
152 2 Alexandre Camsonne
153 1 Alexandre Camsonne
on cdaq account
154
155 2 Alexandre Camsonne
go to /home/cdaq/tlgc/FADC_decode
156
157
and run FADCcom program
158
159
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/ )
160
161
162
if you open the rootfile you will see the different directories corresponding to the channels decoded.
163 6 Mark Jones
164
165
h1. HV
166
167
h2. Access HV crate.
168
*The HV crate can be remotely accessed through the port server port 2002 to access the port: telnet  129.57.168.242 2002
169
*To end a telnet session type:"CTRL-]" then quit
170
*If someone else is connected to the 2002 if you get :
171
<pre>
172
   Trying 129.57.168.242...
173
telnet: connect to address 129.57.168.242: Connection refused
174
</pre>
175
176
*To force a connect you must first kill the 2002 connection by the following steps:
177
> # telnet  129.57.168.242 ( login: root password:dbps)
178
> # at "#>" prompt type: kill tty=2
179
> #  at "#>" prompt type: "CTRL-]" then quit
180
   
181
*press the "U" ( for update) if  you see the following:
182
183
<pre>
184
16:40:40 104% telnet 129.57.168.242 2002
185
Trying 129.57.168.242...
186
Connected to 129.57.168.242.
187
Escape character is '^]'.
188
189
Digi International 
190
PortServer 8
191
</pre> 
192
193
 
194
*Press "D" if you see the main menu
195
<pre>
196
**************
197
      M A I N   M E N U
198
199
      Display             Display/Modify channels
200
      Protections         Set/Reset password
201
      Crate               Connect a new crate
202
      Map                 Crate map
203
      Kill                Kill all channels
204
      Alarms              Reset alarms
205
      Status              Select type of alarm
206
      Format              Reformat EEPROM
207
      Quit                Abandon program
208
***********
209
</pre>
210
211
*You should eventually see (hitting "P" moves to different pages:
212
<pre>
213
214
Channel       Vmon     Imon    HVmax   V0set     I0set     Hv   Status   Ch#
215
 CHANNEL48    0000.00  0000.00  2321   1700.00   2000.00   Off             48
216
 CHANNEL49    0000.00  0000.00  2321   1700.00   2000.00   Off             49
217
 CHANNEL50    0000.00  0000.00  2321   1850.00   2000.00   Off             50
218
 CHANNEL51    0000.00  0000.00  2321   1700.00   2000.00   Off             51
219
 CHANNEL52    0000.00  0000.00  2321   1900.00   2000.00   Off             52
220
 CHANNEL53    0000.00  0000.00  2321   1900.00   2000.00   Off             53
221
 cerA         0000.00  0000.00  2321   1000.00   2000.00   Off             54
222
 cerB         0000.00  0000.00  2321   1000.00   2000.00   Off             55
223
 cerC         0000.00  0000.00  2321   1000.00   2000.00   Off             56
224
 cerD         0000.00  0000.00  2321   1000.00   2000.00   Off             57
225
 CHANNEL58    0000.00  0000.00  2321   0000.00   2000.00   Off             58
226
 CHANNEL59    0000.00  0000.00  2321   1000.00   2000.00   Off             59
227
 calo2        1653.40  0880.00  2321   1650.00   2000.00    On             60
228
 calo3        1653.60  0913.00  2321   1650.00   2000.00    On             61
229
 calo4        1553.20  0849.00  2321   1550.00   2000.00    On             62
230
 calo5        1453.20  0790.00  2321   1450.00   2000.00    On             63
231
232
or
233
Channel       Vmon     Imon    HVmax   V0set     I0set     Hv   Status   Ch#
234
 chan16       0000.00  0000.00  1048   0200.00   1000.00   Off             16
235
 scinF        0847.80  0213.00  1048   0850.00   1000.00    On             17
236
 scinB        0847.40  0216.00  1048   0850.00   1000.00    On             18
237
 CHANNEL19    0000.00  0000.00  1048   0200.00   1000.00   Off             19
238
 CHANNEL20    0000.00  0000.00  1048   0200.00   1000.00   Off             20
239
 CHANNEL21    0000.00  0000.00  1048   0200.00   1000.00   Off             21
240
 CHANNEL22    0000.00  0000.00  1048   0200.00   1000.00   Off             22
241
 CHANNEL23    0000.00  0000.00  1048   0200.00   1000.00   Off             23
242
 CHANNEL24    0023.40  0000.00  1048   0200.00   0800.00   Off             24
243
 CHANNEL25    0000.00  0000.00  1048   0200.00   0800.00   Off             25
244
 CHANNEL26    0000.00  0000.00  1048   0200.00   0800.00   Off             26
245
 CHANNEL27    0000.00  0000.00  1048   0200.00   0800.00   Off             27
246
 CHANNEL28    0000.00  0000.00  1048   0200.00   0800.00   Off             28
247
 CHANNEL29    0000.00  0000.00  1048   0200.00   0800.00   Off             29
248
 CHANNEL30    0000.00  0000.00  1048   0200.00   0800.00   Off             30
249
 CHANNEL31    0000.00  0000.00  1048   0200.00   0800.00   Off             31
250
251
</pre>