GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIH_DB / V1-0-2 > lih_orthanc / rhel4-32
#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. |
CVS $Id: LIH_DB_orthanc.h,v 1.3 2011/03/29 20:00:35 apw Exp $
static const LIH_DB_Schema data [static] |
static const defaults [static] |
Initial value:
{ LIH_DB_L_ADC, LMT_DEFAULT }
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 } }
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.