Difference between revisions of "Compton Counting DAQ Software HOWTO"

From Hall A Wiki
Jump to: navigation, search
(Machines in use)
Line 50: Line 50:
 
:* CODA and hardware drivers in <code>/home/coda/</code>
 
:* CODA and hardware drivers in <code>/home/coda/</code>
  
==== compton2 ====
 
 
* DAQ Computer (RunControl, Event Building)
 
* DAQ Computer (RunControl, Event Building)
  

Revision as of 12:04, 3 December 2019

CODA scripts

These scripts are located in compton@compton2:$HOME/bin/

Frontend scripts to use on compton@compton2

startCoda

  • executes each CODA component (platform, rcgui, PEB, all ROCs) in a separate xterm

restartStuff

  • kills and restarts the PEB and ROCs. The xterms are not killed with this script.

kcoda

  • kills all CODA components

Backend scripts, called by the frontend scripts

remote_vme

  • script that restarts an ssh connection if it is closed.

PEB_compton2

  • script that launches coda_emu_peb. restarts it when it is killed.

ROC_acomp1

  • script that uses remote_vme to launch SBS_startroc.sh on acomp1

ROC_hallcvtp

  • script that uses remote_vme to launch SBS_startroc.sh on hallcvtp

SBS_startroc.sh

  • script on acomp1, hallcvtp that launches coda_roc with a ROC name determined from it's hostname.

kill_remotes.sh

  • kills off ROC_acomp1, ROC_hallcvtp, and coda_roc on acomp1 and hallcvtp.

Useful stand-alone programs

tiLibTest

/home/coda/3.10/linuxvme/ti/test/tiLibTest <TI slot number>

  • Test triggering capabilities of the local TI.
- Puts the local TI in master mode (with no slaves).
- Accepts triggers either from Front Panel TSinputs or Internal Random Pulser

vme_display

/home/coda/3.10_i686/linuxvme/Linux-i686/bin/vme_display <VME Address> <read size in bytes>

  • Display the read value of specified size from the specified VME address.
- Run without arguments for usage

vme_modmem

/home/coda/3.10_i686/linuxvme/Linux-i686/bin/vme_modmem <VME Address> <read/write size in bytes>

  • Modify the value of specified size of the specified VME address.
- Run without arguments for usage


Machines in use

compton2

  • NFS server for coda and a-compton home directory.
  • CODA and hardware drivers in /home/coda/
  • DAQ Computer (RunControl, Event Building)

acomp1

  • VME Controller
  • 'root' login
  • Slots 3: fADC250
  • Slots 13-16: vetroc
  • Slot 21: TI

hallcvtp

  • VTP in Switch Slot B
  • 'root' login

Updated/Cloned New repos in /home/acompdaq/src/

github links (team:coda-user):

CODA environment setup script

Using BASH, source the environment setup script:

source ${HOME}/env/setupCODA

Stuff to finish

compton daq account

  • Update /etc/passwd on relevant OS's
  • Update id/gid permission settings on relevant directories.

Log CODA runs to logbook

remex

$CODA/Linux-i686/bin/remex <remexHost> <function call>

  • Execute a function call on the specified remote Host
- Run without arguments for usage