Project

General

Profile

Wiki » History » Version 33

Simona Malace, 03/06/2020 02:35 PM

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