Basic operations


1. Manipulating with dome status at LCO

In case asas dome server is not available from pi computers , in order to change dome status manualy to closed after checking satelite image or
clouds prediction type :

echo "closed" > /opt/pi/dev/pisys/daq/config/custom/dome.txt

in order to restore dome mode to opened type :

echo "opened" > /opt/pi/dev/pisys/daq/config/custom/dome.txt

In case asas system is working dome status is automaticaly retrived from asas server with command :

dbget dome_status -dbserver asas3v.lco.cl

Currently it gives result :

asas3v.lco.cl: RPC: Remote system error - Connection refused

2. Setting up DAQ to use single camera in LCO

In order to simply change system mode in LCO to single camera mode ( or back to ccddouble mode ) type :
      echo "ccdsingle" > /opt/pi/dev/pisys/daq/config/custom/mode.txt
in order to restore normal double camera mode remove this file :
     rm -f /opt/pi/dev/pisys/daq/config/custom/mode.txt
or type :
    echo "ccddouble" > /opt/pi/dev/pisys/daq/config/custom/mode.txt
No changes on www server are nessesary, system mode is automaticaly detected from daq.status file

3. Setting up DAQ to use single camera in LCO - OLD VERSION

This is more complicated and requires changes in crontab.
In case one of cameras is not working it maybe nessesary to use only one camera to collect any data.
In order to do so two changes in crontab must be done , using crontab is pretty simple , in  order to list crontab entries run command :

          crontab -l

In order to edit crontab ( be sure I are able to do this ) do :

        export EDITOR=joe
        crontab -e

of course different editor then joe maybe used also. The  following modifications in crontab must be done to run system with
single camera :


In order to restore running of system in double camera mode , restore values without option ccdsingle.

NOTE : I plan soon to modify changing to single camera mode , by modification of one single configuration file on pi2 ( collecting machine )