Project

General

Profile

Wiki » History » Version 35

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