Andor Camera, Lima

This is how a Lima version for the Andor camera can be created:

 
$ git clone git://github.com/esrf-bliss/Lima.git
$ cd Lima
$ git submodule init third-party/Processlib third-party/Sps third-party/libconfig
$ git submodule init third-party/hdf5
$ git submodule init camera/andor
$ git submodule init applications
$ git submodule update

$ cp config.inc_default config.inc

$ emacs /home/user/tango-ds/Lima/config.inc
to set: 
...
COMPILE_ANDOR=1
...
COMPILE_TIFF_SAVING=1
COMPILE_HDF5_SAVING=1

$ make config

# emacs /home/user/tango-ds/Lima/camera/andor/src/Makefile
    change 
      -I/usr/local/include 
    to 
       -I/usr/include/andor 

$ emacs /home/user/tango-ds/Lima/sip/andor/Makefile
    change 
      -I/usr/local/include 
    to 
       -I/usr/include/andor 

$ make config
$ make
$ make -C sip -j3

root> make install 
  The install dir is set in install.inc.

The server is started by:

#!/bin/bash
export PYTHONPATH=$PYTHONPATH:/home/user/tango-ds/Lima/install
export PYTHONPATH=$PYTHONPATH:/home/user/tango-ds/Lima/install/Lima/lib

export LD_LIBRARY_PATH=/home/user/tango-ds/Lima/install/Lima/lib:$LD_LIBRARY_PATH

printf "Seems that LimaCCD usually sets cooling to ON for Andor at startup\n"
printf "Thus, either Andor should be already in a vacuum environment or\n"
printf "cooling should be switched off via e.g. ATK panel after server startup\n"
printf "\n"
read -t 20 -n 1 -p "Do you want to continue <y/n>? " useranswer

if [ "$useranswer" == "y" ]
then
python /home/user/tango-ds/Lima/applications/tango/python/LimaCCDs.py PETRA-3
else
printf "\n Startup aborted (or incorrect input?) ...\n"
exit 1
fi