eaobservatory / ocsq

JAC Observatory Control System Queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OMP/OCS QUEUE
=============

This is the UKIRT and JCMT observing queue for the new OMP/OCS system.
The following systems are included:

  ocsqueue

    This is the queue itself. It is currently a DRAMA task (technically
    Jit).

  ocsqmon

    A small wrapper around the OCSQMonitor Tk widget. Provides a user
    interface to the queue.

  jac_inst

    This is a DRAMA task that emulates the "OBSERVE" interface of the
    actual JAC instrument task.

Running up the UKIRT queue
--------------------------

To run up the UKIRT queue:

  % ocsqueue -tel ukirt

With the -sim option, MSBs will not be accepted and the queue will
send entries to the JAC_INST_TEST drama task (started by running up
the jac_inst dummy task found in this directory).

To run up the queue monitor GUI:

  % ocsqmon -tel ukirt

This can be run on any machine. It will look for the queue on
kiki. [need to fix]

Running the Queue in Simulation Mode
------------------------------------

Setup:

    starlink
    source /jac_sw/itsroot/etc/cshrc
    source /jac_sw/itsroot/etc/login

JCMT:

    perl jac_inst -tel jcmt -transdir ... &
    perl ocsqueue -tel jcmt -sim -transdir ... &
    perl ocsqmon -sim -tel jcmt &

    jcmttranslator -cwd -verbose file.xml
    ditscmd OCSQUEUE ADDBACK manifest.xml
    ditscmd OCSQUEUE REPORT 2

UKIRT:

    perl -I ../perl-UKIRT-Sequence/lib jac_inst -tel ukirt -transdir ... &
    perl -I ../perl-UKIRT-Sequence/lib ocsqueue -tel ukirt -sim -transdir ... &
    perl ocsqmon -sim -tel ukirt &

Ending:

    ditscmd UKIRT_INST EXIT
    or
    ditscmd JCMT_INST EXIT

    ditscmd OCSQUEUE EXIT

Author
------

Tim Jenness (t.jenness@jach.hawaii.edu)

Copyright (C) 2001-2005 Particle Physics and Astronomy Research Council.
All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful,but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place,Suite 330, Boston, MA  02111-1307, USA

About

JAC Observatory Control System Queue


Languages

Language:Perl 100.0%