Differences between revisions 1 and 2
Revision 1 as of 2008-03-03 14:40:42
Size: 2327
Comment:
Revision 2 as of 2008-03-03 15:13:04
Size: 2328
Comment:
Deletions are marked like this. Additions are marked like this.
Line 55: Line 55:
Pointing request: this an `PacsEng` scripts so a `no_pointing` request is necessary, because the system expects a pointing request of some sort nontheless Pointing request: this is a `PacsEng` script so a `no_pointing` request is necessary, because the system expects a pointing request of some sort nontheless

Example of a PV phase script translated from its IST phase structure

Header's informations

// $Id$
// Missionphase  : PACS PV Phase
//
//
// Version       : 0.1
//
// Missionphase  : PACS FMILT
//
// Purpose       : Configure the phot filter wheel
//
// Author        : PR
//
// Arguments     : 
//
// Description   : 
//                 
// Comments      :      
//
// Version       : 0.1 
// History       : 0.1  12-Jun-2007 Initial version
// History       : 0.1  11-feb-2008  Converted into Eng OBS by VDP
//
//

Declaration of script type as observation (inc. a pointing request)

obs PacsEng_CONF_phot_fltw {

/* No variables to call PacsEng_CONF_phot_fltw                        */
 /* string fltPOS = "POS A"; //Filter wheel position 0="POS A", 1="POSB" */
/* End of needed variables for PacsEng_CONF_phot_fltw                     */
}

Declaration of internal variables, timing computation

{

// Four arguments needed for "no_pointing"
// 1. Execute the pointing request
  bool execute = true;
// 2. Initial hold
//    Write OBSID during initial hold
  int tih = duration(WriteOBSID($OBSID));
// 3. Final hold
//    Declare OBS finished during final hold
  int tfh = duration(WriteEndID());
// 4. Duration of "stable" pointing
  int tp = imax(1,duration(CONF_phot_fltw()));

Pointing request: this is a PacsEng script so a no_pointing request is necessary, because the system expects a pointing request of some sort nontheless

// Issue PointReq
    int[] ts = no_pointing(execute,tih,tfh,tp);
}

State Machine: even though there is no actual pointing, the observation made during the tests require the telescope to be "On SRC"

Herschel: PacsEng_CONF_fltw (last edited 2009-07-15 14:32:37 by localhost)