Project

General

Profile

TrackerInstallDocs » History » Revision 7

Revision 6 (Hanlet, Pierrick, 10 March 2015 11:07) → Revision 7/15 (Hanlet, Pierrick, 10 March 2015 17:28)

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> <pre>/home/epics/tracker miceacq16.micenet.rl.ac.uk(rw) 
 /export *.micenet.rl.ac.uk(fsid=0) 
 /export/tracker miceacq16.micenet.rl.ac.uk(rw) /home/epics/tracker 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 </pre>Then enabled 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. DAQ: miceacq16, miceacq17 

 * The tracker "deposit" should be mounted in /home/daq/tracker 

 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>