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