00001 #ifndef fswsDEFINES_H 00002 #define fswsDEFINES_H 00003 /****************************************************************************** 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: fswsDefines.h,v 1.67 2003/11/12 08:38:03 vltsccm Exp $" 00007 * 00008 * who when what 00009 * -------- -------- -------------------------------------------------------- 00010 * rkarban 2002-01-30 share tif definitions for agws modes 00011 * rkarban 2002-01-10 add def for SLUTARG 00012 * gchiozzi 2000-07-27 Moved handling of pix size in agwsServer. 00013 * gchiozzi 2000-02-02 Removed define for FSCOMP command to fsServer. Not existent any more 00014 * gchiozzi 2000-01-26 Changed definition of fswsFSMODE from "fsmode" to "mode" 00015 * tcsmgr 16/10/98 pixSize is now intialised at Init sending a PIXSIZE command to the proper ag LCU 00016 * gchiozzi 27/08/98 Added define for setup file mode selection 00017 * gchiozzi 08/12/97 Created 00018 */ 00019 00020 /****************************************************************************** 00021 * 00022 * This file contains common defines used both by C/C++ files and 00023 * dbLoader files 00024 *----------------------------------------------------------------------------- 00025 */ 00026 00027 /* 00028 * Defines for the target telescope. 00029 * The default target is VLT 00030 * Up to now only VLT and NTT 00031 */ 00032 00033 #include "agwsDefines.h" 00034 #include "tifDefines.h" 00035 00036 00037 /* Module name */ 00038 #define fswsMOD "fsws" 00039 00040 /* 00041 *************************************************************************** 00042 * Defines for states values and names 00043 *************************************************************************** 00044 */ 00045 00046 /* Defines for Field Stabilisation modes and corresponding names */ 00047 00048 #define fswsMODE_NONE tifAG_MODE_NONE 00049 #define fswsMODE_AUTOGUIDE tifAG_MODE_AUTOGUIDE 00050 #define fswsMODE_FIELDSTAB tifAG_MODE_FIELDSTAB 00051 #define fswsMODE_PROBEGUIDE tifAG_MODE_PROBEGUIDE 00052 00053 #define fswsMODE_STR_NONE "NONE" 00054 #define fswsMODE_STR_AUTOGUIDE agwsMODE_STR_AUTOGUIDE 00055 #define fswsMODE_STR_FIELDSTAB "FS" 00056 #define fswsMODE_STR_PROBEGUIDE "PG" 00057 #define fswsMODE_STR_SETUPFILE "SF" 00058 00059 #define fswsRG_IDLE 0 00060 #define fswsRG_REQUESTED 1 00061 #define fswsRG_ACTIVE 2 00062 00063 #define fswsRG_STR_IDLE "IDLE" 00064 #define fswsRG_STR_REQUESTED "REQUESTED" 00065 #define fswsRG_STR_ACTIVE "ACTIVE" 00066 00067 /* 00068 *************************************************************************** 00069 * Defines for database points and attributes 00070 *************************************************************************** 00071 */ 00072 00073 /* 00074 * configuration for fswsCON_SERVER 00075 */ 00076 #define fswsDB_CMDTIMEOUTS "cmdTimeouts" 00077 #define fswsDB_CCD_ON_SKY_SEND_FREQ "ccdOnSkySendFreq" 00078 00079 /* 00080 * Field stabilisation basic attributes 00081 */ 00082 #define fswsFSMODE "mode" 00083 #define fswsRGSTATE "rgState" 00084 00085 /* 00086 * Instrument interface points/attributes 00087 */ 00088 #define fswsINS_DATA "insData" 00089 #define fswsDESTINATION "destination" 00090 #define fswsSTART_AG_TO "startAgTimeout" 00091 #define fswsSTOP_AG_TO "stopAgTimeout" 00092 #define fswsOFFS_AG_TO "offsAgTimeout" 00093 00094 /* 00095 * CHOP interface points/attributes 00096 */ 00097 #define agwsDB_TARGET_CHOP "chopCommands" 00098 00099 00100 /* 00101 *************************************************************************** 00102 * Defines for command names 00103 *************************************************************************** 00104 */ 00105 00106 /* New commands accepted by fswsControl process */ 00107 #define fswsFSREQ_CMD "FSREQ" 00108 #define fswsFSREL_CMD "FSREL" 00109 #define fswsSTOPRG_CMD "STOPRG" 00110 #define fswsSTARTRG_CMD "STARTRG" 00111 #define fswsSLUTARG_CMD "SLUTARG" 00112 00113 /* New commands sent to fs LCU server */ 00114 #define fswsAD2XY_CMD "AD2XY" 00115 #define fswsCHOPSET_CMD "CHOPSET" 00116 #define fswsWRITEROT_CMD "WRIROT" 00117 00118 /* New commands sent to the chopping/2 control process process */ 00119 #define fswsM2_DISFS_CMD "DISFS" 00120 #define fswsM2_ENAFS_CMD "ENAFS" 00121 #define fswsM2_GETBID_CMD "GETBID" 00122 00123 /* 00124 *************************************************************************** 00125 * Various Type Defines 00126 *************************************************************************** 00127 */ 00128 00129 00130 00131 /* 00132 *************************************************************************** 00133 * Defines for setup file keywords and aliases 00134 *************************************************************************** 00135 */ 00136 00137 00138 #endif