Project

General

Profile

TrackerInstallDocs » History » Version 5

Hanlet, Pierrick, 10 March 2015 11:06

1 1 Overton, Edward
h1. Tracker Install Documentation
2
3
Hopefully this page will serve as a tree, which details can be hung off.. I will try to keep this filled in with documentations..
4
5
h1. Computing (DAQ, Configuration, Calibration)
6
7
h2. Controls: miceiocpctk
8 2 Overton, Edward
9
* 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:
10
<pre>/home/epics/epicsDev/</pre>
11
12
* The central "deposit" for tracker information, code fragments, analysis scripts, configurations, etc.. is:
13
<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:
14
<pre>/home/epics/tracker miceacq16.micenet.rl.ac.uk(rw)
15
/home/epics/tracker miceacq17.micenet.rl.ac.uk(rw)
16 3 Overton, Edward
</pre>Then enabled with:
17 2 Overton, Edward
<pre>/etc/init.d/nfs start
18 1 Overton, Edward
chkconfig nfs on </pre>
19
20 3 Overton, Edward
h3. TrackerIOC:
21
22
23 2 Overton, Edward
h3. Legacy code (soon to be deprecated). These programs can be found in:
24 1 Overton, Edward
25
<pre>/home/epics/epicsDev/Software/bin/</pre>
26 3 Overton, Edward
27
To configure stuff:
28
29
# Launch the "AFEIItServerInterfaceUI", Load configuration file, Hit Initialise, then Play button.
30
# Launch the "AFEIItConfigurationUI", Load configuration file, Hit  Initialise, then Configure All (this takes 10mins - things look like they crashed, they did not, have faith).
31 2 Overton, Edward
32
33
h2. DAQ: miceacq16, miceacq17
34 4 Overton, Edward
35
* The tracker "deposit" should be mounted in /home/daq/tracker
36 5 Hanlet, Pierrick
37
h2. Calibration
38
39
The code for calibration should live in the "deposit", in mice-tracker-calibrations.
40
41
h3. Installation:
42
43
For the tracker calibration code, you need the following:
44
* MySQL database.
45
* MySQL interface from python:
46
** <pre>cd /home/daq/Software/ExtApps
47
wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
48
unzip MySQL-python-1.2.5.zip
49
cd MySQL-python-1.2.5
50
python setup.py build
51
python setup.py install (ROOT).<\pre>