TSTN-008: TMA User Guides

  • Andrew Heyer

Latest Revision: 2020-03-02

Installing EUI

This page contains instructions for installing the EUI from scrath.

Pre-requisites

  1. Install Git.

    1. run sudo nano /etc/yum.repos.d/wandisco-git.repo.

    2. Copy and paste the text below and past into wandisco-git.repo.

      [wandisco-git]
      name=Wandisco GIT Repository
      baseurl=http://opensource.wandisco.com/centos/7/git/$basearch/
      enabled=1
      gpgcheck=1
      gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
      Import GPG key for added repository key typing sudo rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
    3. Import the keys with sudo rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco.

    4. Install git sudo yum install git.

  2. Install the following CentOS7 libraries for development.

    1. sudo yum update
    2. sudo yum groupinstall "Development Tools"
    3. sudo yum install cmake
    4. sudo tum install boost-devel.x86_64
    5. wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    6. sudo rpm -ivh epel-release-latest-7.noarch.rpm
    7. sudo yum install geany
    8. sudo yum install java-1.7.0-openjdk-devel
  3. Install the following Linux libraries to run Labview

    1. sudo yum install glibc.i686
    2. sudo yum install libstdc++.so.6
    3. sudo yum install libXinerama.i686
    4. sudo yum upgrade gnome-packagekit-common
    5. sudo yum install libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.i686

EUI Installation

  1. Install SAL, latest instructions for this can be found here [TODO - insert SAL technote installation guide]. for ts_xml use commit f9156b8bf300e6381b2d505da058c6b6475aed1f.

  2. Install TMA Operation Manager

    1. git clone https://gitlab.tekniker.es/sai/projects/3151-LSST/lsst.git
    2. cd lsst
    3. git checkout feature-rotator-track (As of writinig this is branch to use)
    4. cd tma_management/
    5. mkdir build
    6. cd build
    7. cmake ..
    8. make
  3. Install LabVIEW and dependencies.

    1. Install Labview 2015. LabVIEW package manager runs on Labview 2015. This is the only reason we install LV 2015.

      1. Download LabVIEW2015
      2. Extract the file.
      3. CD LabVIEW2015/32-bit
      4. ./INSTALL say yes to everything.
    2. Install Labview 2018. Tekniker provided software was developed on LabVIEW 2018.

      1. Download LabVIEW 2018, say yes to everything.
      2. Extract the file.
      3. CD LabVIEW2018
      4. ./INSTALL say yes to everything.
    3. Install Labview package manager https://vipm.jki.net/download, then install the following libraries.

      Note

      I would like to point out an observation while downloading the libraries. For a reason that is not appareant to me the download may sometimes fail. The following are some tricks that worked for me. - right click, install - Install the rest of the libraries and come back to it - Manually find the download online

      Note

      if it is your first time running labVIEW you will need to make sure the port on Labview 2018 is configured and has localhost.

      1. OpenG Toolkit, as of writing this all but two dependencies installed. The uninstalled dependencies are OpenG Port IO and OpenG Toolkit. We only need the Toolkit, you can find the link for a manual download here https://sourceforge.net/projects/opengtoolkit/files/lib_openg_toolkit/4.x/openg.org_lib_openg_toolkit-4.0.1.9.vip/download.
      2. GPower All Toolsets, as of writing this all but two dependencies installed. The uninstalled dependencies are GPower Timing, and GPower Events. We only need Gpower Timing, attempt to install it on VI Package Manager by searching for it just as you would normally search and install any package.
      3. Hidden Gems
      4. NI GOOP Development Suite
      5. NI Event Logger Library
      6. NI GXML
      7. NI LogRotate
      8. NI Syslog Library
    4. Copy LabVIEW libraries created by Tekniker into the LabVIEW installation directory.

      1. Download and unzip the Tekniker LabVIEW Libraries
      2. cd /usr/local/natinst/LabVIEW-2018-64
      3. sudo rsync -ra /path/to/TeknikerLabVIEWLibraries/* .
      4. sudo chmod -R 777 ./*
  4. Install Docker https://docs.docker.com/install/linux/docker-ce/centos/

  5. Install database