Project

General

Profile

Wiki » History » Version 29

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