Project

General

Profile

Wiki » History » Version 28

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