Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

atagwsDefines.h

Go to the documentation of this file.
00001 #ifndef atagwsDEFINES_H
00002 #define atagwsDEFINES_H
00003 /******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: atagwsDefines.h,v 1.35 2003/11/26 08:07:41 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  --------------------------------------------------------
00010 * rakrban  08/12/00  Created
00011 */
00012 
00013 /******************************************************************************
00014  *
00015  * This file contains common defines used both by C/C++ files and 
00016  * dbLoader files
00017  *-----------------------------------------------------------------------------
00018  */
00019 
00020 /* 
00021  *  Defines for the target telescope.
00022  *  The default target is VLT
00023  *  Up to now only VLT and NTT
00024  */
00025 
00026 #include "agwsDefines.h"
00027 
00028 
00029 /* Module name */
00030 #define atagwsMOD "atagws"
00031 
00032 /*
00033  ***************************************************************************
00034  * Defines for states values and names
00035  ***************************************************************************
00036  */
00037 #define atagwsCFD_BEAM_STOP   "STOP"
00038 #define atagwsCFD_BEAM_MIRROR "MIRROR"
00039 #define atagwsCFD_BEAM_SPLIT  "SPLIT"
00040 #define atagwsCFD_BEAM_HOLE   "HOLE"
00041 #define atagwsCFD_BEAM_VIEWER "VIEWER"
00042 
00043 /* Defines for Field Stabilisation modes and corresponding names */
00044 
00045 
00046 /*
00047  ***************************************************************************
00048  * Defines for database points and attributes
00049  ***************************************************************************
00050  */
00051 // attributes in ccdSetup
00052 #define atagwsDB_XPOS_ADDR          ".xPosAddr"
00053 #define atagwsDB_YPOS_ADDR          ".yPosAddr"
00054 
00055 // attributes in cfdBeam
00056 #define atagwsDB_BEAM               "cfdBeam"
00057 #define atagwsDB_BEAM_OFFS_ADDR     ".beamOffsets"
00058 
00059 /*
00060  ***************************************************************************
00061  * Defines for command names
00062  ***************************************************************************
00063  */
00064 
00065 /* New commands accepted by atagwsControl process */
00066 
00067 #define atagwsDETCGS_CMD    "DETCGS"
00068 #define atagwsOPTCGS_CMD    "OPTCGS"
00069 #define atagwsSTRTCAG_CMD   "STRTCAG"
00070 #define atagwsSTOPCAG_CMD   "STOPCAG"
00071 #define atagwsOFFSGUV_CMD   "OFFSGUV"
00072 #define atagwsSETBEAM_CMD   "SETBEAM"
00073 
00074 /* commands sent to FSS */
00075 #define atagwsSEND_OPTIMIZE_CMD  "OPTIMIZ"
00076 
00077 /* commands sent to CFD */
00078 #define atagwsSEND_SETBEAM_CMD   "SETBEAM"
00079 
00080 /* commands sent to PROBE */
00081 #define atagwsSEND_SOFFSXY_CMD   "SOFFSXY"
00082 
00083 
00084 /*
00085  ***************************************************************************
00086  *  Various Type Defines
00087  ***************************************************************************
00088  */
00089 /*
00090  *   Auto guide type
00091  */
00092 #define atagwsAG_NONE       agwsAG_NONE
00093 #define atagwsAG_AUTO_GUIDE agwsAG_AUTO_GUIDE
00094 #define atagwsAG_FIELD_STAB agwsAG_FIELD_STAB
00095 #define atagwsAG_ADAPT_OPT  3
00096 
00097 #define atagwsAG_STR_NONE         agwsAG_STR_NONE
00098 #define atagwsAG_STR_AUTO_GUIDE   agwsAG_STR_AUTO_GUIDE
00099 #define atagwsAG_STR_FIELD_STAB   agwsAG_STR_FIELD_STAB
00100 #define atagwsAG_STR_ADAPT_OPT  "ADAPT_OPT"
00101 
00102 /*
00103  *   Guide-star sources
00104  */
00105 #define atagwsAG_STR_SCIENCE    "SCIENCE"
00106 #define atagwsAG_STR_SETUPFILE  "SETUPFILE"
00107 
00108 /*
00109  ***************************************************************************
00110  *  Defines for setup file keywords and aliases
00111  ***************************************************************************
00112  */
00113 
00114 /* Default and current setup file name */
00115 #define atagwsDEFAULT_SETUP   "atagwsDefaultSetup.targ"
00116 
00117 /* Setup file category */
00118 #define atagwsSK_CATEGORY     "COU"
00119 
00120 /* Setup file subsystems */
00121 #define atagwsSK_SUBS_GUID     "GUID"
00122 #define atagwsSK_SUBS_AG       "AG"
00123 #define atagwsSK_SUBS_GS       "GS"
00124 
00125 /* Setup file keywords for GUID - header keywords */
00126 #define atagwsSK_STATUS        "STATUS"
00127 #define atagwsSK_MODE          "MODE"
00128 #define atagwsSK_RA            "RA"
00129 #define atagwsSK_DEC           "DEC"
00130 #define atagwsSK_WAVELEN       "WAVELEN"
00131 
00132 /* Setup file keywords for AG */
00133 #define atagwsSK_TYPE          "TYPE"
00134 #define atagwsSK_START         "START"
00135 #define atagwsSK_GSSOURCE      "GSSOURCE"
00136 #define atagwsSK_OBJCNT        "OBJCNT"
00137 #define atagwsSK_ALPHA         "ALPHA"
00138 #define atagwsSK_DELTA         "DELTA"
00139 #define atagwsSK_COUNT         "COUNT"
00140 #define atagwsSK_CYCLETIME     "CYCLETIME"
00141 #define atagwsSK_INTTIME       "INTTIME"
00142 
00143 #define atagwsSK_COU_AG_TYPE   "COU.AG.TYPE"
00144 /* Setup file keywords for GS */
00145 #define atagwsSK_MAG           "MAG"
00146 #define atagwsSK_WAVLEN        "WAVELEN"
00147 
00148 
00149 #endif 

Generated on Wed Dec 3 14:52:07 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001