Project

General

Profile

TrackerInstallDocs » History » Version 7

Hanlet, Pierrick, 10 March 2015 17:28

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 7 Hanlet, Pierrick
<pre>
15
/export *.micenet.rl.ac.uk(fsid=0)
16
/export/tracker miceacq16.micenet.rl.ac.uk(rw) miceacq17.micenet.rl.ac.uk(rw)
17
</pre>Also, set: <pre> mount --bind /export/tracker /home/epics/tracker </pre> Add the equivalent line to fstab.
18
19
Then enabled with:
20 2 Overton, Edward
<pre>/etc/init.d/nfs start
21 1 Overton, Edward
chkconfig nfs on </pre>
22
23 3 Overton, Edward
h3. TrackerIOC:
24
25
26 2 Overton, Edward
h3. Legacy code (soon to be deprecated). These programs can be found in:
27 1 Overton, Edward
28
<pre>/home/epics/epicsDev/Software/bin/</pre>
29 3 Overton, Edward
30
To configure stuff:
31
32
# Launch the "AFEIItServerInterfaceUI", Load configuration file, Hit Initialise, then Play button.
33
# Launch the "AFEIItConfigurationUI", Load configuration file, Hit  Initialise, then Configure All (this takes 10mins - things look like they crashed, they did not, have faith).
34 2 Overton, Edward
35
36
h2. DAQ: miceacq16, miceacq17
37 4 Overton, Edward
38
* The tracker "deposit" should be mounted in /home/daq/tracker
39 5 Hanlet, Pierrick
40
h2. Calibration
41
42
The code for calibration should live in the "deposit", in mice-tracker-calibrations.
43
44
h3. Installation:
45
46
For the tracker calibration code, you need the following:
47
* MySQL database.
48
* MySQL interface from python:
49
** <pre>cd /home/daq/Software/ExtApps
50
wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
51
unzip MySQL-python-1.2.5.zip
52
cd MySQL-python-1.2.5
53
python setup.py build
54 6 Hanlet, Pierrick
python setup.py install (AS ROOT).</pre>