Project

General

Profile

TrackerInstallDocs » History » Version 9

Hanlet, Pierrick, 10 March 2015 22:27

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 8 Hanlet, Pierrick
h2. TrDAQ: miceacq16, miceacq17
37 1 Overton, Edward
38 8 Hanlet, Pierrick
* The tracker "deposit" should be mounted in /home/daq/tracker.
39
* 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!
40 9 Hanlet, Pierrick
* 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.
41 5 Hanlet, Pierrick
42
h2. Calibration
43
44
The code for calibration should live in the "deposit", in mice-tracker-calibrations.
45
46
h3. Installation:
47
48
For the tracker calibration code, you need the following:
49
* MySQL database.
50
* MySQL interface from python:
51
** <pre>cd /home/daq/Software/ExtApps
52
wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
53
unzip MySQL-python-1.2.5.zip
54
cd MySQL-python-1.2.5
55
python setup.py build
56 6 Hanlet, Pierrick
python setup.py install (AS ROOT).</pre>