TOC PREV NEXT INDEX

Put your logo here!


5 APPENDICES

5.1 SAMPLE PROGRAMS

5.1.1 Sample program for the Data Query Library


/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: tifTestDataLibSamp.C,v 1.125 2002/03/07 15:14:26 vltsccm Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* gchiozzi 05/12/95 created
*/

/************************************************************************
* NAME
* tifTestDataLibSamp
*
* SYNOPSIS
* tifTestDataLibSamp
*
* DESCRIPTION
* This program is a small sample application to demonstrate the
* programmatical usage of the TIF Data Query Library.
*
* The QueryDatabaseValues() function demonstrate how to call
* the various functions available in the library.
*
* FILES
*
* ENVIRONMENT
*
* COMMANDS
*
* RETURN VALUES
*
* CAUTIONS
* Please, notice that, in order to keep the example small and readable,
* only a minimal error handling has been coded.
*
* The program assumes that a valid tcs database is loaded and the
* proper environment variables are set.
* See the TCS User Manual for details.
*
* EXAMPLES
*
* SEE ALSO
*
* BUGS
*
*------------------------------------------------------------------------
*/

#define _POSIX_SOURCE 1
#include "vltPort.h"

#include <tcs.h>
tcsTCS_RCSID("@(#) $Id: tifTestDataLibSamp.C,v 1.125 2002/03/07 15:14:26 vltsccm Exp $")



#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>

#include "eccsTestTools.h"
#include "eccsDb.h"

#include "tif.h"

ccsCOMPL_STAT QueryDatabaseValues(void);

/*
******************************************************************************
*/
int main(int, char * argv[])
{
ccsCOMPL_STAT stat;

/* Init */
eccsLogComment("Sample program for tif data query library");

eccsLogComment("Init");
stat = ccsInit(argv[0]);
eccsErrLog(stat,"Error in Init ");

eccsLogComment("Open");
stat = dbOpen();
eccsErrLog(stat,"Error in Open");

/*
* Query database values using library
*/
stat = QueryDatabaseValues();
eccsErrLog(stat,"Query database values");

eccsLogComment("Test completed.");

/* Exit */
stat = dbExit();
eccsErrLog(stat,"Error in Exit");

}


ccsCOMPL_STAT QueryDatabaseValues(void)
{
ccsCOMPL_STAT stat = SUCCESS;


/*
* Calling tifGetPosition()
*/
eccsLogComment("Calling tifGetPosition()");
tifPOSITION position;
if( tifGetPosition(&position) == FAILURE)
{
stat = FAILURE;
eccsErrLog(stat,"Failure in tifGetPosition()");
}
eccsLogComment("Position: HA=%f RA=%f dec=%f alt=%f az=%f",
position.HA,position.RA,position.dec,
position.alt,position.az);


/*
* Calling tifGetStates()
*/
eccsLogComment("Calling tifGetStates()");
tifSTATES states;
if( tifGetStates(&states) == FAILURE)
{
stat = FAILURE;
eccsErrLog(stat,"Failure in tifGetStates()");
}
eccsLogComment("TCS State: %d - TCS Sub State %d",
states.tcsState, states.tcsSubstate);



/*
* Calling tifGetByName()
*/

eccsLogComment("Calling tifGetByName()");

vltDOUBLE utc;

if(tifGetByName(tifDATA_UTC, (char*)&utc) == FAILURE)
{
stat = FAILURE;
eccsErrLog(stat,"Failure in tifGetByName()");
}
else
eccsLogComment("Value for utc is %f", utc);

return stat;
}



5.1.2 Sample program for exposure FITS file generation


/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: tifTestFitsLibSamp.C,v 1.125 2002/03/07 15:14:28 vltsccm Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* awalland 10/04/97 created
*/

/************************************************************************
* NAME
* tifTestFitsLibSamp
*
* SYNOPSIS
* tifTestFitsLibSamp
*
* DESCRIPTION
* This program is a small sample application to demonstrate the
* programmatical usage of the FITS functions of TIF Data Library.
* It can be seen as a stub for OS process.
*
* The program creates the necessary oslx interfaces, assumes the
* other subsystems (i.e. DCS and ICS) generates the necessary files,
* uses tif functions to generate the TCS contribution to the header
* and then merge everything together into the final FITS file.
*
* FILES
*
* ENVIRONMENT
*
* COMMANDS
*
* RETURN VALUES
*
* CAUTIONS
* Please, notice that, in order to keep the example small and readable,
* only a minimal error handling has been coded.
*
* The program assumes that a valid tcs database is loaded and the
* proper environment variables are set.
* See the TCS User Manual for details.
*
* EXAMPLES
*
* SEE ALSO
*
* BUGS
*
*------------------------------------------------------------------------
*/

#define _POSIX_SOURCE 1
#include "vltPort.h"

#include <tcs.h>
tcsTCS_RCSID("@(#) $Id: tifTestFitsLibSamp.C,v 1.125 2002/03/07 15:14:28 vltsccm Exp $")



#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <sys/stat.h>

#include "eccsTestTools.h"
#include "eccsDb.h"

#include "oslx.h"

#include "tif.h"
// #include "tifLibs.h"


/*
******************************************************************************
*/
int main(int, char * argv[])
{
ccsCOMPL_STAT stat;

char imageFileName[256];
char imageDcsFileName[256];
char imageIcsFileName[256];
char imageTcsFileName[256];
const char *insRoot;
const char *insUser;

oslxFITS *ifFits = NULL; // interface to oslx FITS
oslxDICTIONARY *ifDictionary = NULL; // interface to oslx DICTIONARY

/*
* Init
*/
eccsLogComment("Sample program for tif Fits library");

eccsLogComment("Init");
stat = ccsInit(argv[0]);
eccsErrLog(stat,"Error in Init ");

eccsLogComment("Open");
stat = dbOpen();
eccsErrLog(stat,"Error in Open");

/*
* Initialize local variables
*/
*imageFileName = '\0';
*imageDcsFileName = '\0';
*imageIcsFileName = '\0';
*imageTcsFileName = '\0';

/*
* Build full path to all data files
*/
insRoot = getenv("INS_ROOT");
if (insRoot == NULL || *insRoot == '\0')
eccsErrLog(FAILURE,"INS_ROOT not defined ");
strcpy(imageFileName, insRoot);
if (imageFileName[strlen(imageFileName) - 1] != '/')
strcat(imageFileName, "/");
insUser = getenv("INS_USER");
if (insUser == NULL || *insUser == '\0')
eccsErrLog(FAILURE,"INS_USER not defined ");
strcat(imageFileName, insUser);

// For this sample we hardwire the final fits file to ccdImageLcuSim.fits
// In a real case the file name is determined by the setup
// keyword DET.FRAM.FITSUNC and negotiations between OS and DCS
strcat(imageFileName, "/DETDATA/ccdImageLcuSim.fits");
sprintf(imageDcsFileName,"%s.det",imageFileName);
sprintf(imageIcsFileName,"%s.det",imageFileName);
sprintf(imageTcsFileName,"%s.tcs",imageFileName);

/*
* Create the interface to oslx dictionary
*/
if ((ifDictionary = new oslxDICTIONARY) == NULL)
eccsErrLog(FAILURE,"failed to create oslx DICTIONARY interface ");

/*
* Check if the constructor has been successful
*/
if (ifDictionary->ErrStatus() == FAILURE)
eccsErrLog(FAILURE,"failed to create oslx DICTIONARY interface ");

/*
* Create the interface to oslx required for FITS access
*/
if ((ifFits = new oslxFITS)== NULL)
eccsErrLog(FAILURE,"failed to create oslx FITS interface ");

/*
* Check if the constructor has been successful
*/
if (ifFits->ErrStatus() == FAILURE)
eccsErrLog(FAILURE,"failed to create oslx FITS interface ");

/*
* Load all dictionaries
* Note that other objects, e.g. SETUP can reference to this
* so that it is not necessary to load dictionaries more than once
*/
if (ifDictionary->LoadDic("all") == FAILURE)
eccsErrLog(FAILURE,"failed to load dictionaries ");

/*
* Reference dictionary
*/
if (ifFits->SetDictionary(ifDictionary) == FAILURE)
eccsErrLog(FAILURE,"failed to reference dictionary ");

/*
* Create the final FITS file
* (note this name must be stored in DET.FRAM.FITSUNC setup keyword
* and passed to DCS)
* In this sample we use some random size
* In a real case it has to be calculated
*/
if (ifFits->CreateFile(imageFileName,20) == FAILURE)
eccsErrLog(FAILURE,"failed to create FITS file ");

/*
* Get any keywords required before starting the exposure
* from the various subsystems
* In the sample we only take TCS keywords here
*/
if (tifGetFitsStart(imageFileName,stdErr) == FAILURE)
eccsErrLog(FAILURE,"Getting TCS FITS keyword at start of exposure");

/*
* Simulate an exposure of a few seconds
*/
printf("Exposure running...\n");
sleep(2);

/*
* Get any keywords at end of exposure
*/
if (tifGetFitsEnd(imageFileName,stdErr) == FAILURE)
eccsErrLog(FAILURE,"Getting TCS FITS keyword at end of exposure");
// This call produces an ASCII file ccdImageLcuSim.fits.tcs

// Real DCS should now have produced an ASCII file named
// ccdImageLcuSim.fits.det

// Real ICS keywords could be produced using the following algorithm
// Use status command to ICS to obtain all keywords and store in
// temporary file ccdImageLcuSim.fits.ics
// Note this will be a binary file (not ASCII), but that will
// transparent for the user (taken care of by oslx)

/*
* Merge all the keywords into the final file
* (Note that the merge flag must be set to TRUE in order not
* to overwrite already stored keywords)
*/
if (ifFits->LoadHeader(imageTcsFileName) == FAILURE)
eccsErrLog(FAILURE,"failed to load TCS header ");
// if (ifFits->LoadHeader(imageDcsFileName,TRUE) == FAILURE)
// eccsErrLog(FAILURE,"failed to load DCS header ");
// if (ifFits->LoadHeader(imageIcsFileName,TRUE) == FAILURE)
// eccsErrLog(FAILURE,"failed to load ICS header ");

/*
* Write final file to disk and set read only permission
*/
if (ifFits->Save(imageFileName) == FAILURE)
eccsErrLog(FAILURE,"failed to save file to disk ");
chmod(imageFileName, S_IRUSR+S_IRGRP+S_IROTH);

/*
* Delete all temporary files
*/
chmod(imageTcsFileName, S_IWUSR);
if (unlink(imageTcsFileName) < 0)
eccsErrLog(FAILURE,"failed to delete TCS file ");
// chmod(imageDcsFileName, S_IWUSR);
// if (unlink(imageDcsFileName) < 0)
// eccsErrLog(FAILURE,"failed to delete DCS file ");
// chmod(imageIcsFileName, S_IWUSR);
// if (unlink(imageIcsFileName) < 0)
// eccsErrLog(FAILURE,"failed to delete ICS file ");


eccsLogComment("Test completed. FITS file in $INS_ROOT/SYSTEM/DETDATA/");

/* Exit */
stat = dbExit();
eccsErrLog(stat,"Error in Exit");

}



5.1.3 Sample program for the Event Configuration Library


/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: tifTestEventLibSamp.C,v 1.125 2002/03/07 15:14:26 vltsccm Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* gchiozzi 05/12/95 created
*/

/************************************************************************
* NAME
* tifTestEventLibSamp
*
* SYNOPSIS
* tifTestEventLibSamp
*
* DESCRIPTION
* This program is a small sample application to demonstrate the
* programmatical usage of the TIF Event Configuration Library.
*
* The program accepts the commands ATTACH and DETACH.
* When the ATTACH command is received, an event is attached
* using the lybrary functions to monitor the TRACKING_LIST condition.
* When the DETACH command is received, the event is dettached.
* Once the event has been attached, every time the TRACKING_LOST
* event occurs, the probram is notified and the proper action is
* executed.
*
* From the architectural point of view, the application is based on the EVH
* toolkit and consist of a simple APPLICATION task that implementes the
* callbacks for the commands and the event
*
* To test the application, send the commands to ATTACH and DETACH the
* event and produce the TRACKING_LOST event, for example by writing by hand
* a new value (0 or 1) in the ":Appl_data:TCS:tif:events.trackingLost" database
* attribute
*
* FILES
*
* ENVIRONMENT
*
* COMMANDS
*
* RETURN VALUES
*
* CAUTIONS
* Please, notice that, in order to keep the example small and readable,
* only a minimal error handling has been coded.
*
* The program assumes that a valid tcs database is loaded and the
* proper environment variables are set.
* See the TCS User Manual for details.
*
* EXAMPLES
*
* SEE ALSO
*
* BUGS
*
*------------------------------------------------------------------------
*/

#define _POSIX_SOURCE 1
#include "vltPort.h"

#include <tcs.h>
tcsTCS_RCSID("@(#) $Id: tifTestEventLibSamp.C,v 1.125 2002/03/07 15:14:26 vltsccm Exp $")



#include <stdlib.h>
#include <stdio.h>

#include <ccs.h>
#include <msg.h>

#include "eccsDb.h"
#include "eccsTestTools.h"
#include "evhHANDLER.h"
#include "evhTASK.h"

#include "tif.h"

/******************************************/
/* Definition for the APPLICATION class */
/******************************************/
class APPLICATION: public evhTASK
{
public:

// Class constructor: here all the basic event handler are installed
APPLICATION();

// Class destructor: here everything is cleaned up
~APPLICATION();

// Definition for the callbacks to be used receiving the
// replies from the sent command
evhCB_COMPL_STAT AttachCB(msgMESSAGE &msg, void *udata);
evhCB_COMPL_STAT DetachCB(msgMESSAGE &msg, void *udata);
evhCB_COMPL_STAT DbEventCB(evtEVENT_MSG &msg, void *udata);

private:
evtEVENT_ID event;
vltLOGICAL attached;

}; /* end class APPLICATION */


/* Body of the constructor method. */
/* It is called whenever an instance is created */
APPLICATION::APPLICATION()
{
attached = FALSE;

/* This variable is used to define the events */
evhMSG_TYPE_KEY key(msgTYPE_COMMAND);

/* This variable is used to define the callbacks procedures */
evhOBJ_CALLBACK cb(this);

/* Then the callbacks are attached to the event handler */
evhHandler->AddCallback(key.Command("ATTACH"),
cb.Proc((evhCB_METHOD)&APPLICATION::AttachCB));
evhHandler->AddCallback(key.Command("DETACH"),
cb.Proc((evhCB_METHOD)&APPLICATION::DetachCB));

/* This one is used for database events */
key.MsgType(msgTYPE_EVENT).Command(evtEVENT_CMD).CommandId(0);
cb.Proc((evhCB_METHOD)&APPLICATION::DbEventCB);

evhHandler->AddCallback(key,cb);

}


APPLICATION::~APPLICATION()
{
/* Detach the callback */
/* This variable is used to define the events */
evhMSG_TYPE_KEY key(msgTYPE_COMMAND);

/* This variable is used to define the callbacks procedures */
evhOBJ_CALLBACK cb(this);

evhHandler->DelCallback(key.Command("ATTACH"),
cb.Proc((evhCB_METHOD)&APPLICATION::AttachCB));
evhHandler->DelCallback(key.Command("DETACH"),
cb.Proc((evhCB_METHOD)&APPLICATION::DetachCB));

/* This one is used for ANY database event */
/* (no regard of the CommandId) */
key.MsgType(msgTYPE_EVENT).Command(evtEVENT_CMD).CommandId(0);
cb.Proc((evhCB_METHOD)&APPLICATION::DbEventCB);

evhHandler->DelCallback(key,cb);
}

evhCB_COMPL_STAT APPLICATION::AttachCB(msgMESSAGE &msg, void *)
{
ccsCOMPL_STAT stat;

cout << "Received a ATTACH command\n";

/* Attach an event for TRACKING_LOST */
if( !attached )
{
attached = TRUE;
stat = tifAttachEvent(tifEVENT_TRACKING_LOST,&event);
eccsErrLog(stat,"Error in tifAttachEvent");
}

/* Send back the reply to the caller */
msg.LastReply(ccsTRUE);
msg.Buffer("Command handled!");
msg.SendReply();

/* The callback must remain installed for another command */
return evhCB_NO_DELETE;
}

evhCB_COMPL_STAT APPLICATION::DetachCB(msgMESSAGE &msg, void *)
{
ccsCOMPL_STAT stat;

cout << "Received a DETACH command\n";

/* Attach events, if not attached (1 more for errors)*/
if( attached )
{
attached = FALSE;
stat = tifDetachEvent(&event);
eccsErrLog(stat,"Error in tifDetachEvent");
}

/* Send back the reply to the caller */
msg.LastReply(ccsTRUE);
msg.Buffer("Command handled!");
msg.SendReply();

/* The callback must remain installed for another command */
return evhCB_NO_DELETE;
}

/* This callback is linked to DB events */
evhCB_COMPL_STAT APPLICATION::DbEventCB(evtEVENT_MSG &msg, void *)
{
char string[256];

/* Print what can of the new value for the attribute */
cout << "Received a database event for attribute:\n\t"
<< msg.AttrName() << " (type is " << (int)msg.AttrType() << ")\n";

if( msg.AttrType() == dbSCALAR)
{
dbDeToStr(msg.EventInfo().scalar.dataType,
(char *)(msg.EventInfo().scalar.newValue),
string,0,sizeof(string)-1);
cout << "\tThe new value is: " << string << "\n";
}

/* The callback must remain installed for another command */
return evhCB_NO_DELETE;
}



/**********************************/
/* main procedure */
/**********************************/

