Project

General

Profile

Wiki » History » Version 36

Simona Malace, 03/10/2020 05:42 PM

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