Project

General

Profile

Wiki » History » Version 25

Alexandre Camsonne, 03/24/2019 10:32 AM

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