int main(int, char *argv[])
{
ccsCOMPL_STAT stat;

/* Init */
eccsLogComment("Sample program for tif event library");

eccsLogComment("Init");
stat = ccsInit(argv[0]);
eccsErrLog(stat,"Error in Init ");

eccsLogComment("Open");
stat = dbOpen();
eccsErrLog(stat,"Error in Open");

/* Create the instance of APPLICATION */
/* The call to the macro USE() prevents the GCC compiler */
/* from issuing a warning: it assumes that app is not used! */
APPLICATION app; USE(app);

/* enter the main loop */
eccsLogComment("Entering the main loop.");
evhHandler->MainLoop();

eccsLogComment("Test completed.");

/* Exit */
stat = dbExit();
eccsErrLog(stat,"Error in Exit");

}

/*
*****************************************************************************
*/


/*___oOo___*/


5.2 INCLUDE FILES

5.2.1 tif.h



#ifndef TIF_H
#define TIF_H

/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: tif.h,v 1.125 2002/03/07 15:13:48 vltsccm Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* rkarban 2001-11-20 add data item OBSWAVELEN
* gchiozzi 2000-06-26 Added defines for new entries
* gchiozzi 14/10/99 Added tifDATA_ASM_PRESSURE
* rkarban 04/02/99 align with tcsPUBLIC db
* rabuter 13/12/98 Added windspeed and winddir
* gchiozzi 27/04/98 Added handling of angle on sky for guide probe technical CCD.
* gchiozzi 16/04/98 Added RA2000 and dec2000 in degrees (spr. 970502)
* gchiozzi 16/04/98 Added define for tifDATA_ADA_ANGLE
* awalland 03/11/97 Added foculen, focuscale and installed (SPR970397)
* gchiozzi 10/09/97 Changed the prototype of tifGetByName() and tifAttachEvent()
* gchiozzi 10/09/97 Replaced structures with named data with string defines

* tphan 31/05/97 Added new items: ADA_POSANG
* Use measured status value, not setup (awa)
* gchiozzi 23/04/97 Updated units in comments
* gchiozzi 09/04/97 Added new items: ROT_ANGLE, PROBE_X and PROBE_Y
* awalland 13/03/97 Added NAMED data values required for FITS header
* awalland 12/03/97 Added inclusion of tcs and msw conversion functions
* awalland 11/03/97 Added tifGetFitsStart and tifGetFitsEnd prototypes
* gchiozzi 16/01/97 Moved here from tifEventLib definition of values for tifEventInfo array
* gchiozzi 16/01/97 Moved here from tifDataQueryLib definition of values for tifDataInfo array
* gchiozzi 06/11/96 Added tifDATA_FOCUS to retrieve current focus station
* gchiozzi 05/11/96 Error stack made optional. Added check for multiple calls.
* nfiebig 11/01/96 changed comments for RA and dec "... for J2000"
* gchiozzi 06/12/95 Added some comments
* gchiozzi 01/12/95 Added inclusion of new file tifDefines.h
* nfiebig 07/08/95 created
*/

/************************************************************************
* Public interface definition of the TCS Interface (tif)
*----------------------------------------------------------------------
*/

#ifndef __cplusplus
#error This is a C++ include file and cannot be used from plain C
#endif

#include <ccs.h>
#include <evt.h>

#include "eccsTestTools.h"
#include "tcs.h"
#include "tcsVcc.h"
#include "msw.h"
#include "tifDefines.h"

/*
* Typedes with the definition of storage type
* for data and event identification names
*/
typedef vltBYTES32 tifNAME;
typedef vltBYTES256 tifDB_ADDR;

/*
* Defines for named data items (see tifGetByName)
* These defines allow to select data items to be read by name.
* A database table contains the mapping from names to database
* symbolic address and data types.
*/
#define tifDATA_LST "tifDATA_LST"
#define tifDATA_UTC "tifDATA_UTC"
#define tifDATA_HA "tifDATA_HA"
#define tifDATA_RA "tifDATA_RA"
#define tifDATA_DEC "tifDATA_DEC"
#define tifDATA_RA2000 "tifDATA_RA2000"
#define tifDATA_DEC2000 "tifDATA_DEC2000"
#define tifDATA_RA2000DEG "tifDATA_RA2000DEG"
#define tifDATA_DEC2000DEG "tifDATA_DEC2000DEG"
#define tifDATA_OBSWAVELEN "tifDATA_OBSWAVELEN"
#define tifDATA_ALT "tifDATA_ALT"
#define tifDATA_AZ "tifDATA_AZ"
#define tifDATA_ALT_REF "tifDATA_ALT_REF"
#define tifDATA_AZ_REF "tifDATA_AZ_REF"
#define tifDATA_AIRMASS "tifDATA_AIRMASS"
#define tifDATA_PRLTIC "tifDATA_PRLTIC"
#define tifDATA_DVELRA "tifDATA_DVELRA"
#define tifDATA_DVELDEC "tifDATA_DVELDEC"
#define tifDATA_LONGI "tifDATA_LONGI"
#define tifDATA_LATI "tifDATA_LATI"
#define tifDATA_LEVEL "tifDATA_LEVEL"
#define tifDATA_REMTIME "tifDATA_REMTIME"
#define tifDATA_REMLIMIT "tifDATA_REMLIMIT"
#define tifDATA_TRACK "tifDATA_TRACK"
#define tifDATA_FOCUS "tifDATA_FOCUS"
#define tifDATA_TELESCOP "tifDATA_TELESCOP"
#define tifDATA_VERSION "tifDATA_VERSION"
#define tifDATA_INSTALLED "tifDATA_INSTALLED"
#define tifDATA_OPER "tifDATA_OPER"
#define tifDATA_FOCULEN_NA "tifDATA_FOCULEN_NA"
#define tifDATA_FOCULEN_CA "tifDATA_FOCULEN_CA"
#define tifDATA_FOCULEN_CO "tifDATA_FOCULEN_CO"
#define tifDATA_FOCUSCALE_NA "tifDATA_FOCUSCALE_NA"
#define tifDATA_FOCUSCALE_CA "tifDATA_FOCUSCALE_CA"
#define tifDATA_FOCUSCALE_CO "tifDATA_FOCUSCALE_CO"
#define tifDATA_FOCU_VALUE "tifDATA_FOCU_VALUE"
#define tifDATA_DOME_STATUS "tifDATA_DOME_STATUS"
#define tifDATA_AG_STATUS "tifDATA_AG_STATUS"
#define tifDATA_AG_RA "tifDATA_AG_RA"
#define tifDATA_AG_DEC "tifDATA_AG_DEC"
#define tifDATA_ROT_ANGLE "tifDATA_ROT_ANGLE"
#define tifDATA_PROBE_X "tifDATA_PROBE_X"
#define tifDATA_PROBE_Y "tifDATA_PROBE_Y"
#define tifDATA_PROBE_RA "tifDATA_PROBE_RA"
#define tifDATA_PROBE_DEC "tifDATA_PROBE_DEC"
#define tifDATA_PROBE_IN_POS "tifDATA_PROBE_IN_POS"
#define tifDATA_ADA_POSANG "tifDATA_ADA_POSANG"
#define tifDATA_ADA_ANGLE "tifDATA_ADA_ANGLE"
#define tifDATA_CCD_ON_SKY "tifDATA_CCD_ON_SKY"
#define tifDATA_ASM_SEEING "tifDATA_ASM_SEEING"
#define tifDATA_ADC_SEP "tifDATA_ADC_SEP"
#define tifDATA_TEMP_SER_1 "tifDATA_TEMP_SER_1"
#define tifDATA_TEMP_SER_2 "tifDATA_TEMP_SER_2"
#define tifDATA_TEMP_SER_3 "tifDATA_TEMP_SER_3"
#define tifDATA_TEMP_SER_4 "tifDATA_TEMP_SER_4"
#define tifDATA_TEMP_CNT_1 "tifDATA_TEMP_CNT_1"
#define tifDATA_TEMP_CNT_2 "tifDATA_TEMP_CNT_2"
#define tifDATA_TEMP_FLX_1 "tifDATA_TEMP_FLX_1"
#define tifDATA_TEMP_FLX_2 "tifDATA_TEMP_FLX_2"
#define tifDATA_TEMP_FLX_3 "tifDATA_TEMP_FLX_3"
#define tifDATA_TEMP_FLX_4 "tifDATA_TEMP_FLX_4"
#define tifDATA_ASM_WINDSPEED "tifDATA_ASM_WINDSPEED"
#define tifDATA_ASM_WINDDIR "tifDATA_ASM_WINDDIR"
#define tifDATA_ASM_PRESSURE "tifDATA_ASM_PRESSURE"
#define tifDATA_M1_CORRECTED "tifDATA_M1_CORRECTED"
#define tifDATA_M2_CORRECTED "tifDATA_M2_CORRECTED"
#define tifDATA_AO_CMD_STATE "tifDATA_AO_CMD_STATE"
#define tifDATA_AO_TARGET "tifDATA_AO_TARGET"
#define tifDATA_AO_CUR_IND_AVG "tifDATA_AO_CUR_IND_AVG"
#define tifDATA_CHOP_STATUS "tifDATA_CHOP_STATUS"
#define tifDATA_CHOP_STRT_TIME "tifDATA_CHOP_STRT_TIME"
#define tifDATA_CHOP_STOP_TIME "tifDATA_CHOP_STOP_TIME"
#define tifDATA_CHOP_FREQ "tifDATA_CHOP_FREQ"
#define tifDATA_CHOP_THROW "tifDATA_CHOP_THROW"
#define tifDATA_CHOP_POI "tifDATA_CHOP_POI"
#define tifDATA_CHOP_PVR "tifDATA_CHOP_PVR"
#define tifDATA_CHOP_TPA "tifDATA_CHOP_TPA"
#define tifDATA_CHOP_POSANG "tifDATA_CHOP_POSANG"
#define tifDATA_CHOP_OFFSET "tifDATA_CHOP_OFFSET"
#define tifDATA_ASM_WINDSPEED "tifDATA_ASM_WINDSPEED"
#define tifDATA_ASM_WINDDIR "tifDATA_ASM_WINDDIR"
#define tifDATA_ASM_RHUM "tifDATA_ASM_RHUM"
#define tifDATA_ASM_TEMP "tifDATA_ASM_TEMP"
#define tifDATA_MOON_RA "tifDATA_MOON_RA"
#define tifDATA_MOON_DEC "tifDATA_MOON_DEC"
#define tifDATA_M1_TEMP "tifDATA_M1_TEMP"

/*
* Defines for named event items (see tifAttachEvent)
* These defines allow to select data items to be read by name.
* A database table contains the mapping from names to database
* symbolic address and event types.
*/
#define tifEVENT_TRACKING_LOST "tifEVENT_TRACKING_LOST"
#define tifEVENT_GUIDING_LOST "tifEVENT_GUIDING_LOST"
#define tifEVENT_REMTRACK_LOW "tifEVENT_REMTRACK_LOW"

/*
* Telescope Position Data Structure (actual position)
*/
struct tifPOSITION
{
vltDOUBLE HA; // hour angle
vltDOUBLE RA; // right ascension due to mean place of J2000
vltDOUBLE dec; // declination due to mean place of J2000
vltDOUBLE alt; // altitude
vltDOUBLE az; // azimuth
};

/*
* Module States Data Structure
*/
struct tifSTATES
{
vltINT32 tcsState; // TCS global state
vltINT32 tcsSubstate; // TCS sub-state
};

/*
* Telescope Status Data Structure
*/
struct tifSTATUS
{
// TBD
};

/*
* Common TCS Library init function
*/
ccsCOMPL_STAT tifInitLibs(ccsERROR *error = NULL);

/*
* TCS Data Query Library functions
*/
ccsCOMPL_STAT tifGetPosition(tifPOSITION *position, ccsERROR *error = NULL);
ccsCOMPL_STAT tifGetStates(tifSTATES *states, ccsERROR *error = NULL);
ccsCOMPL_STAT tifGetStatus(tifSTATUS *status, ccsERROR *error = NULL);
ccsCOMPL_STAT tifGetByName(char *nameIndex, char *buffer, dbTYPE *type = NULL,
ccsERROR *error = NULL);
ccsCOMPL_STAT tifGetFitsStart(const char *imageFile, ccsERROR *error = NULL);
ccsCOMPL_STAT tifGetFitsEnd(const char *imageFile, ccsERROR *error = NULL);

/*
* TCS Event Library functions
*/
ccsCOMPL_STAT tifAttachEvent(char *nameIndex, evtEVENT_ID *eventId,
ccsERROR *error = NULL);
ccsCOMPL_STAT tifDetachEvent(evtEVENT_ID *eventId, ccsERROR *error = NULL);

#endif /*!TIF_H*/



5.2.2 tifDefines.h


#ifndef tifDefines_H
#define tifDefines_H
/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: tifDefines.h,v 1.125 2002/03/07 15:13:48 vltsccm Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* awalland 2002-01-11 Added defines for guiding state and mode
* gchiozzi 2001-03-05 tifMAX_NAMES_RECS from 100 to 200 (spr. 20000473)
* gchiozzi 10/09/97 Table size defines reduced to 100 entries. This should be OK
* gchiozzi 23/04/97 Added tifMAX_CMD_RECS
* gchiozzi 01/12/95 created
*/

/************************************************************************
*
* This file contains common defines used both by C/C++ files and
* dbLoader files
*----------------------------------------------------------------------
*/

/* Module name */
#define tifMOD "tif"

/* Maximum number of records in the cmd table */
#define tifMAX_CMD_RECS 100
/* Maximum number of records in the data info and event info tables */
#define tifMAX_NAMES_RECS 200

/* Some useful defines for guiding */
#define tifAG_STATE_OPERATING 121
#define tifAG_STATE_GUIDING 122
#define tifAG_STATE_MANUAL 123

#define tifAG_MODE_NONE 0
#define tifAG_MODE_AUTOGUIDE 1
#define tifAG_MODE_FIELDSTAB 2
#define tifAG_MODE_PROBEGUIDE 3

#endif /*!tifDefines_H*/


5.2.3 m2com.h

#ifndef m2com_H
#define m2com_H
/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: m2com.h,v 1.5 1998/10/19 02:03:14 vltsccm Exp $"
*
* who when what
* -------- -------- ----------------------------------------------
* tcsmgr 18/10/98 Replaced (phi,theta) with (alpha,delta)
* gchiozzi 13/08/98 Added support for NOCCS.
* gchiozzi 26/06/97 created
*/

/*
* If NOCCS is defined, no CCS error handling is provided
*/
#ifdef NOCCS
#include "miscNoCcs.h"
#include "m2comErrorsNoCcs.h"
#else
#include "CCS.h"
#include "m2comErrors.h"
#endif

/*
* Module name
*/
#define m2comMOD "m2com"

/**************************************/
/* Port numbers and types */
/* */
/* This are in m2tc.h and are now */
/* just copied here for testing */
/**************************************/

/* #include "m2tc.h" */

#define M2TC_DEFAULT_TILT_RECV_PORT 8067
#define M2TC_DEFAULT_BOOK_ID 1

typedef struct {
vltDOUBLE alpha;
vltDOUBLE delta;
} m2tcFS_OFFSET;

typedef struct {
int bookId;
int relative;
m2tcFS_OFFSET offset;
} m2tcFS_SEND_BUF;

/***********************/
/* Library functions */
/***********************/

ccsCOMPL_STAT m2comConnect(int *fd, char *host, ccsERROR *error);
ccsCOMPL_STAT m2comSend(int fd, m2tcFS_SEND_BUF *data, ccsERROR *error);
ccsCOMPL_STAT m2comDisconnect(int fd, ccsERROR *error);


#endif /*!m2com_H*/


5.3 ERROR DEFINITIONS

This section contains copies of the error definitions files as they are generated by the error editor.

5.3.1 Star Catalog Interface

Warning !!
This is a "prototype" version and will be updated as soon as the skycatlib error handling improves.

#

# Version Id. is specified at the end of the file

#

# Error Definition File Created on Jan 10 22:41:07 1996

#

# This file has been generated by a utility

#

# !!!!!!!!!!! DO NOT MANUALLY EDIT THIS FILE !!!!!!!!!!!

#

###########################################################

1 W {}

catifERR_NULL_PTR : Data Pointer is NULL (%s)

catifERR_NULL_PTR.hlp

2 W {}

catifERR_CLOSE : Cannot Close Connection To Catalog %s

catifERR_CLOSE.hlp

3 W {}

catifERR_OPEN : Cannot Open Catalog "%s"

catifERR_OPEN.hlp

4 W {}

catifERR_GET_DESCRIPTION : Cannot Get Record Structure for Catalog "%s"

catifERR_CLOSE.hlp

5 W {}

catifERR_GET_OBJECT : Cannot Get Object "%s" from Catalog "%s"

catifERR_CLOSE.hlp

6 W {}

catifERR_GET_AREA : Failure of Rectangular Search in Catalog "%s"

catifERR_CLOSE.hlp

7 W {}

catifERR_CIRCULAR_SEARCH : Failure of Circular Search in Catalog "%s"

catifERR_CLOSE.hlp

8 W {}

catifERR_CLOSE_STAR : Cannot Get Star Close to parm. ra=%f, dec=%f, mag0=%f, mag1=%f in Catalog "%s"

catifERR_CLOSE.hlp

9 W {}

catifERR_CATALOG_SEARCH : Failure searching in Catalog "%s"

catifERR_CLOSE.hlp

#

# "@(#) $Id: catif_ERRORS,v 1.2+ 1996/01/16 08:39:25 vltsccm Exp $"

5.3.2 Database interface and Event configuration


#

# Version Id. is specified at the end of the file

#

# Error Definition File Created on Nov 23 08:27:59 1995

#

# This file has been generated by utility errEditor

#

# !!!!!!!!!!! DO NOT MANUALLY EDIT THIS FILE !!!!!!!!!!!

