Quickstart instructions:

This code is an extension of the otsdaq project and requires it to function. To setup otsdaq use the instructions listed here for installing the core otsdaq packages. This must be done first! Once the otsdaq core dependencies are set up, the components package can be included.

If you are one of the project managers and plan on making modifications to the code, you can checkout the repository doing the following assuming you have valid kerberos credentials,

cd $MRB_SOURCE # this is the 'srcs' directory that will be set in the course of setting up OTS-DAQ
mrb gitCheckout -d otsdaq_components ssh://
mrb gitCheckout -d otsdaq_epics ssh://

Otherwise, you can just clone the directory using the http sever,

cd $MRB_SOURCE # this is the srcs directory that will be set in the course of setting up OTS-DAQ
mrb gitCheckout -d otsdaq_components
mrb gitCheckout -d otsdaq_epics

Alternatively, if you do not have mrb set up, you can check out the code using git directly,

#read-write access
git clone ssh:// otsdaq_components
git clone ssh:// otsdaq_epics

git clone otsdaq_components
git clone otsdaq_epics

If you don't checkout using ssh, you will not be able to push your changes to redmine.

Once the package is checked out or if you are starting a new session, source the environment,

source /path/to/products/area/setup # e.g. /data/ups/setup
export OTS_DIR=my/mrb/working/directory
source /path/to/products/area/setup # e.g. /data/ups/setup
cd ${OTS_DIR} # this is where localProducts_otsdaq_* and srcs resides
setup mrb
setup git
source local*/setup
source mrbSetEnv
export USER_DATA=${OTS_DIR}/srcs/otsdaq_template/Data  #otsdaq_template defaults to otsdaq_demo when otsdaq is installed
export ARTDAQ_DATABASE_URI=filesystemdb://${OTS_DIR}/srcs/otsdaq_template/databases/filesystemdb/test_db


Ideally, everything that is needed for a user to run OTSDAQ will be contained in the otsdaq_components directory and the code in otsdaq and otsdaq_utilities will not need to be touched. If there is a situation where you wish to modify part of the core code, it is advised to put in a request with one of the maintainers (Lorenzo, Ryan, or Eric).

Below is a summary of some of the parts that will need to be modified in order to set up communication with the experimental device.


The FEInterface class tells OTSDAQ how to communicate with front end electronics and is found in

. All of the methods defined in the interface source can be called from the OTSDAQ web interface...


Configuration files are kept in


Data management


Useful links

Wiki syntax Here

Instructions for setting up main version of OTSDAQ using MRB: Off-the-Shelf DAQ