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

atfssDefines.h

Go to the documentation of this file.
00001 /************************************************************************
00002 * E.S.O. - VLT project
00003 #
00004 # "@(#) $Id: atfssDefines.h,v 1.54 2003/11/18 12:20:33 vltsccm Exp $" 
00005 *
00006 * who       when      what
00007 * --------  --------  -------------------------------------------------
00008 * atcsmgr 2001-04-17 Added defines for Choppping stage
00009 * pduhoux   2000-03-02  created
00010 * ------------------------------------------------------------------
00011 */
00012 #ifndef ATFSS_DEFINES_H
00013 #define ATFSS_DEFINES_H
00014 
00015 #define atfssMODULE_ID    "atfss"
00016 #define atfssMODULE_NAME   atfssMODULE_ID
00017 #define atfssMODULE_TITLE "atfss"
00018 #define atfssLOG_ID      101    
00019 
00020 #include "lsfDefines.h"
00021 
00022 /* chop definitions */
00023 #define atfssCHOP_TASK_NAME      "atfssChop"
00024 #define atfssCHOP_TASK_PRIORITY  10
00025 #define atfssCHOP_TASK_OPTIONS   VX_FP_TASK
00026 #define atfssCHOP_TASK_STACK     30000
00027 #define atfssCHOP_TASK_TIMER     4
00028 #define atfssCHOP_DELAY          1
00029 
00030 #define atfssCHOP_GUIDE_A        0
00031 #define atfssCHOP_GUIDE_B        1
00032 #define atfssCHOP_GUIDE_BOTH     2
00033 
00034 /* Sub-State of module */
00035 #define atfssSS_ERROR lsfSUBSTATE_ERROR
00036 #define atfssSS_IDLE  lsfSUBSTATE_IDLE
00037 #define atfssSS_INIT  lsfSUBSTATE_INITIALIZING
00038 #define atfssSS_LOOP  lsfSUBSTATE_ACTIVE
00039 
00040 #define atfssSS_STR_ERROR "ERROR"
00041 #define atfssSS_STR_IDLE  "IDLE"
00042 #define atfssSS_STR_INIT  "INITIALIZING"
00043 #define atfssSS_STR_LOOP  "LOOP"
00044 
00045 /* Sensor */
00046 #define atfssSENSOR_DEVICE "sensor"
00047 #define atfssSENSOR_NAME   "apd"   /* sensor name         */
00048 #define atfssSENSOR_TIMEOUT 30           /* sensor timeout [s]   */
00049 
00050 /* Sensor States */
00051 #define atfssSENSOR_IN_ERROR  lsfSUBSTATE_ERROR
00052 #define atfssSENSOR_IS_UNDEF  -1
00053 #define atfssSENSOR_IS_IDLE   lsfSUBSTATE_IDLE
00054 #define atfssSENSOR_IS_READY  lsfSUBSTATE_IDLE
00055 #define atfssSENSOR_IS_ACTIVE lsfSUBSTATE_ACTIVE
00056 
00057 /* Sensor OpMode */
00058 #define atfssSENSOR_LOOP_OPN_STR "Open"
00059 #define atfssSENSOR_LOOP_CLS_STR "Close"
00060 #define atfssSENSOR_LOOP_CGS_STR "Calibrate"
00061 
00062 /*
00063  * Chop states
00064  */
00065 #define atfssSTAGE_IDLE           0
00066 #define atfssSTAGE_CHOPPING       1
00067 #define atfssSTAGE_FIELDSTABI     2
00068 #define atfssSTAGE_CHOP_FIELD     3
00069 #define atfssSTAGE_FAILED         4
00070 
00071 /* APD State Monitor */
00072 #define atfssAPDMON_TASK_NAME      "atfssApdMonitor"
00073 #define atfssAPDMON_TASK_PRIORITY  74
00074 #define atfssAPDMON_TASK_STACK     30
00075 
00076 #endif  /* !ATFSS_DEFINES_H */
00077 

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