TrackerInstallDocs » History » Version 8
Hanlet, Pierrick, 10 March 2015 20:50
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 | 5 | Hanlet, Pierrick | |
41 | h2. Calibration |
||
42 | |||
43 | The code for calibration should live in the "deposit", in mice-tracker-calibrations. |
||
44 | |||
45 | h3. Installation: |
||
46 | |||
47 | For the tracker calibration code, you need the following: |
||
48 | * MySQL database. |
||
49 | * MySQL interface from python: |
||
50 | ** <pre>cd /home/daq/Software/ExtApps |
||
51 | wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip |
||
52 | unzip MySQL-python-1.2.5.zip |
||
53 | cd MySQL-python-1.2.5 |
||
54 | python setup.py build |
||
55 | 6 | Hanlet, Pierrick | python setup.py install (AS ROOT).</pre> |