Wiki » History » Revision 31
Revision 30 (Mark Jones, 02/28/2020 04:01 PM) → Revision 31/47 (Simona Malace, 03/06/2020 11:51 AM)
h1. Wiki
h1. [[ESB DAQ]]
h1. Cerenkov folder
h1. [[Data replay]]
h1. [[Gas System]]
h1. [[Run List]]
[https://jeffersonlab-my.sharepoint.com/:f:/g/personal/jones_jlab_org/EsWpGHZPv6NJhRX3pkQMAakBZS25S1sDGxotQzKblVM3tA?e=5%3asbAMA1&at=9]
I think that most of the stuff below is outdated. (MKJones Feb 25, 2020).
h1. DAQ
h2. Starting CODA
DAQ is running on simonadaq computer in coda account in the vnc session number 1.
To open VNC, either start VNC from a computer at the counting house through ssh or make a ssh tunnel if you are offsite
Example :
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)
after from hallgw
ssh -Lportnumber:localhost:5901 cdaq@simonadaq
then open a vnc locally on your computer : vncviewer -shared localhost:1 ( ask Junqi or Sylvester for the vnc password )
To start CODA from scratch, login as coda
type startcoda
that will open the CODA windows
If the ROC is not started alread, ssh root@hallcsc-1 and type ./startroc1
in Run Control GUI, go to platform and connect.
Then choose the FADC configuration and just start a run.
To change the FADC parameters,
ssh to hallcsc-1 as root
go to /root/linuxvme/fadc/rol
and edit fadc_list.c
once done compile with :
make fadc_list.so
and redownload in CODA to take the changes into account
I saw from time to time error in FADC ROC window about scanmask, usually stopping the run and redownloading fixes the issue.
h2. Scalers
To start the scaler server :
go in scaler_server dirextory
launch
scaSrvrLinux
and after
h2. Powercycling the crate
telnet 129.57.168.242 2003
type CAEN
and a menu should appear
C.A.E.N. A8160 VME8100 Crate Controller V1.05
B O A R D M E N U
Crate PS & Fan Status
General General Status
Update PS Firmware Update
Quit Abandon program
Type C
and then you will see fan status and you can turn the crate on or off with O
h2. Channel Map (update on Mar 20th for new MPC)
VME address 0x7000000
|_.FADC 1 (slot 6) (1V max range) |_.detector|
| 0 | Cer 1L |
| 1 | Cer 2L |
| 2 | Cer 3L |
| 3 | Not used |
| 4 | Cer 4L |
| 5 | Cer 5L |
| 6 | Cer 6L |
| 7 | Not used |
| 8 | Cer 1R |
| 9 | Cer 2R |
| 10 | Cer 3R |
| 11 | Not used |
| 12 | Cer 4R |
| 13 | Cer 5R |
| 14 | Cer 6R |
| 15 | Not used |
VME address 0x7800000
|_.FADC 2 (slot 7) 2V max range |_.detector|
| 0 | Calo 2 |
| 1 | Calo 3 |
| 2 | Calo 4 |
| 3 | Calo 5 |
| 4 | Calo sum |
| 5 | Not used |
| 6 | Not used |
| 7 | LED |
| 8 | Not used |
| 9 | Not used |
| 10 | Not used |
| 11 | Reference time |
| 12 | Scint bottom right |
| 13 | Scint bottom left |
| 14 | Scint top right |
| 15 | Scint top Left |
h1. FADC data analysis
on cdaq account
go to /home/cdaq/tlgc/FADC_decode
and run FADCcom program
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/ )
if you open the rootfile you will see the different directories corresponding to the channels decoded.
h1. HV
h2. Access HV crate.
*The HV crate can be remotely accessed through the port server port 2002 to access the port: telnet 129.57.168.242 2002
*To end a telnet session type:"CTRL-]" then quit
*If someone else is connected to the 2002 if you get :
<pre>
Trying 129.57.168.242...
telnet: connect to address 129.57.168.242: Connection refused
</pre>
*To force a connect you must first kill the 2002 connection by the following steps:
> # telnet 129.57.168.242 ( login: root password:dbps)
> # at "#>" prompt type: kill tty=2
> # at "#>" prompt type: "CTRL-]" then quit
*press the "U" ( for update) if you see the following:
<pre>
16:40:40 104% telnet 129.57.168.242 2002
Trying 129.57.168.242...
Connected to 129.57.168.242.
Escape character is '^]'.
Digi International
PortServer 8
</pre>
*Press "D" if you see the main menu
<pre>
**************
M A I N M E N U
Display Display/Modify channels
Protections Set/Reset password
Crate Connect a new crate
Map Crate map
Kill Kill all channels
Alarms Reset alarms
Status Select type of alarm
Format Reformat EEPROM
Quit Abandon program
***********
</pre>
*You should eventually see (hitting "P" moves to different pages:
<pre>
Channel Vmon Imon HVmax V0set I0set Hv Status Ch#
CHANNEL48 0000.00 0000.00 2321 1700.00 2000.00 Off 48
CHANNEL49 0000.00 0000.00 2321 1700.00 2000.00 Off 49
CHANNEL50 0000.00 0000.00 2321 1850.00 2000.00 Off 50
CHANNEL51 0000.00 0000.00 2321 1700.00 2000.00 Off 51
CHANNEL52 0000.00 0000.00 2321 1900.00 2000.00 Off 52
CHANNEL53 0000.00 0000.00 2321 1900.00 2000.00 Off 53
cerA 0000.00 0000.00 2321 1000.00 2000.00 Off 54
cerB 0000.00 0000.00 2321 1000.00 2000.00 Off 55
cerC 0000.00 0000.00 2321 1000.00 2000.00 Off 56
cerD 0000.00 0000.00 2321 1000.00 2000.00 Off 57
CHANNEL58 0000.00 0000.00 2321 0000.00 2000.00 Off 58
CHANNEL59 0000.00 0000.00 2321 1000.00 2000.00 Off 59
calo2 1653.40 0880.00 2321 1650.00 2000.00 On 60
calo3 1653.60 0913.00 2321 1650.00 2000.00 On 61
calo4 1553.20 0849.00 2321 1550.00 2000.00 On 62
calo5 1453.20 0790.00 2321 1450.00 2000.00 On 63
or
Channel Vmon Imon HVmax V0set I0set Hv Status Ch#
chan16 0000.00 0000.00 1048 0200.00 1000.00 Off 16
scinF 0847.80 0213.00 1048 0850.00 1000.00 On 17
scinB 0847.40 0216.00 1048 0850.00 1000.00 On 18
CHANNEL19 0000.00 0000.00 1048 0200.00 1000.00 Off 19
CHANNEL20 0000.00 0000.00 1048 0200.00 1000.00 Off 20
CHANNEL21 0000.00 0000.00 1048 0200.00 1000.00 Off 21
CHANNEL22 0000.00 0000.00 1048 0200.00 1000.00 Off 22
CHANNEL23 0000.00 0000.00 1048 0200.00 1000.00 Off 23
CHANNEL24 0023.40 0000.00 1048 0200.00 0800.00 Off 24
CHANNEL25 0000.00 0000.00 1048 0200.00 0800.00 Off 25
CHANNEL26 0000.00 0000.00 1048 0200.00 0800.00 Off 26
CHANNEL27 0000.00 0000.00 1048 0200.00 0800.00 Off 27
CHANNEL28 0000.00 0000.00 1048 0200.00 0800.00 Off 28
CHANNEL29 0000.00 0000.00 1048 0200.00 0800.00 Off 29
CHANNEL30 0000.00 0000.00 1048 0200.00 0800.00 Off 30
CHANNEL31 0000.00 0000.00 1048 0200.00 0800.00 Off 31
</pre>