GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIH_DB / V1-0-2 > lih_orthanc / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LIH_DB_orthanc.h File Reference

CDM database instance: full ADC limit checking for instrument orthanc. More...

#include <stdio.h>
#include <LIH_DB/LIH_DB_ADCdefs.h>
#include <LIH_DB/LIH_DB_pubdefs.h>
#include <LIH_DB/LIH_DB_schema.h>
#include <LIH_DB_LMT_DEFAULT.h>
#include <LIH_DB_LMT_AEM_I_FREE_DIGITAL_SUM_MORDOR.h>
#include <LIH_DB_LMT_AEM_T_DAB_MORDOR.h>
#include <LIH_DB_LMT_AEM_I_FREE_HV_SUM_MORDOR.h>
#include <LIH_DB_LMT_AEM_V_DAB_DIGITAL_3P3_MORDOR.h>

Defines

#define CDM_LIH_DB_LIH_ORTHANC_SCHEMA   LIH_DB_SCHEMA
#define CDM_LIH_DB_LIH_ORTHANC_INSTANCE   LIH_DB_INSTANCE
#define CDM_LIH_DB_LIH_ORTHANC_VERSION   LIH_DB_VERSION
#define CDM_LIH_DB_LIH_ORTHANC_HANDLE   data

Variables

static const LIH_DB_Limit defaults
 Default limits/actions table for all ADCs.
static const LIH_DB_Limit limit []
 Limits/actions table for the listed ADCs.
static const LIH_DB_Schema data
 List of ADC limit sets.


Detailed Description

CDM database instance: full ADC limit checking for instrument orthanc.

CVS $Id: LIH_DB_orthanc.h,v 1.3 2011/03/29 20:00:35 apw Exp $
Author:
A.P.Waite

Variable Documentation

static const LIH_DB_Schema data [static]

Initial value:

{
   &defaults,                           
    sizeof(limit)/sizeof(LIH_DB_Limit), 
   &limit[0]                            
}
List of ADC limit sets.

static const defaults [static]

Initial value:

{
    LIH_DB_L_ADC, LMT_DEFAULT
}
Default limits/actions table for all ADCs.

If this file is being constructed as an "overlay" on top of an existing limit set, simply omit this stanza, and set the first element of the LIH_DB_Schema structure to NULL.

Setting the ADC index to LIH_DB_L_ADC is simply to emphasize its irrelevance. This field is not looked at when setting up defaults.

static const limit [static]

Initial value:

{
    { LIH_AEM_I_FREE_DIGITAL_SUM , LMT_AEM_I_FREE_DIGITAL_SUM_MORDOR         },
    { LIH_AEM_T_DAB              , LMT_AEM_T_DAB_MORDOR                      },
    { LIH_AEM_I_FREE_HV_SUM      , LMT_AEM_I_FREE_HV_SUM_MORDOR              },
    { LIH_AEM_V_DAB_DIGITAL_3P3  , LMT_AEM_V_DAB_DIGITAL_3P3_MORDOR          }
}
Limits/actions table for the listed ADCs.

If this file is being constructed as a pure defaults file, simply omit this stanza, and set the second and third elements of the LIH_DB_Schema structure to 0 and NULL repectively.

ADCs can be listed in any order.


Generated on Wed Nov 21 21:25:38 2012 by  doxygen 1.5.8