Project

General

Profile

Wiki » History » Revision 3

Revision 2 (Alexandre Camsonne, 03/07/2019 12:07 PM) → Revision 3/47 (Alexandre Camsonne, 03/07/2019 12:10 PM)

h1. Wiki 

 h1. DAQ 

 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:34567 username@hallgw.jlab.org       ( use a port number not in used on hallgw ) 

 after from hallgw 

    ssh -L34567: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. 

 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.