We are using the RCE platform to preform readout of Pixel module(s).
These instructions are mostly pertaining to the setup at SLAC, but some things are more general.
Getting accounts, etc.
You need an account on lab1 machines, and access to the NPA area on AFS. Contact:
Mike Huffer <mehsys@slac.stanford.edu>, Amedeo Perazzo <perazzo@slac.stanford.edu>
...
To develop RCE code:
Code Block |
---|
ssh rdusr102 #machine in lab1 #ssh rddev102 #if you want to then go to a sometimes faster build machine source /afs/slac/g/npa/setup/npa_49.csh |
...
Working on STcontrol / PixLib / unixdaq
Under construction...
To compile/run:
Code Block |
---|
bash cp -r /reg/lab1/home/estrauss/release-1.0_edit . export ROOTSYS=/reg/lab1/home/estrauss/root/ export QTBIN=/reg/lab1/home/estrauss/qt-4.4.2/bin/ cd release-1.0_edit . setup_noTDAQ.sh make bin/STcontrol |
To include in NetBeans, look at release-1.0_edit/Makefile. Each directory needs to be added as a separate project.
Warning, if you try to just add the whole release-1.0_edit directory at once, NetBeans will just hang forever!
For instance, to add "STcontrol" do:
"File->New Project..."
"C/C++ Project From Existing Code"
"Existing Makefile:" "release-1.0_edit/Applications/Pixel/STcontrol/Makefile"
Change "Build Command:" to "qmake -makefile && make"
Change "Clean Command:" to "qmake -makefile && make clean"
Next, Next, Finish, then build the project.
Then repeat to add other directories/projects you're interested in, with their corresponding Makefiles and build/clean commands.