Modifiying the Readout skeletonGetting StartedGetting StartedObtaining the Readout skeleton

Obtaining the Readout skeleton

The readout skeleton is an application framework. Application frameworks are harnesses that take care of all of the flow control of the application and leave you with the task of filling in application specific code only. In the case of Readout, we also provide a sample skeleton program that you can modifiy as required by your experimental application.

The first step in this modification process is to obtain a clean copy of the skeleton software. Unless there is a very good reason to do otherwise, you should always start with fresh skeleton software so that you are getting the latest, most debugged software.

To get a copy of the skeleton software:

    $<>$  mkdir MyReadout 
    $<>$  cd MyReadout 
    $<$MyReadout$>$   cp $DAQROOT/pReadoutSkeleton/* . 
   
   

These commands create a new directory MyReadout, and copy the following files into it:

Skeleton.cpp The source C++ file that you will need to modify to meet your readout requirements. (See Modifying the Readout Skeleton).
CTraditionalEventSegment.cpp The C++ source file that contains the traditional event segment implementation. You will need to build and link this file if you are using traditional event segments (see Incorporating "traditional" readout software for more information about traditional readout segments).
CTraditionalScalerReadout.cpp The C++ source file that contains the traditional scaler readout implementation. You will need to build and link this file if you are using traditional scaler readout (see Traditional scaler readout for more information about traditional scaler readout).
Makefile An input file to the make utility that you may need to modify if you want make to compile additional C++ source modules and build them into your Readout program. Compiling your readout software

Report documentation errors to Ron Fox (fox@nscl.msu.edu)or NSCL's Bugzilla page

Modifiying the Readout skeletonGetting StartedGetting StartedObtaining the Readout skeleton