To compile OTSDAQ code on a remote node
- setup cvmfs for FNAL repo
- yum install -y wxGTK3* libusbx* libusb*
- rsync otsdaq follder from FNAL to local directory /path_to_otsdaq/
- edit setup_ots.sh; change OTSDAQDIR and OTSDAQ_DATA ( to $PWD/data)
- edit localProducts_otsdaq_v2_02_00_e15_s65_prof/setup; change MRB_TOP and MRB_TOP
- source setup_ots.sh; mrb z;
- source mrbSetEnv
- kinit -f user@FNAL.GOV
- cd srcs/otsdaq_drs4ftbf/otsdaq-drs4ftbf; git pull
- mrb b -j16
To run StartOTS.sh
- edit otsdaq/srcs/otsdaq_drs4ftbf/userdata/XDAQConfigurations/otsConfigurationNoRU_CMake.xml
- set path to the local .so libraries in <xc:Module> lines
- set url to the local node <xc:Context id="0" url="http://my.testnode.edu:2000">
- cd /path_to_otsdaqi/otsdaq_sl6; StartOTS.sh; follow instructions
OTSDAQ operation
- StartOTS.sh
- Open state machine URL
- Run state machine
- Initialize -> Halted
- Halted -> Configure ( runs "Configure" of interfaces, initialize DRS board, read drsosc.config)
- Configure -> Running ( runs "Start" of interface, increment run number, reads run related info )
- Running --> | Stop | (runs "stop() of interface, ready to start new run"
- Running --> | Abort | (runs "halt() of interface, ready to configure"
- Two basic modes
- Run-Stop-Run-Stop .... Run-Stop - to take runs using the same DRS configuration
- Run - Abort - Configure - Run-Stop ... Run-Stop - to load new DRS configuration