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