#

1 W {}

tifERR_TIMEOUT : Timeout (%i s) on waiting for reply to %s command from TCS process <%s>%s

2 W {}

tifERR_CONFIG : Configuration failed: %s

3 W {}

tifERR_ROUTING : Command Routing Error: %s

4 W {}

tifERR_COMMAND : Error in processing %s command: %s

5 W {}

tifERR_GENERAL : %s

6 S {}

tifERR_DB_ACCESS : Failed to access local database on %s

7 S {}

tifERR_OBJECT : Object in FAILURE state

8 W {}

tifERR_NAME : Unknown name %s

9 W {}

tifERR_TYPE : Unsupported data type %s for named data item number %s

10 W {}

tifERR_ATTACH_EVENT : failed to attach event for %s

11 W {}

tifERR_DETACH_EVENT : failed to detach event

12 W {}

tifERR_RANGE : Parameter %s, value %s is out of range

13 W {}

tifERR_STATE : Operation %s invalid in state %s

#

# "@(#) $Id: tif_ERRORS,v 1.11+ 1996/01/16 07:57:12 mnastvog Exp $"

5.4 COMMAND DEFINITION TABLE FOR tifControl


//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifControl.cdt,v 1.125 2002/03/07 15:13:34 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-10 add PG mode to STARTAG
// awalland 2001-10-08 Added Nasmyth A beacon commands (SPR20010236)
// rkarban 2001-07-04 add default reply to STRTCHP, STOPCHP
// rkarban 2001-07-03 add coude guiding commands
// rkarban 2001-04-19 set default value of strtchp, stopchp to empty strin
// gchiozzi 2000-06-21 Added commands to control Nasmyth (altitude) Shutter
// tcsmgr2 1999-12-01 Removed FINDGS command
// mkiekebu 01/07/99 command OFFSGP added
// awalland 28/12/98 Added ADCMIN command
// awalland 29/11/98 SELINS now public (SPR980592)
// rkarban 27/10/98 add FSREQ, FSREL commands
// gchiozzi 17/10/98 Updated CDTs
// gchiozzi 10/11/97 Fixed minor errors and doc
// gchiozzi 22/10/97 Added new commands. The ICD is now complete.
// gchiozzi 16/09/97 Changed range for ROTFIX command
// gchiozzi 15/09/97 Removed STOP command definition. Not used.
// gchiozzi 09/09/97 Updated INS Data commands from MSW.
// awalland 31/05/97 Added ABSFOC and MOVGP (needed by NTT)
// gchiozzi 29/04/97 Added commands for msw: GETINS, GETINSD, SETINSD
// awalland 17/03/97 Added OFFSROT command
// added CAIN and COUT (needed by NTT, to be cleaned up
// later with VLT)
// awalland 11/02/97 Added OFFSADG command (combined offset)
// awalland 24/01/97 Added OFFSFOC command (for telescope focus sequences)
// nttmgr 14/12/96 Added Offset Rotator to PRSCOOR
// gchiozzi 09/01/96 added units, changed ranges
// gchiozzi 19/10/95 added default replies
// nfiebig 10/10/95 created for cmm
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS
#include "tifPUB_MSW.cdt"
#include "tifPUB_PRS.cdt"
#include "tifPUB_TRK.cdt"
#include "tifPUB_AG.cdt"
#include "tifPUB_PROBE.cdt"
#include "tifPUB_ROT.cdt"
#include "tifPUB_FS.cdt"
#include "tifPUB_AO.cdt"
#include "tifPUB_CHP.cdt"
#include "tifPUB_ECS.cdt"
#include "tifPUB_M1M3.cdt"
#include "tifPUB_M4.cdt"
#include "tifPUB_ALT.cdt"
#include "tifPUB_NTT.cdt"
#include "tifPUB_NABCN.cdt"

MAINTENANCE_COMMANDS
#include "tifMAINT.cdt"

TEST_COMMANDS
#include "tifTEST.cdt"



//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifMAINT.cdt,v 1.125 2002/03/07 15:13:39 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

MAINTENANCE_COMMANDS
//======================================================================
//**********************************************************************
//******* Module internal commands *************************************
//======================================================================


COMMAND= INIT

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
@

//======================================================================

COMMAND= EXIT

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Terminates the tif module.
@

//======================================================================

COMMAND= STANDBY

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Switches the tif module from any module state to the STANDBY state.
@

//======================================================================

COMMAND= ONLINE

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Switches the tif module from any module state to the ON-LINE state.
@

//======================================================================

COMMAND= OFF

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Switches the tif module from any module state to the LOADED state.
@

//======================================================================

COMMAND= SIMULAT

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Switches the tif module to simulation mode.
@

//======================================================================

COMMAND= STOPSIM

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Switches the module from simulation back to normal mode.
@

//======================================================================

COMMAND= SELFTST

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= devName
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE=
PAR_DEF_VAL= ""

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Performs a selftest of the software device on software level.
@

//======================================================================

COMMAND= STATE

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A // "<state>"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "ONLINE"


HELP_TEXT=
Returns the module state of the tif module.
@

//======================================================================

COMMAND= STATUS

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "State: ONLINE - Default CMD reply"


HELP_TEXT=
Returns the status of the tif module.
@

//======================================================================

COMMAND= KILL

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A // normally empty
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Kills the tif process by brutally deleting all its tasks. THIS COMMAND
is ONLY FOR CASES WHERE THE SYSTEM IS MESSED UP. USE WITH CARE!!!
@

//======================================================================

COMMAND= BREAK

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A // normally empty
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Stops the current action.
@

//======================================================================

COMMAND= PING

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A // normally empty
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Get lifesign from module.
@

//======================================================================

COMMAND= TEST

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= function
PAR_TYPE= STRING
PAR_OPTIONAL= YES
PAR_MAX_REPETITION=999

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Perform a complete test of the software module.
@


//======================================================================

COMMAND= VERBOSE

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= onOff
PAR_TYPE= STRING
PAR_RANGE= ENUM "On" , "Off"
PAR_DEF_VAL= "Off"

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Switch on or off verbose mode.
@
//======================================================================

COMMAND= VERSION

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A // "Module tif, Version <version-id>"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "Version: @(#) $Id: tifMAINT.cdt,v 1.125 2002/03/07 15:13:39 vltsccm Exp $"


HELP_TEXT=
Returns the module version ID as a string in the reply. This command is
allowed in any state, it can be given as a kind of "ping" request.
@

//======================================================================

COMMAND= GETPEND

SYNONYMS=

FORMAT= A

PARAMETERS=

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "0"


HELP_TEXT=
Get number of pending commands, i.e. of commands for which the last
reply was not yet received.
@

//======================================================================

COMMAND= PRNCMD

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A // "OK"
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Prints the loaded routing table onto the standard output.
@


//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_AG.cdt,v 1.125 2002/03/07 15:13:35 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt

//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS

//**********************************************************************
//******* AUTO GUIDER *************************
//======================================================================

COMMAND= STARTAG

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= repFreq
PAR_UNIT= Hz
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0.0; MAX=10.0
PAR_DEF_VAL= 0

PAR_NAME= at
PAR_TYPE= STRING
PAR_DEF_VAL= "now"

PAR_NAME= mode
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "AG" , "FS", "PG", "SF"
PAR_DEF_VAL= "AG"

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK. Start guiding"

HELP_TEXT=
Start autoguiding.

Parameter <at> defines the time when to start auto-guiding.
The time parameter <at> shall comply ISO8601, ie YYYY-MM-DDThh:mm:ss.uuu

The optional parameter <repFreq> defines with which frequency the agServer
process shall report error vectors to WS. This feature is used for testing.

The optional parameter <mode> is used to select between Auto Guiding and
Field Stabilisation (or Rapid Guiding) mode.
"SF" instruct the system to use the mode specified in the current setup file.
This is used only by the Field Stabilisation module.
@

//----------------------------------------------------------------------

COMMAND= BOX2GS
SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= errorMax
PAR_UNIT=
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0.0; MAX=10.0
PAR_DEF_VAL= 0.0

PAR_NAME= repFreq
PAR_UNIT= Hz
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0.0; MAX=10.0
PAR_DEF_VAL= 0

PAR_NAME= at
PAR_TYPE= STRING
PAR_DEF_VAL= "now"

PAR_NAME= mode
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "AG" , "FS", "SF"
PAR_DEF_VAL= "AG"

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Move box to guide star, then start guiding.
The parameter 'errorMax' is the maximum error allowed.
A value of 0 means to use the currently set value,
that by default is initially 0.2.
Parameters repFreq and at are the same as for STARTAG command.

The time parameter <at> shall comply ISO8601, ie YYYY-MM-DDThh:mm:ss.uuu

The optional parameter <mode> is used to select between Auto Guiding and
Field Stabilisation (or Rapid Guiding) mode.
"SF" instruct the system to use the mode specified in the current setup file.
This is used only by the Field Stabilisation module.
@

//----------------------------------------------------------------------

COMMAND= STOPAG

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= force
PAR_TYPE= LOGICAL
PAR_DEF_VAL= FALSE

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK. Stop guiding"

HELP_TEXT=
Stop autoguiding.If not active, an error is returned.
The "force" parameter forces to send an explicit STOP
to subsystems (CCD and AG LCU) even if Auto Guiding is not
currently running.
This is used internally and to exit from dirty situations.
@

//======================================================================

COMMAND= OFFSADG

SYNONYMS= trkOffsADG

FORMAT= A

PARAMETERS=
PAR_NAME= offsetAlpha
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0 // +-1 degree
PAR_DEF_VAL= 0.0

PAR_NAME= offsetDelta
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0 // +-1 degree
PAR_DEF_VAL= 0.0

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Issue an ADG offset step.
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_ALT.cdt,v 1.125 2002/03/07 15:13:37 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

PUBLIC_COMMANDS

//======================================================================
//**********************************************************************
//******* NASMYTH (ALTITUDE) SHUTTER COMMANDS *************************
//----------------------------------------------------------------------


COMMAND= SHOPEN

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= side
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "A", "B"

REPLY_FORMAT= A // "OK"

HELP_TEXT=
Requests to open an altitude shutter. The mandatory parameter specifies the side:
A or B.
@
//======================================================================

COMMAND= SHCLOSE

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= side
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "A", "B"

REPLY_FORMAT= A // "OK"

HELP_TEXT=
Requests to close an altitude shutter. The mandatory parameter specifies the side:
A or B.
@
//======================================================================

COMMAND= SHSTAT

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A // "OK"

HELP_TEXT=
Requests altitude shutters status.
@



//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_AO.cdt,v 1.125 2002/03/07 15:13:36 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS

//**********************************************************************
//******* ACTIVE OPTICS commands ********************************
//======================================================================

COMMAND= STARTAO
SYNONYMS=
FORMAT= A
PARAMETERS=

PAR_NAME= flag
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "REF","STAR"
PAR_DEF_VAL= "STAR"

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"
HELP_TEXT=
Start cyclic full active optive corrections.
@

//======================================================================

COMMAND= STOPAO
SYNONYMS=
FORMAT= A
REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"
HELP_TEXT=
Stop execution of active optics commands.
@

//======================================================================

COMMAND= FGETAO

SYNONYMS=

FORMAT= A

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= offset
PAR_UNIT= mm
PAR_TYPE= REAL

HELP_TEXT=
Retrieves the current m2 focus offset along Z axis in mm.
@

//======================================================================

COMMAND= OFFSFM2
SYNONYMS=
FORMAT= A
PARAMETERS=

PAR_NAME= typeSettings
PAR_TYPE= STRING
PAR_RANGE= ENUM "DIFF", "ABS"
PAR_DEF_VAL= "DIFF"

PAR_NAME= offset
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-30.0; MAX=30.0

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"
HELP_TEXT=
Absolute or differential M2 position settings along Z axis.
@

COMMAND= SEQAO
SYNONYMS=
FORMAT= A
PARAMETERS=

PAR_NAME= flag
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "REF","STAR"
PAR_DEF_VAL= "STAR"

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"
HELP_TEXT=
Start a set of full active optics corrections.
All parameters are set interactively in the GUI.
@

COMMAND= CYCLAO
SYNONYMS=
FORMAT= A
PARAMETERS=

PAR_NAME= flag
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "REF","STAR"
PAR_DEF_VAL= "STAR"

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"
HELP_TEXT=
Start cyclic full active optive corrections.
@

COMMAND= ONECAL
SYNONYMS=
FORMAT= A
PARAMETERS=

PAR_NAME= typeSettings
PAR_TYPE= INTEGER
PAR_OPTIONAL= NO
PAR_DEF_VAL= 0

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"
HELP_TEXT=
Absolute M1 force and M2 position settings.
Forces and positions are calculated from pre-computed calibration data
(force X zenith angle X mode )
@

COMMAND= OFFSFAD
SYNONYMS=
FORMAT= A
PARAMETERS=

PAR_NAME= typeSettings
PAR_TYPE= STRING
PAR_RANGE= ENUM "REL", "ABS"
PAR_DEF_VAL= "REL"

PAR_NAME= offset
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-5.0; MAX=30.0

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"
HELP_TEXT=
Absolute or differential adapter focus position setting.
@




//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_CHP.cdt,v 1.125 2002/03/07 15:13:36 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS

//**********************************************************************
//******* CHOPPING commands ********************************
//======================================================================

COMMAND= SETBAFF

FORMAT= A
PARAMETERS=
PAR_NAME= mode
PAR_TYPE= STRING
PAR_RANGE= ENUM "RETRACTED", "DEPLOYED"
PAR_DEF_VAL= "RETRACTED"


REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=Retract of deploy sky baffle
@

//----------------------------------------------------------------------

COMMAND= STRTCHP

FORMAT= A
PARAMETERS=
PAR_NAME= startTime
PAR_TYPE= STRING
PAR_DEF_VAL= "now"

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= time
PAR_TYPE= STRING
PAR_DEF_VAL= "1999-12-31T00:00:00.000000"

HELP_TEXT=
The parameter time, startTime is in the ISO format yyyy-mm-ddThh:mm:ss.uuuu.
If now is given, the current time plus the configured delay is taken
and returned in the reply.
@

//----------------------------------------------------------------------

COMMAND= STOPCHP

FORMAT= A

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "1999-12-31T00:00:00.000000"

HELP_TEXT=
The parameter time is in the ISO format yyyy-mm-ddThh:mm:ss.uuuu.
@


//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_ECS.cdt,v 1.125 2002/03/07 15:13:38 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS
//**********************************************************************
//******* ENCLOSURE commands ********************************
//======================================================================

COMMAND= DMSMODE

FORMAT= A

PARAMETERS=
PAR_NAME= mode
PAR_TYPE= STRING
PAR_RANGE= ENUM "AUTO", "SEMI", "COMMAND"
PAR_DEF_VAL= "AUTO"

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Select the operational mode for dome rotation.
AUTO: automatic position update
SEMI: position reference calculated every second but preset only on request
COMMAND: position reference calculated and preset only on request
@

//----------------------------------------------------------------------

COMMAND= WSMODE

FORMAT= A

PARAMETERS=
PAR_NAME= mode
PAR_TYPE= STRING
PAR_RANGE= ENUM "AUTO", "SEMI", "COMMAND"
PAR_DEF_VAL= "AUTO"

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Select the operational mode for the windscreens.
auto: automatic position update
semi: position reference calculated every second but preset only on request
command: position reference calculated and preset only on request
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_FS.cdt,v 1.125 2002/03/07 15:13:39 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt

//
// Command Definition Table for the tif module control process

//======================================================================


PUBLIC_COMMANDS

//**********************************************************************
//******* FIELD STABILISATION commands *************************
//======================================================================


COMMAND= FSREQ
SYNONYMS=

FORMAT= A

PARAMETERS=

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= bookid
PAR_TYPE= STRING
PAR_DEF_VAL= "XXX"


HELP_TEXT=
Request permission for performing Rapid Guiding.
If OK, receives back the booking Id to be used to comunicate with M2
as a string, to be converted in integer by the user.
The command is accepted only if NO Auto Guiding is taking place.
ATTENTION: Implemented only in Field Stabilisation module.
@

//----------------------------------------------------------------------

COMMAND= FSREL

FORMAT= A

PARAMETERS=

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Release permission for performing Rapid Guiding from an instrument.
ATTENTION: Implemented only in Field Stabilisation module.
@


//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_M1M3.cdt,v 1.125 2002/03/07 15:13:34 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS

//**********************************************************************
//******* M1 M3 commands ********************************
//======================================================================

COMMAND= FFIN

FORMAT= A

PARAMETERS=

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Move Cassegrain Flat Field screen IN
@

//----------------------------------------------------------------------

COMMAND= FFOUT

FORMAT= A

PARAMETERS=

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Move Cassegrain Flat Field screen OUT
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_MSW.cdt,v 1.125 2002/03/07 15:13:34 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

PUBLIC_COMMANDS

//======================================================================
//**********************************************************************
//******* MSW commands *************************************************
//======================================================================
// Get Selected Instrument
//======================================================================

COMMAND= GETINS

SYNONYMS= getSelInstrument

FORMAT= A

PARAMETERS=

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= insId
PAR_UNIT= String up to 32 character, ins+detector id (IsaacLw)
PAR_TYPE= STRING
PAR_DEF_VAL= "UNKNOWN"

HELP_TEXT=
Retrieve the selected observing instrument
@
//----------------------------------------------------------------------

//======================================================================
// Select Instrument
//======================================================================

COMMAND= SELINS

SYNONYMS= selectInstrument

FORMAT= A

PARAMETERS=
PAR_NAME= insId
PAR_UNIT= String up to 32 character, ins+detector id (IsaacLw)
PAR_TYPE= STRING

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Select the logical observing instrument.
@
//----------------------------------------------------------------------

