Project

General

Profile

TrackerInstallDocs » History » Version 12

Overton, Edward, 15 April 2015 13:54

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