TrackerInstallDocs » History » Revision 11
Revision 10 (Hanlet, Pierrick, 10 March 2015 22:28) → Revision 11/15 (Hanlet, Pierrick, 11 March 2015 12:37)
h1. Tracker Install Documentation
Hopefully this page will serve as a tree, which details can be hung off.. I will try to keep this filled in with documentations..
h1. Computing (DAQ, Configuration, Calibration)
h2. Controls: miceiocpctk
* This computer runs the trackerioc, and has a fraction of "james legacy code". The configuration code is located in the mice epics repositories. At present there is only the epicsDev version present:
<pre>/home/epics/epicsDev/</pre>
* The central "deposit" for tracker information, code fragments, analysis scripts, configurations, etc.. is:
<pre>/home/epics/tracker</pre> This information is backed up to the MLCR backup system (see: [[online:MICENETBackups]]) and is shared with other tracker applications via nfs. If re-making the machine, restore this folder, and export, by adding the following to /etc/exports:
<pre>
/export *.micenet.rl.ac.uk(fsid=0)
/export/tracker miceacq16.micenet.rl.ac.uk(rw) miceacq17.micenet.rl.ac.uk(rw)
</pre>Also, set: <pre> mount --bind /export/tracker /home/epics/tracker </pre> Add the equivalent line to fstab. Then enable nfs with:
<pre>/etc/init.d/nfs start
chkconfig nfs on </pre>
h3. TrackerIOC:
h3. Legacy code (soon to be deprecated). These programs can be found in:
<pre>/home/epics/epicsDev/Software/bin/</pre>
To configure stuff:
# Launch the "AFEIItServerInterfaceUI", Load configuration file, Hit Initialise, then Play button.
# Launch the "AFEIItConfigurationUI", Load configuration file, Hit Initialise, then Configure All (this takes 10mins - things look like they crashed, they did not, have faith).
h2. TrDAQ: miceacq16, miceacq17
* The tracker "deposit" should be mounted in /home/daq/tracker.
* Scripts to run TrDAQ can be found in the scripts folder. Try to use these scripts, they put the data somewhere sane, with a sane name!
* The TrDAQ code can be found in TrackerDAQ_ctlrm (this is now under vc via bzr). This is the control room version, the github version has not been studied close enough to figure out what has happened in between.
h2. DateDAQ:
* Some info on how the VLSB boards work in DATE can be found: [[TrackerDATE]]
h2. Calibration
The code for calibration should live in the "deposit", in mice-tracker-calibrations.
h3. Installation:
For the tracker calibration code, you need the following:
* MySQL database.
* MySQL interface from python:
** <pre>cd /home/daq/Software/ExtApps
wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
unzip MySQL-python-1.2.5.zip
cd MySQL-python-1.2.5
python setup.py build
python setup.py install (AS ROOT).</pre>