//======================================================================
// Get Instrument Data
//======================================================================

COMMAND= GETINSD

SYNONYMS= getInsData

FORMAT= A

PARAMETERS=
PAR_NAME= insId
PAR_UNIT= String up to 32 character, ins+detector id (IsaacLw)
PAR_TYPE= STRING
PAR_DEF_VAL= ""


REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= insId
PAR_UNIT= String up to 32 character, ins+detector id (IsaacLw)
PAR_TYPE= STRING
PAR_DEF_VAL= "UNKNOWN"

PAR_NAME= insMode
PAR_UNIT= String up to 32 character, ins mode id
PAR_TYPE= STRING
PAR_DEF_VAL= "UNKNOWN"

PAR_NAME= focusStation
PAR_UNIT=
PAR_TYPE= STRING
PAR_DEF_VAL= "NONE"

PAR_NAME= offsetRot
PAR_UNIT= DD.TTT
PAR_TYPE= REAL
PAR_DEF_VAL= 0.0

PAR_NAME= offsetFocus
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_DEF_VAL= 0.0

PAR_NAME= pixelSizeX
PAR_UNIT= arcsec/pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= pixelSizeY
PAR_UNIT= arcsec/pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaSizeX
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaSizeY
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaCntX
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaCntY
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= pointAxisOffX
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= pointAxisOffY
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= detectorLcu
PAR_UNIT= Str up to 256 ch. Environment + process name (@env:proc)
PAR_TYPE= STRING
PAR_DEF_VAL= ""

PAR_NAME= refX
PAR_UNIT= pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= refY
PAR_UNIT= pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= adapterFocus
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_DEF_VAL= 0.0


HELP_TEXT=
Retrieve configuration parameters for the selected instrument
@

//======================================================================
// Set Instrument Data
//======================================================================

COMMAND= SETINSD

SYNONYMS= setInsData

FORMAT= A

PARAMETERS=
PAR_NAME= insId
PAR_UNIT= String up to 32 character, ins+detector id (IsaacLw)
PAR_TYPE= STRING

PAR_NAME= insMode
PAR_UNIT= String up to 32 character, ins mode id
PAR_TYPE= STRING
PAR_DEF_VAL= ""

PAR_NAME= focusStation
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "UNDEFINED", "NA","NB","CA","CO","IM"
PAR_DEF_VAL=

PAR_NAME= offsetRot
PAR_UNIT= DD.TTT
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-360.0;MAX=360.0
PAR_DEF_VAL= 0.0

PAR_NAME= offsetFocus
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_DEF_VAL= 0.0

PAR_NAME= pixelSizeX
PAR_UNIT= arcsec/pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= pixelSizeY
PAR_UNIT= arcsec/pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaSizeX
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaSizeY
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaCntX
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= vigAreaCntY
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= pointAxisOffX
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= pointAxisOffY
PAR_UNIT= arcsec
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= detectorLcu
PAR_UNIT= Str up to 256 ch. Environment + process name (@env:proc)
PAR_TYPE= STRING
PAR_DEF_VAL= ""

PAR_NAME= refX
PAR_UNIT= pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= refY
PAR_UNIT= pixel
PAR_TYPE= REAL
PAR_DEF_VAL= 0

PAR_NAME= adapterFocus
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_DEF_VAL= 0.0

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Sets configuration parameters for an instrument
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_NTT.cdt,v 1.125 2002/03/07 15:13:37 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS
//**********************************************************************
//******* NTT SPECIFIC COMMANDS ********************************
//----------------------------------------------------------------------

//**********************************************************************
//******* NTT CALIBRATION UNIT commands ********************************
//----------------------------------------------------------------------
COMMAND= CAIN

SYNONYMS=

FORMAT= A

PARAMETERS=

REPLY_FORMAT= A

HELP_TEXT=
(CAIN) Move calibration unit to IN position (guide probes are moved out to
park positions and calibration mirror is moved to center position in order to
reflect light coming from calibration unit)
@
//----------------------------------------------------------------------
COMMAND= COUT

SYNONYMS=

FORMAT= A

PARAMETERS=

REPLY_FORMAT= A

HELP_TEXT=
(CAOUT) Move calibration unit to OUT position (no guide probe is moved)
@

//**********************************************************************
//******* NTT GUIDE PROBE commands *************************************

//----------------------------------------------------------------------
COMMAND= MOVGP
SYNONYMS=
FORMAT= A
PARAMETERS=
PAR_NAME= nttadGuideProbeNumber
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "GP1", "GP2", ""
PAR_DEF_VAL= ""
PAR_NAME= nttadXPosition
PAR_UNIT=
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0.0; MAX=175.0
PAR_DEF_VAL=
PAR_NAME= nttadYPosition
PAR_UNIT=
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0.0; MAX=325.0
PAR_DEF_VAL=
REPLY_FORMAT= A
HELP_TEXT=
(MOVGP) Set the specified guide probe to requested X and Y. This command will
also set the trombone (focus) unit and the reference unit (guide probe 1 only)
@

//**********************************************************************
//******* NTT M2 FOCUS commands ****************************************

//======================================================================

COMMAND= OFFSFOC

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= axis
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "X" , "Y", "Z", "x", "y", "z"
PAR_DEF_VAL= "Z"

PAR_NAME= offset
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-30.0; MAX=30.0
PAR_DEF_VAL= 0.0

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Issue an offset to mirror 2 in mm.
@

//======================================================================

COMMAND= ABSFOC

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= axis
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "X" , "Y", "Z", "x", "y", "z"
PAR_DEF_VAL= "Z"

PAR_NAME= abspos
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-30.0; MAX=30.0
PAR_DEF_VAL= 0.0

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Issue an absolute position to mirror 2 in mm.
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_PROBE.cdt,v 1.125 2002/03/07 15:13:38 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt

//
// Command Definition Table for the tif module control process

//======================================================================


PUBLIC_COMMANDS
//**********************************************************************
//******* GUIDE PROBE commands *************************
//======================================================================

COMMAND= PRGS

FORMAT= A

PARAMETERS=

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Select the next suitable guide star in the internal catalogue and
position the probe to it. If no more un-tried entry is available
an error is returned.
@

//----------------------------------------------------------------------

COMMAND= PRPARK

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Move probe to park position.
@

//======================================================================

COMMAND= PRCNT

SYNONYMS=

FORMAT= A

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Move probe to center position.
@

COMMAND= OFFSGP

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= offsetAlpha
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-1800.0;MAX=1800.0
PAR_DEF_VAL= 0.0

PAR_NAME= offsetDelta
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-1800.0;MAX=1800.0
PAR_DEF_VAL= 0.0

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Issue an offset step to the guide probe.
@

//======================================================================

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_PRS.cdt,v 1.125 2002/03/07 15:13:35 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS
//**********************************************************************
//******* PRS commands *************************************************
//======================================================================

COMMAND= CLRSTP

SYNONYMS=

FORMAT= A

PARAMETERS=

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Clear ready SETUP file resetting default values
@

//----------------------------------------------------------------------


COMMAND= PRSALAZ

FORMAT= A

PARAMETERS=
PAR_NAME= alt
PAR_UNIT= DD.TTT
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN= 0.0;MAX=90.0

PAR_NAME= az
PAR_UNIT= [+-]DDD.TTT
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-180.0;MAX=360.0

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Preset telescope to given altaz position
@
//----------------------------------------------------------------------

COMMAND= PRSCOOR

FORMAT= A

// To be completed wih parameters details
PARAMETERS=
PAR_NAME= alpha
PAR_UNIT= HHMMSS.TTT
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0;MAX=240000.0

PAR_NAME= delta
PAR_UNIT= [+-]DDMMSS.TTT
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-900000.0;MAX=900000.0

PAR_NAME= epochSystem
PAR_UNIT= YEARS
PAR_TYPE= STRING
PAR_RANGE= ENUM "J","B"
PAR_DEF_VAL= "J"

PAR_NAME= epoch
PAR_UNIT=
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-2000.0;MAX=3000.0
PAR_DEF_VAL= 2000

PAR_NAME= equinox
PAR_UNIT= YEARS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-2000.0;MAX=3000.0
PAR_DEF_VAL= 2000

PAR_NAME= pma
PAR_UNIT= ARCSECONDS/YEAR
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-10.0;MAX=10.0
PAR_DEF_VAL= 0

PAR_NAME= pmd
PAR_UNIT= ARCSECONDS/YEAR
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-10.0;MAX=10.0
PAR_DEF_VAL= 0

PAR_NAME= radvel
PAR_UNIT= km/sec
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-200000.0;MAX=200000.0
PAR_DEF_VAL= 0

PAR_NAME= parallax
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-10000.0;MAX=10000.0
PAR_DEF_VAL= 0

PAR_NAME= coordinateType
PAR_TYPE= STRING
PAR_RANGE= ENUM "A","M"
PAR_DEF_VAL= "M"

PAR_NAME= wavelength
PAR_UNIT= NANOMETER
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=100.0 ; MAX=20000.0
PAR_DEF_VAL= 650.0

PAR_NAME= offsetAlpha
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600000.0;MAX=3600000.0
PAR_DEF_VAL= 0.0

PAR_NAME= offsetDelta
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600000.0;MAX=3600000.0
PAR_DEF_VAL= 0.0

PAR_NAME= offsetRot
PAR_UNIT= DEGREES
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-360.0;MAX=360.0
PAR_DEF_VAL= 0.0


REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Preset telescope to given coordinates
@
//----------------------------------------------------------------------

COMMAND= PRSNAME

FORMAT= A

PARAMETERS=
PAR_NAME= posName
PAR_TYPE= STRING

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Send named position for a new fixed object.
@
//======================================================================

COMMAND= STOPTRK

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= function
PAR_TYPE= STRING
PAR_OPTIONAL= YES
PAR_MAX_REPETITION=999

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Stop telescope movement
@

//======================================================================

COMMAND= SAVCSTP

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= file
PAR_UNIT= PATH_NAME
PAR_TYPE= STRING

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Save a copy of the current setup file with the given name
@

//======================================================================

COMMAND= SAVRSTP

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= file
PAR_UNIT= PATH_NAME
PAR_TYPE= STRING

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Save a copy of the ready setup file with the given name
@

//======================================================================

COMMAND= SETUP

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= expoId
PAR_TYPE= INTEGER
PAR_OPTIONAL=YES

PAR_NAME= file
PAR_TYPE= STRING
PAR_OPTIONAL=YES
PAR_MAX_REPETITION=999

PAR_NAME= function
PAR_TYPE= STRING
PAR_OPTIONAL=YES
PAR_MAX_REPETITION=999

PAR_NAME= noMove
PAR_TYPE= LOGICAL
PAR_OPTIONAL=YES
PAR_DEF_VAL= FALSE

PAR_NAME= check
PAR_TYPE= LOGICAL
PAR_OPTIONAL=YES
PAR_DEF_VAL= FALSE

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= expoId
PAR_TYPE= INTEGER

PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Handle a new setup configuration
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_ROT.cdt,v 1.125 2002/03/07 15:13:40 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt

//
// Command Definition Table for the tif module control process

//======================================================================


PUBLIC_COMMANDS
//**********************************************************************
//******* ROTATOR commands *************************
//======================================================================

COMMAND= ROTFIX

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= absRelFlag
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "ABS", "REL"
PAR_DEF_VAL= "REL"

PAR_NAME= angle
PAR_UNIT= deg
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN =-720.0; MAX = +720.0
PAR_DEF_VAL= 0.0

PAR_NAME= timeout
PAR_UNIT= sec
PAR_TYPE= INTEGER
PAR_RANGE=
PAR_DEF_VAL= 60

REPLY_FORMAT= A // "OK"

HELP_TEXT=
Defines a new position reference in radians for the axis servo task.
@

//======================================================================

COMMAND= ROTTRK
SYNONYMS= admainRotatorTracking
FORMAT= A
PARAMETERS=
PAR_NAME= mode
PAR_UNIT=
PAR_TYPE= STRING
PAR_RANGE= ENUM "NORMAL", "NONE", "ALTAZ"
PAR_DEF_VAL= "NORMAL"
REPLY_FORMAT= A
HELP_TEXT=
Set the rotator tracking mode to None: rotator does not move,
Normal: rotator tracks in "normal" mode compensating the field rotation,
Altaz: the rotator follows asimuth axis.
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifPUB_TRK.cdt,v 1.125 2002/03/07 15:13:35 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

PUBLIC_COMMANDS
//**********************************************************************
//******* TRKWS commands ***********************************************
//======================================================================

COMMAND= OFFSAD

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= offsetAlpha
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0 // +-1 deg.
PAR_DEF_VAL= 0.0

PAR_NAME= offsetDelta
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0 // +-1 deg.
PAR_DEF_VAL= 0.0

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Issue an offset step RA and decl.
@


//======================================================================


COMMAND= OFFSAA

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= offsetAlt
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0 // +-1 degree
PAR_DEF_VAL= 0.0

PAR_NAME= offsetAz
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0 // +-1 degree
PAR_DEF_VAL= 0.0


REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Issue an alt/az offset step.
@

//======================================================================

COMMAND= OFFSXY

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= offsetX
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0
PAR_DEF_VAL= 0.0

PAR_NAME= offsetY
PAR_UNIT= ARCSECONDS
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-3600.0;MAX=3600.0
PAR_DEF_VAL= 0.0

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Issue an alt/az offset step rotated with rotator angle (x/y plane).
@

//======================================================================

COMMAND= OFFSROT

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= offsetRot
PAR_UNIT= DEGREES
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-360.0;MAX=360.0
PAR_DEF_VAL=

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Issue a rotator offset step (Note: parameter is in unit DEGREES!).
@
//======================================================================


COMMAND= OBJROT

SYNONYMS= trkObjRot

FORMAT= A

PARAMETERS=
PAR_NAME= offsetRot
PAR_UNIT= DEGREES
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-360.0;MAX=360.0
PAR_DEF_VAL=


REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Modify image orientation with respect to deafult. (Note: parameter is in unit DEGREES!).
@

//======================================================================

COMMAND= SETAV

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= offsetAlpha
PAR_UNIT= ARCSECONDS/s
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-15.0;MAX=15.0
PAR_DEF_VAL=

PAR_NAME= offsetDelta
PAR_UNIT= ARCSECONDS/s
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=-15.0;MAX=15.0
PAR_DEF_VAL=

REPLY_FORMAT = A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Set additional velocity.
@

//======================================================================

COMMAND= SETLAM

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= wavelength
PAR_UNIT= NANOMETER
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=100.0 ; MAX=20000.0
PAR_DEF_VAL= 600.0

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Set observed wavelength.
@

//======================================================================

COMMAND= SETADC

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= ADCSEP
PAR_UNIT= mm
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0.0 ; MAX=200.0
PAR_DEF_VAL=0.0


REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Set ADC separation.

@

//======================================================================

COMMAND= ADCMIN

SYNONYMS= setAdcMinimum

FORMAT= A

PARAMETERS=
PAR_NAME= lamda_red
PAR_UNIT= nm
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN= 300; MAX = 1000
PAR_OPTIONAL= YES
PAR_DEF_VAL= 800

REPLY_FORMAT = A

REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"

HELP_TEXT=
Preset ADC to minimum prism separation.
@

//======================================================================

COMMAND= SETRLIM

SYNONYMS=

FORMAT= A

PARAMETERS=
PAR_NAME= limit
PAR_UNIT= sec
PAR_TYPE= REAL
PAR_RANGE= INTERVAL MIN=0.0; MAX=600
PAR_DEF_VAL=0.0

REPLY_FORMAT= A
REPLY_PARAMETERS=
PAR_NAME= done
PAR_TYPE= STRING
PAR_DEF_VAL= "OK"


HELP_TEXT=
Set limit for remaining tracking time warning.
@

//*************************************
//
// E.S.O. - VLT project
//
// "@(#) $Id: tifTEST.cdt,v 1.125 2002/03/07 15:13:39 vltsccm Exp $"
//
// who when what
// -------- -------- ----------------------------------------------
// rkarban 2002-01-30 created from tifControl.cdt
//
// Command Definition Table for the tif module control process

//======================================================================

TEST_COMMANDS



5.5 FITS KEYWORDS

This section contains the documentation about the FITS Keywords accepted by TCS.

5.5.1 FITS Keywords dictionary


