Project

General

Profile

TrackerInstallDocs » History » Version 14

Overton, Edward, 15 April 2015 14:52

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 13 Overton, Edward
h2. TrackerIOC (Control Software)
22 14 Overton, Edward
23 13 Overton, Edward
The controls for the tracker have been extended and now this procedure should be used.
24 1 Overton, Edward
25 13 Overton, Edward
h3. Starting IOC
26 1 Overton, Edward
27 14 Overton, Edward
The IOC lives in /home/epics/epicsDEV/iocTops/Tracker on miceiocpctk. It can be started:
28
1. Check that the process is not running: ps aux | grep st.cmd
29
2. Run the script: ./startTK.sh
30 13 Overton, Edward
31
h3. Control GUIS:
32
33
The GUIS for control can be found on the menus under: 
34
* Spectrometer Tracking -> Trackers -> Tracker Control
35
* Spectrometer Tracking -> Trackers -> Tracker Monitoring
36
37
h3. Expert Socket access:
38
39
An Expert can control the trackers at a low level using port 44797 on miceiocpctk. For a command list connect to the socket and type H followed by return. When the socket is opened it will block all access via the C&M functions.
40
41
42
h3. Legacy code (deprecated). These programs can be found in:
43 1 Overton, Edward
44
<pre>/home/epics/epicsDev/Software/bin/</pre>
45 3 Overton, Edward
46
To configure stuff:
47
48
# Launch the "AFEIItServerInterfaceUI", Load configuration file, Hit Initialise, then Play button.
49
# Launch the "AFEIItConfigurationUI", Load configuration file, Hit  Initialise, then Configure All (this takes 10mins - things look like they crashed, they did not, have faith).
50 2 Overton, Edward
51
52 8 Hanlet, Pierrick
h2. TrDAQ: miceacq16, miceacq17
53 1 Overton, Edward
54 8 Hanlet, Pierrick
* The tracker "deposit" should be mounted in /home/daq/tracker.
55
* 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!
56 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.
57 5 Hanlet, Pierrick
58 11 Hanlet, Pierrick
h2. DateDAQ:
59
60
* Some info on how the VLSB boards work in DATE can be found: [[TrackerDATE]]
61
62 12 Overton, Edward
h2. -Calibration- Now Deprecated.
63 5 Hanlet, Pierrick
64
The code for calibration should live in the "deposit", in mice-tracker-calibrations.
65
66
h3. Installation:
67
68
For the tracker calibration code, you need the following:
69
* MySQL database.
70
* MySQL interface from python:
71
** <pre>cd /home/daq/Software/ExtApps
72
wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
73
unzip MySQL-python-1.2.5.zip
74
cd MySQL-python-1.2.5
75
python setup.py build
76 6 Hanlet, Pierrick
python setup.py install (AS ROOT).</pre>