Modifying your code to port to the new frameworkPorting Existing Readout Software to Production ReadoutObtaining the production readout skeletonCopying the appropriate files from the working readout program

Copying the appropriate files from the working readout program

An old style working readout program will typically have:

In the example we are describing we will assume that the original skeleton.cpp has been modified and is now called gasN4_daq.cpp. We will also assume there is a configuration library named param.cpp with an associated header named param.h

First, what not to copy:

Copy all files that are experiment dependent. If some files have names that conflict with files in the production readout skeleton, be sure to rename these files as you copy them. In our example case, we need to copy:

This is done as follows:

cp oldaq/gasN4\_daq.cpp .
cp oldaq/param.h           .
cp oldaq/param.cpp        .

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

Modifying your code to port to the new frameworkPorting Existing Readout Software to Production ReadoutObtaining the production readout skeletonCopying the appropriate files from the working readout program