Dictionary Name: ESO-VLT-DIC.TCS
Scope: INSTRUMENT
Source: slxMakeDictionary
Version Control: @(#) $Id: ESO-VLT-DIC.TCS,v 1.20 2002/02/19 21:51:07 vltsccm Exp $
Revision: ??.??
Date: 1998-03-04T17:14
Status: Submitted
Description: Standard dictionary for TCS application
Revision: 01.00
Date: 2000-02-01T17:14
Status: Released
Description: Put in separate cmm module

Parameter Name: TEL TARG TYPE
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Type of given target
Description: The parameter indicates the type of target. It can
be one of: NO_TARGET, ALT_AZ, COORDINATE, NAMED_POS.

Parameter Name: TEL TARG ALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: HHMMSS.TTT
Comment Field: Alpha coordinate for the target
Description: Alpha coordinate for the target in HHMMSS.TTT (0 to 240000)

Parameter Name: TEL TARG DELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: DDMMSS.TTT
Comment Field: Delta coordinate for the target
Description: Delta coordinate for the target in DDMMSS.TTT (-900000 to 900000)

Parameter Name: TEL TARG EPOCH
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: 1950/2000
Comment Field: Epoch
Description: Epoch expressed as year. Only 1950 or 2000 are valid values

Parameter Name: TEL TARG EPOCHSYSTEM
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: J/B
Comment Field: Epoch system (default J=Julian)
Description: Epoch system expressed as a "J" or "B" character

Parameter Name: TEL TARG EQUINOX
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: years
Comment Field: Equinox
Description: Equinox expressed as year (-2000 to 3000)

Parameter Name: TEL TARG PMA
Class: setup
Context: telescope
Type: double
Value Format: %.6f
Unit: arcseconds/year
Comment Field: Proper Motion Alpha
Description: Proper Motion Alpha in arcseconds/year (-10.0 to 10.0)

Parameter Name: TEL TARG PMD
Class: setup
Context: telescope
Type: double
Value Format: %.6f
Unit: arcseconds/year
Comment Field: Proper motion Delta
Description: Proper Motion Delta in arcseconds/year (-10.0 to 10.0)

Parameter Name: TEL TARG RADVEL
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: km/sec
Comment Field: Radial velocity
Description: Radial velocity in km/sec (-200000 to 200000)

Parameter Name: TEL TARG PARALLAX
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: arcseconds
Comment Field: Parallax
Description: Parallax in arcseconds (-10000 to 10000)

Parameter Name: TEL TARG COORDTYPE
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: M/A
Comment Field: Coordinate type (M=mean A=apparent)
Description: Coordinate type as "M" for mean or "A" for apparent character

Parameter Name: TEL TARG ALT
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: DD.TTT
Comment Field: Altitude angle for fixed position target
Description: Altitude angle as DD.TTT (0 to 90)

Parameter Name: TEL TARG AZ
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: [+-]DDD.TTT
Comment Field: Azimuth angle for fixed position target
Description: Azimuth angle as [+-]DDD.TTT (-180 to 360)

Parameter Name: TEL TARG NAME
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: item_list
Comment Field: Name of special target position
Description: Name of target position as a string. List o names
defined in the database.

Parameter Name: TEL TARG WLENGTH
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: nm
Comment Field: Wavelenght (object)
Description: Wavelenght in nanometers (100 to 20000)

Parameter Name: TEL TARG OFFSETALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: arcseconds
Comment Field: Alpha offset for the target
Description: Alpha offset for the target in arcseconds (-3600000 to 3600000)

Parameter Name: TEL TARG OFFSETDELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: arcseconds
Comment Field: Delta offset for the target
Description: Delta offset for the target in arcseconds (-3600000 to 3600000)

Parameter Name: TEL TARG ADDVELALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.6f
Unit: arcseconds/s
Comment Field: Alpha additional tracking velocity
Description: Alpha additional tracking velocity in arcseconds/s (-15 to 15)

Parameter Name: TEL TARG ADDVELDELTA
Class: setup
Context: telescope
Type: double
Value Format: %.6f
Unit: arcseconds/s
Comment Field: Delta additional tracking velocity
Description: Delta additional tracking velocity in arcseconds/s (-15 to 15)

Parameter Name: TEL ROT PRSCRIT
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Azimuth and rotator preset criterium
Description: Azimuth and rotator preset criterium. One of a list (TBD).

Parameter Name: TEL ROT OFFANGLE
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: [+-]DDD.TTT
Comment Field: Rotator offset angle
Description: Deviation from the default orientation as [+-]DDD.TTT (-180 to 180; NA: 0=N, 90=E, 180=S, -90=W; CA: 0=S, 90=E, 180=N, -90=W).

Parameter Name: TEL ROT ENABLED
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Rotator preset enabled
Description: Rotator preset enabled (T or F)

Parameter Name: TEL ROT ALTAZTRACK
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Track rotator on alt/az instead of Alpha/Delta
Description: Track rotator on alt/az instead of Alpha/Delta (T or F)

Parameter Name: TEL AG TYPE
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Autoguiding type
Description: Type of autoguiding. One of: NONE,AUTO_GUIDE,FIELD_STAB

Parameter Name: TEL AG START
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Autoguiding active
Description: Use autoguiding (T or F)

Parameter Name: TEL AG GUIDESTAR
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Where to find guide stars
Description: Where to find guide stars. One of: NONE, SETUPFILE, CATALOGUE

Parameter Name: TEL AG OBJCNT
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Object centering
Description: Request object centering (T or F)

Parameter Name: TEL AG COUNT
Class: setup|ops-log
Context: telescope
Type: integer
Value Format: %d
Unit: counts
Comment Field: Min no. of counts on guide camera detector for
default integration time
Description: Min no. of counts on guide camera detector for
default integration time

Parameter Name: TEL AG CYCLETIME
Class: setup|ops-log
Context: telescope
Type: double
Value Format: %.3f
Unit: seconds
Comment Field: Cycle time for auto guiding (default: 0 sec., i.e. as fast as possible)
Description: This is the frequency at which the autoguider sends corrections to the telescope (ag or agws)

Parameter Name: TEL AG INTTIME
Class: setup|ops-log
Context: telescope
Type: double
Value Format: %.3f
Unit: seconds
Comment Field: Integration time for auto guiding (default: 0.5sec.)
Description: Integration time for auto guiding (default: 0.5sec.)

Parameter Name: TEL AG MAXMOVE
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: arcseconds
Comment Field: Maximum "soft movement" of guide probe ref pos, before probe movement
Description: Maximum "soft move" of probe ref pos, before probe
movement (def: 0.5arcsec)

Parameter Name: TEL AG PROBEPATH
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Restricted probe path (default: F)
Description: Restricted probe path (default: F)

Parameter Name: TEL AG MINMAG
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Minimum magnitude for suitable guide star (default: 8)
Description: Minimum magnitude for suitable guide star (default: 8)

Parameter Name: TEL AG MAXMAG
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Maximum magnitude for suitable guide star (default: 16)
Description: Maximum magnitude for suitable guide star (default: 16)

Parameter Name: TEL AG MINRAD
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Minimum inner search radius for suitable guide star (arcmin)
Description: Minimum inner search radius for suitable guide star (arcmin)

Parameter Name: TEL AG MAXRAD
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Maximum inner search radius for suitable guide star (arcmin)
Description: Maximum inner search radius for suitable guide star (arcmin)

Parameter Name: TEL AG TAKE_ACT_POS
Class: setup
Context: telescope
Type: logical
Value Format: %f
Unit: %c
Comment Field: Flag if to search around actual telescope position
Description: Flag if to search around actual telescope position

Parameter Name: TEL AG VIGLIM
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Handling of vignetting limits
Description: Handling of vignetting limits. One of: NONE, INSTRUMENT

Parameter Name: TEL AG OFFSALPHA
Class: ops-log
Context: telescope
Type: double
Value Format: %.3f
Unit: arcseconds
Comment Field: Acumulative alpha offset to the guide probe
Description: Acumualtive alpha offset send to the guide probe through
the command OFFSGP

Parameter Name: TEL AG OFFSDELTA
Class: ops-log
Context: telescope
Type: double
Value Format: %.3f
Unit: arcseconds
Comment Field: Acumulative delta offset to the guide probe
Description: Acumualtive delta offset send to the guide probe through

Parameter Name: TEL GS1 ALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: HHMMSS.TTT
Comment Field: Guide Star alpha
Description: Guide Star alpha as HHMMSS.TTT (0 to 240000)

Parameter Name: TEL GS1 DELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: [+-]DDMMSS.TTT
Comment Field: Guide Star delta
Description: Guide Star delta as [+-]DDMMSS.TTT (-900000 ro 900000)

Parameter Name: TEL GS1 MAG
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Guide Star magnitude
Description: Guide Star magnitude


Parameter Name: TEL GS1 PPOS
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Selected probe position (POS or NEG)
Description: Selected probe position. Allowed values are POS (positive) and NEG (negative)

Parameter Name: TEL GS2 ALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: HHMMSS.TTT
Comment Field: Guide Star alpha
Description: Guide Star alpha as HHMMSS.TTT (0 to 240000)

Parameter Name: TEL GS2 DELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: [+-]DDMMSS.TTT
Comment Field: Guide Star delta
Description: Guide Star delta as [+-]DDMMSS.TTT (-900000 ro 900000)

Parameter Name: TEL GS2 MAG
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Guide Star magnitude
Description: Guide Star magnitude


Parameter Name: TEL GS2 PPOS
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Selected probe position (POS or NEG)
Description: Selected probe position. Allowed values are POS (positive) and NEG (negative)

Parameter Name: TEL GS3 ALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: HHMMSS.TTT
Comment Field: Guide Star alpha
Description: Guide Star alpha as HHMMSS.TTT (0 to 240000)

Parameter Name: TEL GS3 DELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: [+-]DDMMSS.TTT
Comment Field: Guide Star delta
Description: Guide Star delta as [+-]DDMMSS.TTT (-900000 ro 900000)

Parameter Name: TEL GS3 MAG
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Guide Star magnitude
Description: Guide Star magnitude


Parameter Name: TEL GS3 PPOS
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Selected probe position (POS or NEG)
Description: Selected probe position. Allowed values are POS (positive) and NEG (negative)

Parameter Name: TEL GS4 ALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: HHMMSS.TTT
Comment Field: Guide Star alpha
Description: Guide Star alpha as HHMMSS.TTT (0 to 240000)

Parameter Name: TEL GS4 DELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: [+-]DDMMSS.TTT
Comment Field: Guide Star delta
Description: Guide Star delta as [+-]DDMMSS.TTT (-900000 ro 900000)

Parameter Name: TEL GS4 MAG
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Guide Star magnitude
Description: Guide Star magnitude


Parameter Name: TEL GS4 PPOS
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Selected probe position (POS or NEG)
Description: Selected probe position. Allowed values are POS (positive) and NEG (negative)

Parameter Name: TEL GS5 ALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: HHMMSS.TTT
Comment Field: Guide Star alpha
Description: Guide Star alpha as HHMMSS.TTT (0 to 240000)

Parameter Name: TEL GS5 DELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: [+-]DDMMSS.TTT
Comment Field: Guide Star delta
Description: Guide Star delta as [+-]DDMMSS.TTT (-900000 ro 900000)

Parameter Name: TEL GS5 MAG
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Guide Star magnitude
Description: Guide Star magnitude


Parameter Name: TEL GS5 PPOS
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Selected probe position (POS or NEG)
Description: Selected probe position. Allowed values are POS (positive) and NEG (negative)

Parameter Name: TEL AO START
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Active Optics active
Description: Use active optics (T or F)

Parameter Name: TEL M1 PSOUP
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Sets M1 passive supports
Description: Sets M1 passive supports (T or F).

Parameter Name: TEL M2 RESET
Class: setup
Context: telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: Reset M@ tip/tilt/chopping to center pos.
Description: Reset M@ tip/tilt/chopping to center pos (T or F).

Parameter Name: TEL ADC TYPE
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Select ADC Action
Description: Select ADC Action. One of: NONE, ACTUAL, COORD, ZENITH, ABSPOS.
If the TYPE is NONE, there is no motion request sent to ADC (this is the mode always used in the Nasmyth foci).
If the TYPE is ACTUAL, TEL.ADC.LAMRED and TEL.ADC.LAMBLUE are of importance
(they are defaulted to 800 and 400nm,resp.) The parameter TEL.ADC.DTIME is
optional; if you specify, the optimum setting of ADC is for the actual
telescope coordinates at time "now" + DTIME. If it is
not specified, it is defaulted to 0, i.e the setting will be for time "now".
If the TYPE is COORD, TEL.ADC.LAMRED and TEL.ADC.LAMBLUE define
the wavelength range for which the calculated ADC setting will give the
optimum correction. Normally, this is the wavelength range to be observed.
If any of these values is not the correct one, a residual atmospheric
dispersion will be the effect.
If the TYPE is ZENITH, the relevant parameters are TEL.ADC.LAMRED, .LAMBLUE
and .ZENITH (where TEL.ADC.ZENITH is the zenith distance for which the
optimum ADC separation should be calculated).
If the TYPE is ABSPOS only TEL.ADC.ABSPOS is relevant. This is thought
to be a maintenance mode

Parameter Name: TEL ADC ALPHA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: ADC, alpha for optimum setting
Description: ADC, alpha for optimum setting

Parameter Name: TEL ADC DELTA
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: ADC, delta for optimum setting
Description: ADC, delta for optimum setting

Parameter Name: TEL ADC ZENITH
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: ADC, zenith distance for optimum setting
Description: ADC, zenith distance for which the
optimum ADC separation should be calculated

Parameter Name: TEL ADC ABSPOS
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: ADC, absolute position
Description: ADC, absolute position, The minimum distance between the
ADC prisms is 25 mm

Parameter Name: TEL ADC DTIME
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: ADC, delta time from now
Description: ADC, delta time from now, The optimum setting of ADC
is for the actual telescope coordinates at time "now" + DTIME. If it is
not specified, it is defaulted to 0, i.e the setting will be for time "now".


Parameter Name: TEL ADC LAMRED
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: ADC, upper limit of wavelength range
Description: ADC, upper limit of wavelength range in nm

Parameter Name: TEL ADC LAMBLUE
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: ADC, lower limit of wavelength range
Description: ADC, lower limit of wavelength range in nm

# ----------------------------------------------------------
# added chopping keywords (rka 10/07/97)

Parameter Name: TEL CHOP FREQ
Class: setup
Context: telescope
Type: double
Value Format: %.2f
Unit: seconds
Comment Field: Frequency of chopping cycle
Description: Frequency of chopping cycle in Hz (0.1 - 5.0).

Parameter Name: TEL CHOP THROW
Class: setup
Context: telescope
Type: double
Value Format: %.1f
Unit: arcseconds
Comment Field: max. amplitude available dependent on chop period.
Description: max. amplitude available dependent on chop period (0.0 - 30.0).

Parameter Name: TEL CHOP POSOPTIM
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: Chop position for optimum image quality.
Description: Chop position for optimum image quality. One of: OFF, ON, CENTRE

Parameter Name: TEL CHOP PVRATIO
Class: setup
Context: telescope
Type: double
Value Format: %.2f
Unit: ratio
Comment Field: Peak-to-valley ratio.
Description: Peak-to-valley ratio (0.67 - 1.50).

Parameter Name: TEL CHOP TPAXIS
Class: setup
Context: telescope
Type: string
Value Format: %s
Unit: list_item
Comment Field: chop position corresponding to telescope pointing axis.One of:
OPTIMUM, OFF, ON, INDEPENDENT
Description:

Parameter Name: TEL CHOP POSANG
Class: setup
Context: telescope
Type: double
Value Format: %.3f
Unit: degrees
Comment Field: Orientation on sky (0 - 359; N=0 E=90).
Description:

Parameter Name: TEL CHOP OFFSCHOP
Class: setup
Context: telescope
Type: double
Value Format: %.2f
Unit: arcseconds
Comment Field: Offset in direction of chop for phi(-15.00 to +15.00)
Description:

Parameter Name: TEL CHOP ST
Class: ops-log
Context: telescope
Type: logical
Value Format: %c
Unit:
Comment Field: True when chopping is active
Description:


# ----------------------------------------------------------
# added all header keywords as agreed with DICB (awa 12/3/97)

# Basic TCS keywords

Parameter Name: TELESCOP
Class: header
Context: Telescope
Type: string
Value Format: %20s
Unit:
Comment Field: ESO Telescope Name
Description:

Parameter Name: RA
Class: header
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: %HOURANG RA (J2000) pointing (deg)
Description: Coordinates are given in J2000 mean places and reflect the
actual pointing of the telescope at the time of exposure start

Parameter Name: DEC
Class: header
Context: Telescope
Type: double
Value Format: %.5f
Unit: deg
Comment Field: %DEGREE DEC (J2000) pointing (deg)
Description: Coordinates are given in J2000 mean places and reflect the
actual pointing of the telescope at the time of exposure start

Parameter Name: EQUINOX
Class: header
Context: Telescope
Type: double
Value Format: %.0f
Unit:
Comment Field: Standard FK5 (years)
Description:

Parameter Name: RADECSYS
Class: header
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Coordinate reference frame
Description:

Parameter Name: LST
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit: s
Comment Field: %TIME LST at start (sec)
Description:

Parameter Name: UTC
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit: s
Comment Field: %TIME UTC at start (sec)
Description:

# Hierarchical TCS keywords

# introduced with SPR970397 (awa 3.11.97)
Parameter Name: TEL ID
Class: header
Context: Telescope
Type: string
Value Format: %30s
Unit:
Comment Field: TCS version number
Description: cmm version number of the integration module
(tcsBUILD/ntt), which defines the version of all
TCS modules.

Parameter Name: TEL DID
Class: header
Context: Telescope
Type: string
Value Format: %30s
Unit:
Comment Field: Data dictionary for TEL
Description:

Parameter Name: TEL DATE
Class: header
Context: Telescope
Type: string
Value Format: %10s
Unit:
Comment Field: TCS installation date
Description: Date when installation script was executed

Parameter Name: TEL ALT
Class: header|ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Alt angle at start (deg)
Description:

Parameter Name: TEL AZ
Class: header|ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Az angle at start (deg) S=0,W=90
Description:

Parameter Name: TEL GEOELEV
Class: header
Context: Telescope
Type: double
Value Format: %.0f
Unit: m
Comment Field: Elevation above sea level (m)
Description:

Parameter Name: TEL GEOLAT
Class: header
Context: Telescope
Type: double
Value Format: %.4f
Unit: deg.
Comment Field: Tel geo latitute (+=North) (deg)
Description:

Parameter Name: TEL GEOLON
Class: header
Context: Telescope
Type: double
Value Format: %.4f
Unit: deg.
Comment Field: Tel geo longitude (+=East) (deg)
Description:

Parameter Name: TEL OPER
Class: header
Context: Telescope
Type: string
Value Format: %30s
Unit:
Comment Field: Telescope Operator
Description:

Parameter Name: TEL FOCU ID
Class: header
Context: Telescope
Type: string
Value Format: %10s
Unit:
Comment Field: Telescope focus station ID
Description:

Parameter Name: TEL FOCU LEN
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit: m
Comment Field: Focal length (m)
Description:

Parameter Name: TEL FOCU SCALE
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec/m
Comment Field: Focal scale (arcsec/mm)
Description:

Parameter Name: TEL FOCU VALUE
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit: mm
Comment Field: M2 setting (mm)
Description:

Parameter Name: TEL PARANG END
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Parallactic angle at end (deg)
Description:

Parameter Name: TEL PARANG START
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Parallactic angle at start (deg)
Description:

Parameter Name: TEL AIRM END
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: Airmass at end
Description:

Parameter Name: TEL AIRM START
Class: header
Context: Telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: Airmass at start
Description:

Parameter Name: TEL TRAK STATUS
Class: header
Context: Telescope
Type: string
Value Format: %10s
Unit:
Comment Field: Tracking status
Description:

Parameter Name: TEL TRAK RATEA
Class: header
Context: Telescope
Type: double
Value Format: %.6f
Unit: arcsec/sec
Comment Field: Tracking rate in RA (arcsec/sec)
Description:

Parameter Name: TEL TRAK RATED
Class: header
Context: Telescope
Type: double
Value Format: %.6f
Unit: arcsec/sec
Comment Field: Tracking rate in DEC (arcsec/sec)
Description:

Parameter Name: TEL DOME STATUS
Class: header
Context: Telescope
Type: string
Value Format: %10s
Unit:
Comment Field: Dome status
Description:

Parameter Name: ADA GUID STATUS
Class: header
Context: Adapter
Type: string
Value Format: %10s
Unit:
Comment Field: Status of autoguider
Description:

# not supported until UT2 (SPR 970397)
# Parameter Name: ADA GUID STARID
# Class: header|ops-log
# Context: Adapter
# Type: string
# Value Format: %15s
# Unit:
# Comment Field: GSC star ID
# Description:

Parameter Name: ADA GUID RA
Class: header|ops-log
Context: Adapter
Type: double
Value Format: %.6f
Unit: deg
Comment Field: %HOURANG Guide star RA J2000
Description:

Parameter Name: ADA GUID DEC
Class: header|ops-log
Context: Adapter
Type: double
Value Format: %.5f
Unit: deg
Comment Field: %DEGREE Guide star DEC J2000
Description:

Parameter Name: ADA POSANG
Class: header
Context: Adapter
Type: double
Value Format: %.5f
Unit: deg
Comment Field: Position angle at start
Description: Position angle of the adapter on the sky at
exposure start. This angle, often called adapter offset,
is measured counter clockwise (N=0, E=90)

# new with SPR 970397 (awa 3.11.97)
Parameter Name: ADA ABSROT START
Class: header
Context: Adapter
Type: double
Value Format: %.5f
Unit: deg
Comment Field: Abs rot angle at exp start (deg)
Description: Absolute rotator angle of rotator at exposure
start. The reference frame is given in
VLT-SPE-ESO-11400-0798

# new with SPR 970397 (awa 3.11.97)
Parameter Name: ADA ABSROT END
Class: header
Context: Adapter
Type: double
Value Format: %.5f
Unit: deg
Comment Field: Abs rot angle at exp end (deg)
Description: Absolute rotator angle of rotator at exposure
end. The reference frame is given in
VLT-SPE-ESO-11400-0798

# ----------------------------------------------------------
# Added fits ops-log keywords agreed on meeting June 19 1997
# with the presence of Mr DICB (malbrech).
# This is only a starting point including a few NTT subsystems
# ----------------------------------------------------------

# Enclosure LCU
# -------------
Parameter Name: TEL ECL START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Enclosure LCU rebooted
Description: Enclosure LCU rebooted

Parameter Name: TEL ECL LOUVERS OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Opened enclosure louvers
Description: Enclosure louvers

Parameter Name: TEL ECL LOUVERS CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Closed enclosure louvers
Description: Enclosure louvers

Parameter Name: TEL ECL ROTATION START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Enabled enclosure rotation
Description: Enclosure slitshutter

Parameter Name: TEL ECL ROTATION STOP
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Disabled enclosure rotation
Description: Enclosure slitshutter

Parameter Name: TEL ECL SLIT OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Opened enclosure slitshutter
Description: Enclosure slitshutter

Parameter Name: TEL ECL SLIT CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Closed enclosure slitshutter
Description: Enclosure slitshutter

Parameter Name: TEL ECL WINDSCREEN
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit:
Comment Field: Enclosure windscreen moved (0=down, 100=up)
Description: Enclosure windscreen.

# Hydraulics LCU
# --------------
Parameter Name: TEL HB START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Hydraulics LCU rebooted
Description: Hydraulics LCU rebooted

Parameter Name: TEL HB OIL START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Started hydraulic oil system
Description: Hydraulics

Parameter Name: TEL HB OIL STOP
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Stopped hydraulic oil system
Description: Hydraulics

# Mirror 2 LCU
# ------------
Parameter Name: TEL M2 START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Mirror 2 LCU rebooted
Description: Mirror 2 LCU rebooted

Parameter Name: TEL M2 XAXIS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: Moved mirror 2 X-axis to abs pos (mm)
Description: Mirror 2

Parameter Name: TEL M2 YAXIS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: Moved mirror 2 Y-axis to abs pos (mm)
Description: Mirror 2

Parameter Name: TEL M2 ZAXIS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: Moved mirror 2 Z-axis to abs pos (mm)
Description: Mirror 2

# Mirror 3 LCU
# ------------
Parameter Name: TEL M3 START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Mirror 3 LCU rebooted
Description: Mirror 3 LCU rebooted

Parameter Name: TEL M3 FOCUS
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Moved mirror 3 to focus
Description: Mirror 3

Parameter Name: TEL M3 NASHUTTER OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Opened Nasmyth A shutter
Description: Mirror 3

Parameter Name: TEL M3 NBSHUTTER OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Opened Nasmyth B shutter
Description: Mirror 3

Parameter Name: TEL M3 NASHUTTER CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Closed Nasmyth A shutter
Description: Mirror 3

Parameter Name: TEL M3 NBSHUTTER CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Closed Nasmyth B shutter
Description: Mirror 3

Parameter Name: TEL M3 BAFFLE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Moved skybaffle
Description: Mirror 3

Parameter Name: TEL M3 M1COVER OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Opened mirror 1 sliding cover
Description: Mirror 3

Parameter Name: TEL M3 M1COVER CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Closed mirror 1 sliding cover
Description: Mirror 3

Parameter Name: TEL M3 FFLAMP START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Turned on top-ring external flat field lamp
Description: Mirror 3

Parameter Name: TEL M3 FFLAMP STOP
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Turned off top-ring external flat field lamp
Description: Mirror 3

# Adapter LCU
# -----------
Parameter Name: ADA AD START
Class: ops-log
Context: Adapter
Type: string
Value Format: %s
Unit:
Comment Field: Adapter LCU rebooted
Description: Adapter LCU rebooted

Parameter Name: ADA AD GP1X
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Moved guide probe 1 X
Description: Adapter

Parameter Name: ADA AD GP1Y
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Moved guide probe 1 Y
Description: Adapter

Parameter Name: ADA AD RUT
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Moved reference unit turret
Description: Adapter

Parameter Name: ADA AD CU
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Moved calibration unit
Description: Adapter

Parameter Name: ADA AD DM
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Moved dichroic mirror
Description: Adapter

# Autoguider LCU
# --------------
Parameter Name: ADA AG START
Class: ops-log
Context: Adapter
Type: string
Value Format: %s
Unit:
Comment Field: Autoguider LCU rebooted
Description: Autoguider LCU rebooted

Parameter Name: ADA AG GUIDE START
Class: ops-log
Context: Adapter
Type: string
Value Format: %s
Unit:
Comment Field: Autoguiding started
Description: Autoguider

Parameter Name: ADA AG GUIDE STOP
Class: ops-log
Context: Adapter
Type: string
Value Format: %s
Unit:
Comment Field: Autoguiding stopped
Description: Autoguider

# ---------------------------------------------------------------------
# Added more fits ops-log keywords as defined in JSP doc (awa 3/3/98).
# Note that for some existing keywords the class ops-log has been added.
# This is experimental and should be passed to DICB for approval.
# ---------------------------------------------------------------------

Parameter Name: TEL PRESET START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Initiate new telescope position
Description: This action is logged only when a change of status in the tracking software is made to state PRESETTING

Parameter Name: TEL ADVEL CHANGE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Initiate new telescope additional velocity
Description: This action is logged only when a change of the additional velocity is made during tracking (trkws)

Parameter Name: TEL WAVEL CHANGE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Initiate new telescope observing wavelength
Description: This action is logged only when a change of the observing wavelength is made during tracking (trkws)

Parameter Name: TEL OFFSET START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Initiate new telescope offset
Description: This action is logged only when an offset is made. Note that NO action is logged when the offset ends (trkws)

Parameter Name: TEL TRACK START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Telescope tracking at setup rate
Description: This action is logged only when the telescope state changes from PRESETTING to TRACKING.

Parameter Name: TEL TRACK STOP
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Telescope tracking stopped abnormally
Description: This action is logged only when the telescope state changes from TRACKING to something else not caused by a new PRESET

Parameter Name: TEL ACTO START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Telescope active optics correction
Description: This action is logged when the active optics loop starts. The natural completion is not logged (actws)

Parameter Name: TEL ACTO STOP
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Telescope active optics (abnormally)
Description: This action is logged when the active optics loop stopped abnormally (eg due to a new PRESET) (actws)

Parameter Name: TEL ACTO IA START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Telescope image analysis measurements
Description: This action is logged when the image analysis loop starts. The natural completion is not logged (actws)

Parameter Name: TEL ACTO IA STOP
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Telescope image analysis (abnormally)
Description: This action is logged when the image analysis loop stopped abnormally (eg due to a new PRESET) (actws)

Parameter Name: TEL M1 AIRBAG OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Airbag system activated
Description: (m1aux after port)

Parameter Name: TEL M1 AIRBAG CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Airbag system deactivated
Description: (m1aux after port)

Parameter Name: TEL M1 EQD START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Earthquake protection system activated
Description: (m1aux after port)

Parameter Name: TEL M1 EQD STOP
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Earthquake protection system deactivated
Description: (m1aux after port)

Parameter Name: TEL CHOP START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Secondary mirror chopping
Description: (chopws)

Parameter Name: TEL ENCL SLITDOOR OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Enclosure shutter
Description: (ecs after port)

Parameter Name: TEL ENCL SLITDOOR CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Enclosure shutter
Description: (ecs after port)

Parameter Name: TEL ENCL VENLOUVi OPEN
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Ventilation louvers group
Description: Open a group of louvers (ecs after port)

Parameter Name: TEL ENCL VENLOUVi CLOSE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Ventilation louvers group
Description: Close a group of louvers (ecs after port)

Parameter Name: TEL ENCL M1DOOR MOVE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Main mirror door of enclosure
Description: (ecs after port)

Parameter Name: TEL ENCL THERMAL START
Class: ops-log
Context: Enclosure
Type: string
Value Format: %s
Unit:
Comment Field: Thermal control of the enclosure
Description: (ecs after port)

Parameter Name: TEL ENCL THERMAL STOP
Class: ops-log
Context: Enclosure
Type: string
Value Format: %s
Unit:
Comment Field: Thermal control of the enclosure
Description: (ecs after port)

#
# Parameter records
#




#
# Parameter records
#

Parameter Name: TEL RA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: %HOURANG actual telescope pos RA J2000
Description: This position is logged only on change due to an offset or a preset. It is also logged when the additional velocity is changed
(note that this means that it will not be logged during tracking even when additional velocities are non-zero).
It is not clear when to log after an offset has been applied since the completion of offsets are not currently known (trkws)

Parameter Name: TEL DEC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: %DEGREE actual telescope pos DEC J2000
Description: This position is logged only on change due to an offset or a preset. It is also logged when the additional velocity is changed
(note that this means that it will not be logged during tracking even when additional velocities are non-zero).
It is not clear when to log after an offset has been applied since the completion of offsets are not currently known (trksw)

Parameter Name: TEL POSANGLE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Actual field rotation angle on the sky
Description: The rotator angle on the sky. This is not necessarily the position angle of the instrument since there is an
independant instrument rotator (trkws)

Parameter Name: TEL ALT POS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Current alt position (deg)
Description: Altitude position (90 zenith)

Parameter Name: TEL AZ POS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Current az position (deg) (S=0,E=90)
Description: Azimuth position in VLT coordinate convention

Parameter Name: TEL ALT TORQUE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: volt
Comment Field: Altitude torque during tracking
Description: Altitude torque in units of volt as measured during tracking

Parameter Name: TEL AZ TORQUE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: volt
Comment Field: Azimuth torque during tracking
Description: Azimuth torque in units of volt as measured during tracking

Parameter Name: TEL ALT POSERR
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: arcsec
Comment Field: Altitude position error rms during tracking
Description: Altitude position error rms as measured during tracking

Parameter Name: TEL ALT CWPOSERRA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: arcsec
Comment Field: Altitude cable wrap position error A
Description: Altitude cable wrap position error A

Parameter Name: TEL ALT CWPOSERRB
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: arcsec
Comment Field: Altitude cable wrap position error B
Description: Altitude cable wrap position error B

Parameter Name: TEL AZ POSERR
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: arcsec
Comment Field: Azimuth position error rms during tracking
Description: Azimuth position error rms as measured during tracking

Parameter Name: TEL AZ CWPOSERR
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: arcsec
Comment Field: Azimuth cable wrap position error
Description: Azimuth cable wrap position error

Parameter Name: TEL M2 EPS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: arcsec
Comment Field: Centering position angle epsilon of M2
Description: This position is logged only on change due to an active optics correction. Not logged during chopping (chopws)

Parameter Name: TEL M2 DEL
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: arcsec
Comment Field: Centering position angle delta of M2
Description: This position is logged only on change due to an active optics correction. Not logged during chopping (chopws)

Parameter Name: TEL M2 Z
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: mm
Comment Field: Focussing position of M2 in Z coordinate
Description: This position is logged only on change due to an active optics correction or focus change. Not logged during chopping (chopws)

Parameter Name: TEL M2 CEEPSILON
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: mm
Comment Field: Centering epsilon position of M2
Description: This position is logged only on change due to an active optics correction. Not logged during chopping (chopws)

Parameter Name: TEL M2 CEDELTA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: mm
Comment Field: Centering delta position of M2
Description: This position is logged only on change due to an active optics correction. Not logged during chopping (chopws)

Parameter Name: TEL M1 X
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: microns
Comment Field: M1 X passive positions
Description: This position is logged only on change due to an active optics correction.

Parameter Name: TEL M1 Y
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: microns
Comment Field: M1 Y passive positions
Description: This position is logged only on change due to an active optics correction.

Parameter Name: TEL M1 Z
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: microns
Comment Field: M1 Z passive positions
Description: This position is logged only on change due to an active optics correction.

Parameter Name: TEL M1 A
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: microns
Comment Field: M1 A passive positions
Description: This position is logged only on change due to an active optics correction.

Parameter Name: TEL M1 B
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: microns
Comment Field: M1 B passive positions
Description: This position is logged only on change due to an active optics correction.

Parameter Name: TEL M1 C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: microns
Comment Field: M1 C passive positions
Description: This position is logged only on change due to an active optics correction.

Parameter Name: TEL M2 SOURCE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Source of M2 correctiorns
Description: This parameter specifies if the corrections sent to the secondary unit originates from
guide camera (GUIDE), instrument (INS) or OTHER (fsws)

Parameter Name: TEL OFFSET RA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec
Comment Field: Offset applied in RA
Description: The offset applied to the telescope in RA (trkws)

Parameter Name: TEL OFFSET DEC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec
Comment Field: Offset applied in DEC
Description: The offset applied to the telescope in DEC (trkws)

Parameter Name: TEL OFFSET ROT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec
Comment Field: Offset applied to the position angle on the sky
Description: The offset applied to the position angle on the sky of the telescope. Note that this is applicable to the instrument only if the
instrument derotator is directly linked to the telescope with a zero offset.
(trkws)

Parameter Name: TEL WLENGTH
Class: ops-log
Context: Telescope
Type: double
Value format: %.3f
Unit: nm
Comment Field: New observing wavelength
Description: Note than normally this item would be logged under the setup rule.
However, since it can be changed on the fly during an exposure without affecting the state of the telescope it is logged independently as well.
However, this logging occurs only on change initiated by the direct command and not at every preset.
Normal logging of the SETUP will give the wavelength for normal presets. (trkws)

Parameter Name: TEL ADVEL RA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec/s
Comment Field: Additonal velocity in RA
Description: The additional velocity applied to the telescope in RA (trkws)

Parameter Name: TEL ADVEL DEC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec/s
Comment Field: Additonal velocity in DEC
Description: The additional velocity applied to the telescope in DEC (trkws)

Parameter Name: TEL POINTSOL
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Pointing solution values
Description: The pointing solution used is noted. The comment field needs to indicate the term name using the tpoint conventions as per
the POM software module. If arrays cannot be supported one keyword per pointing correction term has to be defined (trkws)

Parameter Name: TEL AG ERA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec
Comment Field: Error vector in RA
Description: Autoguiding correction sent to the telescope in RA (ag or agws)

Parameter Name: TEL AG EDEC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: arcsec
Comment Field: Error vector in DEC
Description: Autoguiding correction sent to the telescope in DEC (ag or agws)

Parameter Name: TEL AG REFX
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: pixel
Comment Field: Autoguider reference pixel X
Description: Autoguider TCCD reference pixel for centroiding. This is the pixel on the TCCD that the guide star is being moved to. (agws)

Parameter Name: TEL AG REFY
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: pixel
Comment Field: Autoguider reference pixel Y
Description: Autoguider TCCD reference pixel for centroiding. This is the pixel on the TCCD that the guide star is being moved to. (agws)

Parameter Name: TEL AG CAMROTOFF
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Camera offset angle for autoguiding
Description: The correction angle for the TCCD orientation relative to the telescope/adapter.
This angle compensates for any error in the mounting of the TCCD relative to the absolute value of the rotator.
It is necessary to know this angle if any reconstruction of the autoguiding vectors is going to be made a posteriori using
stored TCCD autoguider images. (agws)

Parameter Name: TEL AG FWHMX
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: FWHM of guide star in X CCD coordinates
Description: Only provided when calculated (ag or agws)

Parameter Name: TEL AG FWHMY
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit:
Comment Field: FWHM of guide star in Y CCD coordinates
Description: Only provided when calculated (ag or agws)

Parameter Name: TEL AG MINERR
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: pixel
Comment Field: Minimum correction in pixels
Description: This is the smallest correction that will be converted to arcsecs and sent to the telescope (ag or agws)

Parameter Name: TEL AG MODE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Autoguider mode (LAST or MEAN)
Description: The autoguider either calculates the mean value of all error vectors generated within
a cycle time and sends that or sends the last value calculated (ag or agws)

Parameter Name: TEL AG BOX2GS
Class: ops-log
Context: Telescope
Type: logical
Value Format: %c
Unit: logical
Comment Field: TRUE if autoguiding started with telescope pos as ref
Description: Did the autoguiding start with the telescope position being defined as the true position (true box2star)
or did the autoguiding start with the guide probe position being defined as the true position (false box2star) (agws)

Parameter Name: TEL AG B2SMIN
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: pixels
Comment Field: BOX2GS accuracy
Description: The autoguider BOX2GS command has a minimum accuracy after which the position of the CCD window
is deemed to be centred on the position of the guide star (agws)

Parameter Name: TEL AG KP
Class: ops-log
Context: Autoguider
Type: double
Value Format: %.7f
Unit:
Comment Field: Autoguider proportional gain
Description: The autoguider uses the a PII controller to servo the error vectors. This is controlled by a KP, KI and KII parameter (ag)

Parameter Name: TEL AG KI
Class: ops-log
Context: Autoguider
Type: double
Value Format: %.7f
Unit:
Comment Field: Autoguider integral gain
Description: The autoguider uses the a PII controller to servo the error vectors. This is controlled by a KP, KI and KII parameter (ag)

Parameter Name: TEL AG KII
Class: ops-log
Context: Autoguider
Type: double
Value Format: %.7f
Unit:
Comment Field: Autoguider double integral gain
Description: The autoguider uses the a PII controller to servo the error vectors. This is controlled by a KP, KI and KII parameter (ag)

Parameter Name: TEL POFF RA
Class: ops-log
Context: Autoguider
Type: double
Value Format: %.7f
Unit:
Comment Field: Pointing offset Ra as measured at the Auto Guider
Description: Pointing offset Ra as measured at the Auto Guider

Parameter Name: TEL POFF DEC
Class: ops-log
Context: Autoguider
Type: double
Value Format: %.7f
Unit:
Comment Field: Pointing offset Dec as measured at the Auto Guider
Description: Pointing offset Dec as measured at the Auto Guider

Parameter Name: TEL GOFF RA
Class: ops-log
Context: Autoguider
Type: double
Value Format: %.7f
Unit: arcsec
Comment Field: Total autoguiding RA offset corrections.
Description: Total autoguiding RA offset corrections.

Parameter Name: TEL GOFF DEC
Class: ops-log
Context: Autoguider
Type: double
Value Format: %.7f
Unit: arcsec
Comment Field: Total autoguiding DEC offset corrections.
Description: Total autoguiding DEC offset corrections.

Parameter Name: ADA AD POSANGLE
Class: ops-log
Context: Adapter
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Position angle of the autoguider camera
Description: The rotation angle (theta) for the guide probe (ad?)

Parameter Name: ADA AD ROT
Class: ops-log
Context: Adapter
Type: double
Value Format: %.3f
Unit: deg
Comment Field: The swing angle for the guide probe
Description: The phi angle of the guide probe (ad?)

Parameter Name: TEL ACTO TELRA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: %HOURANG actual telescope pos RA J2000
Description: Identical to TEL RA but logged from active optics

Parameter Name: TEL ACTO TELDEC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: %DEGREE actual telescope pos DEC J2000
Description: Identical to TEL DEC but logged from active optics

Parameter Name: TEL ACTO ADAGUIDRA
Class: ops-log
Context: Adapter
Type: double
Value Format: %.6f
Unit: deg
Comment Field: RA of the guide star
Description: RA of the guide star logged by actconControl when the IA has finished

Parameter Name: TEL ACTO ADAGUIDDEC
Class: ops-log
Context: Adapter
Type: double
Value Format: %.5f
Unit: deg
Comment Field: DEC of the guide star
Description: DEC of the guide star logged by actconControl when the IA has finished

Parameter Name: TEL ACTO ALTPOS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: Telescope Altitude Position
Description: ALT position measured inmediately after the last sequence of exposures, and logged by AO when the IA has finished

Parameter Name: TEL ACTO AZPOS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: Telescope Azimuth Position
Description: AZ position measured inmediately after the last sequence of exposures, and logged by AO when the IA has finished

Parameter Name: TEL ACTO ADAGUIDX
Class: ops-log
Context: Adapter
Type: double
Value Format: %.6f
Unit: mm
Comment Field: X-position of the guide probe
Description: X position of the guide probe measured inmediately after the last sequence of exposures, and logged by AO when the IA has finished.

Parameter Name: TEL ACTO ADAGUIDY
Class: ops-log
Context: Adapter
Type: double
Value Format: %.6f
Unit: mm
Comment Field: Y-position of the guide probe
Description: Y position of the guide probe measured inmediately after the last sequence of exposures, and logged by AO when the IA has finished.

Parameter Name: TEL ACTO INTTIME
Class: ops-log
Context: Telescope
Type: double
Value Format: %.7f
Unit: sec
Comment Field: Image analysis exposure time
Description: This is the individual exposure time of the wavefront sensing CCD. (actws)

Parameter Name: TEL ACTO EXPNO
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Number of exposure in a single cycle
Description: The number of exposures of the spot pattern to be averaged. (actws)

Parameter Name: TEL ACTO FOCSIDE
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Focus side
Description: Current selected focus side. (actws)

Parameter Name: TEL ACTO ONECAL
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Telescope active optics calibrated correction
Description: This action is logged when the active optics executes one calibrated correction (actws)

Parameter Name: TEL ACTO CYCLES
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Number of cycles
Description: (actws)

Parameter Name: TEL ACTO MODE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Active optics mode
Description: SINGLE or CYCLIC (actws)

Parameter Name: TEL ACTO CORTARG
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Active optics correction target
Description: NONE, M1 or M1&M2 (actws)

Parameter Name: TEL ACTO CORTYPE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Active optics correction type
Description: ABSOLUTE or DIFFERENTIAL (actws)

Parameter Name: TEL ACTO M1FORSET
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: Newtons
Comment Field: Array of forces applied to m1
Description: Forces applied to m1. If the calculation is differential or absolute i sdescribed in another keyword (actws)

Parameter Name: TEL ACTO M1FORACT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: Newtons
Comment Field: Array of forces achieved by m1
Description: Forces acieved by m1 (actws)

Parameter Name: TEL ACTO PSCALE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: nm
Comment Field: Cumulated plate scale change applied to M1
Description: Cumulated plate scale change applied to M1


Parameter Name: TEL IA FWHM
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: arcsec
Comment Field: Delivered seeing for actual telescope target parameters
Description: Calculated seeing from a selection of spots on the Shack-Hartmann detector. Logged when a new value is available, typically on each AO loop.

Parameter Name: TEL IA ABER
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: nm
Comment Field: Image analysis aberations (modulus) calculated on a single exposure
Description: (actws)

Parameter Name: TEL IA ABERANG
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Image analysis aberations (angle) calculated on a single exposure
Description: (actws)

Parameter Name: TEL IA ABERAVE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: nm
Comment Field: Average image analysis aberations (modulus) calculated
Description: (actws)

Parameter Name: TEL IA ABERAVEANG
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Average image analysis aberations (angle) calculated
Description: (actws)

Parameter Name: TEL IA ABERFILMOD
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: nm
Comment Field: Filtered image analysis aberrations (modulus)
Description: (actws)

Parameter Name: TEL IA ABERFILANG
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Filtered image analysis aberrations (angle)
Description: (actws)

Parameter Name: TEL IA ABERRMS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: nm
Comment Field: rms of average image analysis aberations calculated
Description: (actws)

Parameter Name: TEL IA RESWF
Class: ops-log
Context: Telescope
Type: double
Value Format: %1.3f
Unit: nm
Comment Field: Residual wave front (amplitude)
Description: (actws)

Parameter Name: TEL IA RESRMS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: nm
Comment Field: residual rms
Description: (actws)

Parameter Name: TEL IA SUMD80
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: nm
Comment Field: sumd80 value
Description: (actws)

Parameter Name: TEL IA 5THMAX
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit: counts
Comment Field: counts in 5th maximum pixel
Description: (actws)

Parameter Name: TEL IA BACKGROUND
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit: counts
Comment Field: counts in background
Description: (actws)

Parameter Name: TEL IA PAIRS
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit: pairs
Comment Field: number of star-ref pairs
Description: (actws)

Parameter Name: TEL IA TRAPS
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit: pixel
Comment Field: location of the traps on the TCCD being used for image analysis
Description: only logged when they are loaded into the software and NOT every time IA takes place.
# This is an array of pixel co-ordinates (x,y) (actws)

Parameter Name: TEL LADC TARGSEPPOS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: mm
Comment Field: LADC target separation distance
Description: (adc)

Parameter Name: TEL M1 TMPCPSET
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: The temperature of the cold plate as set
Description: (m1th after port)

Parameter Name: TEL M1 TMPCP1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the cold plate
Description: (tcsmon)

Parameter Name: TEL M1 TMPCP2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the cold plate
Description: (tcsmon)

Parameter Name: TEL M1 TMPCP3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the cold plate
Description: (tcsmon)

Parameter Name: TEL M1 TMPCP4
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the cold plate
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS4
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS5
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS6
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS7
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPTS8
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 top surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPBS1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 back surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPBS2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 back surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPBS3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 back surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPBS4
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature of the mirror 1 back surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPAIR1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Air temperature above mirror 1 surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPAIR2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Air temperature above mirror 1 surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPAIR3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Air temperature above mirror 1 surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPAIR4
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Air temperature above mirror 1 surface
Description: (tcsmon)

Parameter Name: TEL M1 TMPIN
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M1 cell inlet cooling temperature
Description: (tcsmon)

Parameter Name: TEL M1 TMPOUT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M1 cell outlet cooling temperature
Description: (tcsmon)

Parameter Name: TEL M1 TMPHLC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M1 cell high level cabinet temperature
Description: (tcsmon)

Parameter Name: TEL M1 TMPLLC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M1 cell low level cabinet temperature
Description: (tcsmon)

Parameter Name: TEL M1 AXI SET
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: microns
Comment Field: axial position of the M1 in the cell as requested
Description (by whom ?)

Parameter Name: TEL M1 AXI ACT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: microns
Comment Field: axial position of the M1 in the cell as achieved
Description (by whom , tcsmon regularily or actws when applying active forces?)

Parameter Name: TEL M1 VAUA
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: encoder
Comment Field: Volumen Adjustment Unit sector A
Description (tcsmon)

Parameter Name: TEL M1 VAUB
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: encoder
Comment Field: Volumen Adjustment Unit sector B
Description (tcsmon)

Parameter Name: TEL M1 VAUC
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: encoder
Comment Field: Volumen Adjustment Unit sector C
Description (tcsmon)

Parameter Name: TEL M1 VAUD
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: encoder
Comment Field: Volumen Adjustment Unit sector D
Description (tcsmon)

Parameter Name: TEL M1 VAUE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: encoder
Comment Field: Volumen Adjustment Unit sector E
Description (tcsmon)

Parameter Name: TEL M2 TMPAMB1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 ambient temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPAMB2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 ambient temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPAMB3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 ambient temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN4
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN5
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN6
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN7
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN8
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPSKIN9
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Mirror 2 cylindric skin temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPVMEL
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M2 VME left temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPVMER
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M2 VME right temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPIN
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M2 inlet cooling temperature
Description: (tcsmon)

Parameter Name: TEL M2 TMPOUT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: M2 outlet cooling temperature
Description: (tcsmon)

Parameter Name: TEL ENCL VENDOOR1
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Ventilation door 1 percentage open
Description: The 4 ventilation doors can be open either 50 or 100%. (ecs after port)

Parameter Name: TEL ENCL VENDOOR2
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Ventilation door 2 prcentage open
Description: The 4 ventilation doors can be open either 50 or 100%. (ecs after port)

Parameter Name: TEL ENCL VENDOOR3
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Ventilation door 3 percentage open
Description: The 4 ventilation doors can be open either 50 or 100%. (ecs after port)

Parameter Name: TEL ENCL VENDOOR4
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Ventilation door 4 percentage open
Description: The 4 ventilation doors can be open either 50 or 100%. (ecs after port)

Parameter Name: TEL ENCL MIRDOOR
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Main mirror door percentage open
Description: main mirror door can be opened in fractions of 1/4. (ecs after port)

Parameter Name: TEL ENCL TEMPSET
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature set point in enclosure
Description: (ecs after port)

Parameter Name: TEL ENCL TEMPACT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure temperatures
Description: (ecs after port)

Parameter Name: TEL ENCL TMPWALL1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure wall temperature
Description: (tcsmon)

Parameter Name: TEL ENCL TMPWALL2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure wall temperature
Description: (tcsmon)

Parameter Name: TEL ENCL TMPWALL3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure wall temperature
Description: (tcsmon)

Parameter Name: TEL ENCL TMPWALL4
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure wall temperature
Description: (tcsmon)

Parameter Name: TEL ENCL TMPWALL5
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure wall temperature
Description: (tcsmon)

Parameter Name: TEL ENCL TMPROOF1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure roof temperature
Description: (tcsmon)

Parameter Name: TEL ENCL TMPROOF2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure roof temperature
Description: (tcsmon)

Parameter Name: TEL ENCL TMPROOF3
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Enclosure roof temperature
Description: (tcsmon)

Parameter Name: TEL ENCL WSCRHEIGHT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: m
Comment Field: Absolute height
Description: (ecs after port)

Parameter Name: TEL ENCL WSCANGLE
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit: deg
Comment Field: Angle of windscreen flaps
Description: (ecs after port)

Parameter Name: TEL ENCL RHUM
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: percentage
Comment Field: Relative humidity in the enclosure
Description: (ecs after port)

Parameter Name: TEL ENCL PRES
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: Pa
Comment Field: Atmospheric pressure in the enclosure
Description: (ecs after port)

Parameter Name: TEL ENCL POSANG
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: deg
Comment Field: Position angle of the wind direction
Description: (ecs after port)

Parameter Name: TEL ENCL WIND SPEED
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: m/s
Comment Field: Windspeed
Description: (ecs after port)

Parameter Name: TEL TSS TEMPi
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: Temperature Sensing System
Description: Temperature value delivered by the TSS,
with sensor location i at
1 - top ring NNE side
2 - top ring WNW side
3 - spider vane N quadrant
4 - spider vane S quadrant
5 - serrurier strut lower end N quadrant NasA side
6 - serrurier strut upper end N quadrant NasB side
7 - serrurier strut lower end S quadrant NasA side
8 - serrurier strut upper end S quadrant NasB side
9 - centerpiece N quadrant
10 - centerpiece S quadrant
11 - ALT housing side B
12 - lower intermediate structure side A NE quadrant
13 - flexure bar upper end N quadrant NasA side
14 - flexure bar lower end N quadrant NasB side
15 - flexure bar upper end S quadrant NasA side
16 - flexure bar lower end S quadrant NasB side
17 - AZ baseframe
18 - upper intermediate structure under NasB
19 - lower intermediate structure side B NW quadrant
20 - AZ motor housing

Parameter Name: TEL HBS TV0REF
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: HBS OPS nominal reference temperature
Description: Hydrostatic Bearing System/Oil Pumping System
nominal reference temperature

Parameter Name: TEL HBS TV1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: HBS T1 Heat Exchanger out temperature
Description: Hydrostatic Bearing System T1 Heat Exchanger out temperature

Parameter Name: TEL HBS TV2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.3f
Unit: C
Comment Field: HBS T2 Mixer outlet temperature
Description: Hydrostatic Bearing System T2 Mixer outlet temperature

Parameter Name: TEL HBS QVR
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: l/min
Comment Field: HBS Oil Discharge flow
Description: Hydrostatic Bearing System Oil Discharge flow

Parameter Name: TEL HBS PVM2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Oil Delivery pressure
Description: Hydrostatic Bearing System Oil Delivery pressure

Parameter Name: TEL HBS PF1C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF1 chamber pressure
Description: (hb)

Parameter Name: TEL HBS PF1P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF1 pocket pressure
Description: (hb)

Parameter Name: TEL HBS PF2C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF2 chamber pressure
Description: (hb)

Parameter Name: TEL HBS PF2P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF2 pocket pressure
Description: (hb)

Parameter Name: TEL HBS PF3C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF3 chamber pressure
Description: (hb)

Parameter Name: TEL HBS PF3P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF3 pocket pressure
Description: (hb)

Parameter Name: TEL HBS PF4C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF4 chamber pressure
Description: (hb)

Parameter Name: TEL HBS PF4P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad PF4 pocket pressure
Description: (hb)

Parameter Name: TEL HBS IRD1C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD1 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD1P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD1 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD1C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD1 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IRD1P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD1 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS IRD2C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD2 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD2P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD2 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD2C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD2 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IRD2P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD2 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS IRD3C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD3 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD3P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD3 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD3C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD3 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IRD3P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD3 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS IRD4C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD4 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD4P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD4 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IRD4C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD4 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IRD4P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IRD4 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX1C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX1 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX1P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX1 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX1C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX1 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX1P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX1 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX2C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX2 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX2P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX2 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX2C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX2 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX2P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX2 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX3C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX3 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX3P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX3 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX3C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX3 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX3P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX3 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX4C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX4 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX4P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX4 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS IAX4C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX4 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS IAX4P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad IAX4 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX5C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX5 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX5P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX5 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX5C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX5 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX5P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX5 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX6C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX6 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX6P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX6 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX6C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX6 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX6P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX6 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX7C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX7 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX7P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX7 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX7C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX7 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX7P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX7 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX8C1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX8 chamber 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX8P1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX8 pocket 1 pressure
Description: (hb)

Parameter Name: TEL HBS OAX8C2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX8 chamber 2 pressure
Description: (hb)

Parameter Name: TEL HBS OAX8P2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Azimuth pad OAX8 pocket 2 pressure
Description: (hb)

Parameter Name: TEL HBS AR1C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR1 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AR1P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR1 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AR1D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AR1 radial displacement
Description: (hb)

Parameter Name: TEL HBS AR2C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR2 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AR2P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR2 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AR2D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AR2 radial displacement
Description: (hb)

Parameter Name: TEL HBS AR3C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR3 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AR3P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR3 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AR3D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AR3 radial displacement
Description: (hb)

Parameter Name: TEL HBS AR4C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR4 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AR4P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AR4 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AR4D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AR4 radial displacement
Description: (hb)

Parameter Name: TEL HBS AA1C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA1 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AA1P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA1 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AA1D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AA1 axial displacement
Description: (hb)

Parameter Name: TEL HBS AA2C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA2 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AA2P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA2 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AA2D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AA2 axial displacement
Description: (hb)

Parameter Name: TEL HBS AA3C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA3 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AA3P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA3 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AA3D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AA3 axial displacement
Description: (hb)

Parameter Name: TEL HBS AA4C
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA4 chamber pressure
Description: (hb)

Parameter Name: TEL HBS AA4P
Class: ops-log
Context: Telescope
Type: double
Value Format: %.1f
Unit: bar
Comment Field: HBS Altitude pad AA4 pocket pressure
Description: (hb)

Parameter Name: TEL HBS AA4D
Class: ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: um
Comment Field: HBS Altitude pad AA4 axial displacement
Description: (hb)

Parameter Name: TEL TH STATE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: Thermal control operation mode
Description: (th)

Parameter Name: TEL TH WIND MERIT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit:
Comment Field: Thermal Wind Merit
Description: (th)

Parameter Name: TEL TH THERMAL MERIT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit:
Comment Field: Thermal Merit
Description: (th)

Parameter Name: TEL TH WIND SPEED1
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit:
Comment Field: M1 wind speed sensor 1
Description: (th)


Parameter Name: TEL TH WIND SPEED2
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit:
Comment Field: M1 wind speed sensor 2
Description: (th)


Parameter Name: TEL TH M1 TEMP
Class: header|ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: M1 superficial temperature
Description: (th)

Parameter Name: TEL TH LO STATE
Class: ops-log
Context: Telescope
Type: integer
Value Format: %1d
Unit:
Comment Field: Louver groups Open(1) Close(0) or Ignore(9)
Description: (th)

Parameter Name: TEL TH VD STATE
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Ventilation doors Open(1) Close(0) or Ignore(9)
Description: (th)

Parameter Name: TEL TH MM STATE
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Main mirror door Open(1) Close(0) or Ignore(9)
Description: (th)

Parameter Name: TEL TH WS STATE
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit:
Comment Field: Windscreen Open(1) Auto(0) or Ignore(9)
Description: (th)

Parameter Name: TEL TH WS HEIGHT
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit:
Comment Field: Windscreen height
Description: (th)

Parameter Name: TEL TH RELWINDDIR
Class: ops-log
Context: Telescope
Type: integer
Value Format: %d
Unit: deg
Comment Field: Thermal relative wind direction to enclosure
Description: (th)

Parameter Name: TEL TH TARGTEMPCL
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: Target temperature for next sunset calculated by thermal
Description: Forecast logged when it is calculated at START DAY.

Parameter Name: TEL TH TARGTEMP
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: Target temperature for next sunset applied by thermal
Description: Target logged it is applied at START DAY.

Parameter Name: TEL TH SUNSET REALTEMP
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: Real external temperature at sunset
Description: Logged at sunset.

Parameter Name: TEL TH SUNSET PREDTEMP
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: Target temperature predicted for this sunset
Description: Logged at sunset.

Parameter Name: TEL TH SUNSET MANUALTEMP
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: Manual target temperature set for this sunset
Description: Logged at sunset when the manual temperature overwrites the forecast.

Parameter Name: TEL ENCODER CALIB START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: encoder calibration started
Description: (iklida)

Parameter Name: TEL ENCODER CALIB END
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: encoder calibration completed ok
Description: (iklida)

Parameter Name: TEL ENCODER INIT START
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: encoder initialization started
Description: (iklida)

Parameter Name: TEL ENCODER INIT END
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: encoder initialization completed ok
Description: (iklida)

Parameter Name: TEL ENCODER INITPOS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: lines
Comment Field: encoder init position (average of all used heads)
Description: (iklida)

Parameter Name: TEL ENCODER HEADOFSi
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: lines
Comment Field: encoder head offset configuration
Description: (iklida)

Parameter Name: TEL ENCODER HEADPOSi
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: lines
Comment Field: encoder head position
Description: (iklida)

Parameter Name: TEL ENCODER HEADDIFi
Class: ops-log
Context: Telescope
Type: double
Value Format: %.5f
Unit: lines
Comment Field: difference of encoder head position from average
Description: (iklida)

Parameter Name: TEL ENCODER MODE
Class: ops-log
Context: Telescope
Type: string
Value Format: %s
Unit:
Comment Field: encoder operational mode
Description: (iklida)


# ------------------------
# ASM data queried by TCS
#------------------------

Parameter Name: TEL AMBI FWHM
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: arcsec
Comment Field: Observatory Seeing queried from ASM
Description: Site seeing as queried periodically from the ASM,
full width half maximum at 0.5 um wavelength.

Parameter Name: TEL AMBI FWHMOBS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: arcsec
Comment Field: Expected seeing for current observing parameters
Description: Calculated from the ambient seeing and the current
observing parameters of airmass and wavelength

Parameter Name: TEL AMBI FWHM START
Class: header
Context: Telescope
Type: double
Value Format: %.2f
Unit: arcsec
Comment Field: Observatory Seeing queried from ASM
Description: Site seeing at start as queried periodically from the ASM,
full width half maximum at 0.5 um wavelength.

Parameter Name: TEL AMBI FWHM END
Class: header
Context: Telescope
Type: double
Value Format: %.2f
Unit: arcsec
Comment Field: Observatory Seeing queried from ASM
Description: Site seeing at end as queried periodically from the ASM,
full width half maximum at 0.5 um wavelength.

Parameter Name: TEL AMBI TEMP
Class: header|ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: Observatory ambient temperature queried from ASM
Description: Average site ambient temperature,
as queried periodically from the ASM.

Parameter Name: TEL AMBI TEMPDEW
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: C
Comment Field: Observatory ambient dew temperature queried from ASM
Description: Average site ambient dew temperature
as queried periodically from the ASM.

Parameter Name: TEL AMBI RHUM
Class: header|ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: percent
Comment Field: Observatory ambient relative humidity queried from ASM
Description: Average site ambient relative humidity
as queried periodically from the ASM.

Parameter Name: TEL AMBI PRES
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: hPa
Comment Field: Observatory ambient air pressure queried from ASM
Description: Average site barometric air pressure measured
as queried periodically from the ASM.

Parameter Name: TEL AMBI PRES START
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: hPa
Comment Field: Observatory ambient air pressure queried from ASM
Description: Average site barometric air pressure measured
as queried periodically from the ASM.

Parameter Name: TEL AMBI PRES END
Class: ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: hPa
Comment Field: Observatory ambient air pressure queried from ASM
Description: Average site barometric air pressure measured
as queried periodically from the ASM.

Parameter Name: TEL AMBI WINDDIR
Class: header|ops-log
Context: Telescope
Type: double
Value Format: %.f
Unit: deg
Comment Field: Observatory ambient wind direction queried from ASM (N=0 E=90)
Description: Average site ambient wind direction
as queried periodically from the ASM.

Parameter Name: TEL AMBI WINDSP
Class: header|ops-log
Context: Telescope
Type: double
Value Format: %.2f
Unit: m/s
Comment Field: Observatory ambient wind speed queried from ASM
Description: Average site ambient wind speed measured
as queried periodically from the ASM.

Parameter Name: TEL MOON RA
Class: header
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: %HOURANG RA (J2000) (deg)
Description: Coordinates are given in J2000 mean places and reflect the
actual moon position at the time of exposure start

Parameter Name: TEL MOON DEC
Class: header
Context: Telescope
Type: double
Value Format: %.5f
Unit: deg
Comment Field: %DEGREE DEC (J2000) (deg)
Description: Coordinates are given in J2000 mean places and reflect the
actual moon position at the time of exposure start

#------------------------------
# adapter/rotator parameters
# - only logged in tracking substate
# - only for the currently active focus

Parameter Name: TEL AD POS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: Adapter position during tracking
Description: Adapter position during tracking

Parameter Name: TEL AD POSERR
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: arcsec
Comment Field: Adapter position error RMS during tracking
Description: Adapter position error RMS as measured during tracking

Parameter Name: TEL AD TORQUE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: volt
Comment Field: Adapter measured torque during tracking
Description: Adapter measured torque in units of volt as measured during tracking


Parameter Name: TEL ROT POS
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: deg
Comment Field: Rotator position during tracking
Description: Rotator position during tracking

Parameter Name: TEL ROT POSERR
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: arcsec
Comment Field: Rotator position error RMS during tracking
Description: Rotator position error RMS as measured during tracking

Parameter Name: TEL ROT TORQUE
Class: ops-log
Context: Telescope
Type: double
Value Format: %.6f
Unit: volt
Comment Field: Rotator measured torque during tracking
Description: Rotator measured torque in units of volt as measured during tracking


#_o0o_


5.5.2 Default setup file

The following file is the preset default setup file, i.e. contains all the default values for the TCS FITS Keywords. These values are used as a basis when the first preset command (SETUP, PRSOBJ, PRSALAZ...) is received by TCS after startup or after a CLRSTP command. All new values received with a preset command are merged with the default values to build the current configuration. Whenever a new command is received it is applied incrementally to the current configuration. It is necessary to send a CLRSTP command to revert to a full default configuration.


#************************************************************************
# E.S.O. - VLT project
#
# "@(#) $Id: prsDefaultSetup.targ,v 1.98 2001/09/07 14:44:12 vltsccm Exp $"
#
# who when what
# -------- -------- ----------------------------------------------
# gchiozzi 2001-03-02 Added TEL.GSx.PPOS keyword.
# rkarban 2000-10-02 change default of epoch/equinox to 2000.0
# awalland 1999-12-01 Reintroduced three AG keywords
# gchiozzi 1999-11-29 Commented out mot AG keywords.
# awalland 09/08/99 Change defaults for TEL.AG.TYPE and TEL.AG.CYCLETIME
# tcsmgr 20/10/98 Added TEL.M1.PSOUP "T" keyword to switch ON/OFF passive supports
# awalland 09/09/98 ADC wavelengths defaulted to 400 and 800
# tphan 25/05/98 changed default ag time and min magnitude
# rkarban 11/05/98 default M2.RESET to F
# gchiozzi 01/09/97 Removed SUP keywords
# rkarban 23/03/97 never start AG by default TEL.AG.START=F
# nttmgr 07/12/96 Added keyword TEL.AO.START (F) to start active optics
# gchiozzi 21/03/96 Updated keywords
# gchiozzi 20/06/95 created
#

#************************************************************************
# NAME
#
# SYNOPSIS
#
# DESCRIPTION
# This is a sample default setup file for preset.
# Many other keywords will be added
#
# FILES
#
# ENVIRONMENT
#
# RETURN VALUES
#
# CAUTIONS
#
# EXAMPLES
#
# SEE ALSO
#
# BUGS
#
#------------------------------------------------------------------------
#
# Target type definition: one of the following values as in prsDefines.h
# prsTARG_STR_NONE "NO_TARGET"
# prsTARG_STR_ALAZ "ALT_AZ"
# prsTARG_STR_COOR "COORDINATE"
# prsTARG_STR_NAME "NAMED_POS"
TEL.TARG.TYPE "NO_TARGET"; # Type of given target (prsDefines.h)

# a - Coordinates given in setup file
TEL.TARG.ALPHA 0.0; # Alpha coordinate for the target
TEL.TARG.DELTA 1.0; # Delta coordinate for the target
TEL.TARG.EPOCH 2000.0; # Epoch
TEL.TARG.EPOCHSYSTEM "J"; # Epoch system (default J=Julian)
TEL.TARG.EQUINOX 2000.0; # Equinox
TEL.TARG.PMA 0.0; # Proper motion Alpha
TEL.TARG.PMD 0.0; # Proper motion Delta
TEL.TARG.RADVEL 0.0; # Radial velocity
TEL.TARG.PARALLAX 0.0; # Parallax
TEL.TARG.COORDTYPE "M"; # Coordinate type (M=mean A=apparent)

# b - Absolute position
TEL.TARG.ALT 0.0; # Altitude angle for fixed position target
TEL.TARG.AZ 0.0; # Azimuth angle for fixed position target

# c - Special named position
TEL.TARG.NAME ""; # Name of special target position

# e - General target parameters
TEL.TARG.WLENGTH 650; # Wavelenght (object)
TEL.TARG.OFFSETALPHA 0.0; # Alpha offset for the target
TEL.TARG.OFFSETDELTA 0.0; # Delta offset for the target
TEL.TARG.ADDVELALPHA 0.0; # Alpha additional tracking velocity
TEL.TARG.ADDVELDELTA 0.0; # Delta additional tracking velocity

# Instrument rotator
TEL.ROT.PRSCRIT ""; # Azimuth and rotator preset criterium
TEL.ROT.OFFANGLE 0.0; # Rotator offset angle
TEL.ROT.ENABLED "T"; # Rotator preset enabled
TEL.ROT.ALTAZTRACK "F"; # Track rotator on alt/az instead of Alpha/Delta

# Autoguiding
# a - General
TEL.AG.TYPE "FIELD_STAB"; # Autoguiding (NONE,AUTO_GUIDE,FIELD_STAB)
TEL.AG.START "F"; #

TEL.AG.GUIDESTAR "CATALOGUE"; # Where to find guide stars (NONE, SETUPFILE, CATALOGUE)

#TEL.AG.COUNT 0; # Min no. of counts on guide camera detector
#TEL.AG.CYCLETIME 0; # Cycle time for auto guiding
#TEL.AG.INTTIME 0.1; # Integration time for auto guiding
#TEL.AG.MAXMOVE 0; # Maximum "soft movement" of guide probe ref pos
#TEL.AG.PROBEPATH "F"; # Restricted probe path
TEL.AG.MINMAG 12; # Minimum magnitude for suitable guide star
TEL.AG.MAXMAG 16; # Maximum magnitude for suitable guide star
TEL.AG.VIGLIM "NONE"; # Handling of vignetting limits

# e - guide star search criteria

# Guide star coordinates (is in setup file)
TEL.GS1.ALPHA 0.0; #
TEL.GS1.DELTA 0.0; #
TEL.GS1.MAG 0.0; #
TEL.GS1.PPOS "POS"; #

TEL.GS2.ALPHA 0.0; #
TEL.GS2.DELTA 0.0; #
TEL.GS2.MAG 0.0; #
TEL.GS2.PPOS "POS"; #

TEL.GS3.ALPHA 0.0; #
TEL.GS3.DELTA 0.0; #
TEL.GS3.MAG 0.0; #
TEL.GS3.PPOS "POS"; #

TEL.GS4.ALPHA 0.0; #
TEL.GS4.DELTA 0.0; #
TEL.GS4.MAG 0.0; #
TEL.GS4.PPOS "POS"; #

TEL.GS5.ALPHA 0.0; #
TEL.GS5.DELTA 0.0; #
TEL.GS5.MAG 0.0; #
TEL.GS5.PPOS "POS"; #

# Various options
TEL.AG.OBJCNT "F"; # Object centering
TEL.M2.RESET "F"; # Reset M@ tip/tilt/chopping to center pos.
TEL.AO.START "F"; # Start active optics.
TEL.M1.PSOUP "T"; # Sets M1 Passive Supports

# ADC Setting
TEL.ADC.TYPE "NONE"; # Select ADC Action
TEL.ADC.ALPHA 0.0; # Alpha for optimum setting (default means telescope pos)
TEL.ADC.DELTA 0.0; # Delta for optimum setting (default means telescope pos)
TEL.ADC.ZENITH 0.0; # Zenith distance for optimum setting (default means telescope pos)
TEL.ADC.ABSPOS 0.0; # absolute position
TEL.ADC.DTIME 0.0; # delta time from now
TEL.ADC.LAMRED 800; # ADC, upper limit of wavelength range
TEL.ADC.LAMBLUE 400; # ADC, lower limit of wavelength range





Quadralay Corporation
http://www.webworks.com
Voice: (512) 719-3399
Fax: (512) 719-3606
sales@webworks.com
TOC PREV NEXT INDEX