Project

General

Profile

Wiki » History » Version 24

Alexandre Camsonne, 03/23/2019 06:58 PM

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
h2. Powercycling the crate 
56
57
 telnet  129.57.168.242 2003
58
59
 type CAEN
60
61
and a menu should appear
62
63
     C.A.E.N.  A8160 VME8100 Crate Controller    V1.05     
64
65
     B O A R D   M E N U 
66
67
     Crate           PS & Fan Status   
68
     General         General Status    
69
     Update          PS Firmware Update
70
71
72
     Quit            Abandon program
73
74
Type C
75
76
and then you will see fan status and you can turn the crate on or off with O
77
78 23 Alexandre Camsonne
h2. Channel Map (update on Mar 20th for new MPC)
79 3 Alexandre Camsonne
80 22 Alexandre Camsonne
VME address 0x7000000
81 3 Alexandre Camsonne
82 21 Mark Jones
|_.FADC 1 (slot 6) (1V max range) |_.detector|
83 23 Alexandre Camsonne
| 0    |   Cer 1L      |
84
| 1    |   Cer 2L       |
85
| 2    |   Cer 3L       |
86
| 3    |   Not used       |
87
| 4    |   Cer 4L      |
88
| 5    |   Cer 5L       |
89
| 6    |   Cer 6L       |
90
| 7    |   Not used       |
91
| 8    |   Cer 1R       |
92
| 9    |   Cer 2R       |
93
| 10   |   Cer 3R       |
94
| 11   |  Not used        |
95
| 12   |   Cer 4R       |
96
| 13   |   Cer 5R      |
97
| 14   |   Cer 6R       |
98
| 15   |   Not used       |
99 22 Alexandre Camsonne
100
101
VME address 0x7800000
102
103 1 Alexandre Camsonne
104 21 Mark Jones
|_.FADC 2 (slot 7) 2V max range |_.detector|
105 23 Alexandre Camsonne
| 0    |   Calo 2       |
106
| 1    |   Calo 3    |
107
| 2    |   Calo 4       |
108
| 3    |   Calo 5       |
109
| 4    |   Calo sum       |
110
| 5    |   Not used       |
111
| 6    |   Not used      |
112
| 7    |   LED       |
113
| 8    |   Not used       |
114
| 9    |   Not used       |
115
| 10    |  Not used       |
116
| 11    |  Reference time       |
117
| 12   |   Scint bottom right       |
118
| 13   |   Scint bottom left       |
119
| 14   |   Scint top right       |
120
| 15   |   Scint top Left      |
121 2 Alexandre Camsonne
122 1 Alexandre Camsonne
h1. FADC data analysis
123
124 2 Alexandre Camsonne
125 1 Alexandre Camsonne
on cdaq account
126
127 2 Alexandre Camsonne
go to /home/cdaq/tlgc/FADC_decode
128
129
and run FADCcom program
130
131
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/ )
132
133
134
if you open the rootfile you will see the different directories corresponding to the channels decoded.
135 6 Mark Jones
136
137
h1. HV
138
139
h2. Access HV crate.
140
*The HV crate can be remotely accessed through the port server port 2002 to access the port: telnet  129.57.168.242 2002
141
*To end a telnet session type:"CTRL-]" then quit
142
*If someone else is connected to the 2002 if you get :
143
<pre>
144
   Trying 129.57.168.242...
145
telnet: connect to address 129.57.168.242: Connection refused
146
</pre>
147
148
*To force a connect you must first kill the 2002 connection by the following steps:
149
> # telnet  129.57.168.242 ( login: root password:dbps)
150
> # at "#>" prompt type: kill tty=2
151
> #  at "#>" prompt type: "CTRL-]" then quit
152
   
153
*press the "U" ( for update) if  you see the following:
154
155
<pre>
156
16:40:40 104% telnet 129.57.168.242 2002
157
Trying 129.57.168.242...
158
Connected to 129.57.168.242.
159
Escape character is '^]'.
160
161
Digi International 
162
PortServer 8
163
</pre> 
164
165
 
