TrackerInstallDocs » History » Revision 14
Revision 13 (Overton, Edward, 15 April 2015 14:07) → Revision 14/15 (Overton, Edward, 15 April 2015 14:52)
h1. Tracker Install Documentation Hopefully this page will serve as a tree, which details can be hung off.. I will try to keep this filled in with documentations.. h1. Computing (DAQ, Configuration, Calibration) h2. Controls: miceiocpctk * 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: <pre>/home/epics/epicsDev/</pre> * The central "deposit" for tracker information, code fragments, analysis scripts, configurations, etc.. is: <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: <pre> /export *.micenet.rl.ac.uk(fsid=0) /export/tracker miceacq16.micenet.rl.ac.uk(rw) miceacq17.micenet.rl.ac.uk(rw) </pre>Also, set: <pre> mount --bind /export/tracker /home/epics/tracker </pre> Add the equivalent line to fstab. Then enable nfs with: <pre>/etc/init.d/nfs start chkconfig nfs on </pre> h2. TrackerIOC (Control Software) The controls for the tracker have been extended and now this procedure should be used. h3. Starting IOC The IOC lives in /home/epics/epicsDEV/iocTops/Tracker /home/epics/epicsDEV/iocTops/Tracker/TrackerApp on miceiocpctk. It can be started: 1. Check that the process is not running: ps aux | grep st.cmd 2. Run the script: ./startTK.sh started? h3. Control GUIS: The GUIS for control can be found on the menus under: * Spectrometer Tracking -> Trackers -> Tracker Control * Spectrometer Tracking -> Trackers -> Tracker Monitoring h3. Expert Socket access: 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. h3. Legacy code (deprecated). These programs can be found in: <pre>/home/epics/epicsDev/Software/bin/</pre> To configure stuff: # Launch the "AFEIItServerInterfaceUI", Load configuration file, Hit Initialise, then Play button. # Launch the "AFEIItConfigurationUI", Load configuration file, Hit Initialise, then Configure All (this takes 10mins - things look like they crashed, they did not, have faith). h2. TrDAQ: miceacq16, miceacq17 * The tracker "deposit" should be mounted in /home/daq/tracker. * 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! * 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. h2. DateDAQ: * Some info on how the VLSB boards work in DATE can be found: [[TrackerDATE]] h2. -Calibration- Now Deprecated. The code for calibration should live in the "deposit", in mice-tracker-calibrations. h3. Installation: For the tracker calibration code, you need the following: * MySQL database. * MySQL interface from python: ** <pre>cd /home/daq/Software/ExtApps wget https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip unzip MySQL-python-1.2.5.zip cd MySQL-python-1.2.5 python setup.py build python setup.py install (AS ROOT).</pre>