Difference between revisions of "How to run BCAL DAQ"

From GlueXWiki
Jump to: navigation, search
(Taking cosmic data in the ESB and setting HV)
(Taking cosmic data in the ESB and setting HV)
Line 4: Line 4:
 
# source coda_bcal_setup in /home/halld/bcal_test
 
# source coda_bcal_setup in /home/halld/bcal_test
 
# type 'css' to bring up the slow controls HV gui
 
# type 'css' to bring up the slow controls HV gui
## If an error screen comes up try to the following:
+
#* If an error screen comes up try to the following:
##* ps -ef | grep BCAL (to get localhost id)
+
#*# ps -ef | grep BCAL (to get localhost id)
##* telnet localhost 20000 (or other from ps command)
+
#*# telnet localhost 20000 (or other from ps command)
##* ctl-x  (reboots server)
+
#*# ctl-x  (reboots server)
##* ctl-] (escapes to telnet prompt)
+
#*# ctl-] (escapes to telnet prompt)
 
# For cosmics in ESB use 'halld' account instead of 'halldrun' and use 'genl5' computer instead of 'clonusr2'. 'halldtrg3' is still used. Otherwise, follow instructions below
 
# For cosmics in ESB use 'halld' account instead of 'halldrun' and use 'genl5' computer instead of 'clonusr2'. 'halldtrg3' is still used. Otherwise, follow instructions below
  

Revision as of 07:35, 12 September 2012

Taking cosmic data in the ESB and setting HV

  1. ssh into genl5 (computer in ESB), even if you are already on the machine (to make sure css loads correctly)
  2. source coda_bcal_setup in /home/halld/bcal_test
  3. type 'css' to bring up the slow controls HV gui
    • If an error screen comes up try to the following:
      1. ps -ef | grep BCAL (to get localhost id)
      2. telnet localhost 20000 (or other from ps command)
      3. ctl-x (reboots server)
      4. ctl-] (escapes to telnet prompt)
  4. For cosmics in ESB use 'halld' account instead of 'halldrun' and use 'genl5' computer instead of 'clonusr2'. 'halldtrg3' is still used. Otherwise, follow instructions below

Instructions for 2012 Beam Test in Hall B

  1. Launch database daemon
    • login to clonusr2.jlab.org under halldrun
    • start msqld by typing 'msqld' ( be sure that only one msqld is running)
  2. Launch Afec-1.4 platform
    • login to clonusr2.jlab.org under halldrun
    • type 'platform'
  3. Start event builder
    • login to clonusr2.jlab.org under halldrun
    • coda_eb_rc3 -i -s simple -n EB3 -t CDEB
  4. Launch coda_roc on the Linux controller
    • login to halldtrg3.jlab.org under halldrun
    • coda_roc_rc3 -i -s simple -n TROC3 -t ROC
    • Note: If TDCs are empty, reboot crate: On clasrun@clon10 >roc_reboot halldtrg3
  5. Launch Run Control GUI
    • login to clonusr2.jlab.org under halldrun
    • type 'rcgui'
    Select 'Sessions -> simple'
    Select 'Configurations -> Cool -> bcal' (see top menu)
    Press buttons: Configure, Download, Prestart, Go (you start the run)

Store data on tape

  • To store data on tape just copy files on clonusr2 to
/w/stage/output/clas/test
To retrieve files, go to ifarms ( ssh ifarml64 ). You can see files using
ls /mss/clas/test/bcal*
  • To retrieve a file from the tape use
jget /mss/clas/test/file_name .