166
*Press "D" if you see the main menu
167
<pre>
168
**************
169
      M A I N   M E N U
170
171
      Display             Display/Modify channels
172
      Protections         Set/Reset password
173
      Crate               Connect a new crate
174
      Map                 Crate map
175
      Kill                Kill all channels
176
      Alarms              Reset alarms
177
      Status              Select type of alarm
178
      Format              Reformat EEPROM
179
      Quit                Abandon program
180
***********
181
</pre>
182
183
*You should eventually see (hitting "P" moves to different pages:
184
<pre>
185
186
Channel       Vmon     Imon    HVmax   V0set     I0set     Hv   Status   Ch#
187
 CHANNEL48    0000.00  0000.00  2321   1700.00   2000.00   Off             48
188
 CHANNEL49    0000.00  0000.00  2321   1700.00   2000.00   Off             49
189
 CHANNEL50    0000.00  0000.00  2321   1850.00   2000.00   Off             50
190
 CHANNEL51    0000.00  0000.00  2321   1700.00   2000.00   Off             51
191
 CHANNEL52    0000.00  0000.00  2321   1900.00   2000.00   Off             52
192
 CHANNEL53    0000.00  0000.00  2321   1900.00   2000.00   Off             53
193
 cerA         0000.00  0000.00  2321   1000.00   2000.00   Off             54
194
 cerB         0000.00  0000.00  2321   1000.00   2000.00   Off             55
195
 cerC         0000.00  0000.00  2321   1000.00   2000.00   Off             56
196
 cerD         0000.00  0000.00  2321   1000.00   2000.00   Off             57
197
 CHANNEL58    0000.00  0000.00  2321   0000.00   2000.00   Off             58
198
 CHANNEL59    0000.00  0000.00  2321   1000.00   2000.00   Off             59
199
 calo2        1653.40  0880.00  2321   1650.00   2000.00    On             60
200
 calo3        1653.60  0913.00  2321   1650.00   2000.00    On             61
201
 calo4        1553.20  0849.00  2321   1550.00   2000.00    On             62
202
 calo5        1453.20  0790.00  2321   1450.00   2000.00    On             63
203
204
or
205
Channel       Vmon     Imon    HVmax   V0set     I0set     Hv   Status   Ch#
206
 chan16       0000.00  0000.00  1048   0200.00   1000.00   Off             16
207
 scinF        0847.80  0213.00  1048   0850.00   1000.00    On             17
208
 scinB        0847.40  0216.00  1048   0850.00   1000.00    On             18
209
 CHANNEL19    0000.00  0000.00  1048   0200.00   1000.00   Off             19
210
 CHANNEL20    0000.00  0000.00  1048   0200.00   1000.00   Off             20
211
 CHANNEL21    0000.00  0000.00  1048   0200.00   1000.00   Off             21
212
 CHANNEL22    0000.00  0000.00  1048   0200.00   1000.00   Off             22
213
 CHANNEL23    0000.00  0000.00  1048   0200.00   1000.00   Off             23
214
 CHANNEL24    0023.40  0000.00  1048   0200.00   0800.00   Off             24
215
 CHANNEL25    0000.00  0000.00  1048   0200.00   0800.00   Off             25
216
 CHANNEL26    0000.00  0000.00  1048   0200.00   0800.00   Off             26
217
 CHANNEL27    0000.00  0000.00  1048   0200.00   0800.00   Off             27
218
 CHANNEL28    0000.00  0000.00  1048   0200.00   0800.00   Off             28
219
 CHANNEL29    0000.00  0000.00  1048   0200.00   0800.00   Off             29
220
 CHANNEL30    0000.00  0000.00  1048   0200.00   0800.00   Off             30
221
 CHANNEL31    0000.00  0000.00  1048   0200.00   0800.00   Off             31
222
223
</pre>