SIS Level 1 Data Structures



SisConstants.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/SisConstants.h,v $ */
/* $Author: rgr $ */
/* $Date: 1998/12/02 02:35:47 $ */
/* $Revision: 1.2 $ */

#define SIS_DIAG_BIT                           0x20
#define SIS_CMD_RESP_BIT                       0x40
#define SIS_SYNC_BIT                           0x80

#define SIS_QUALITY_FORMAT_ID_BIT              0x01
#define SIS_QUALITY_MNF_COUNTER_BIT            0x02
#define SIS_QUALITY_SC_CLOCK_BIT               0x04
#define SIS_QUALITY_SYNC_BIT                   0x08
#define SIS_QUALITY_CT_INDEX_BIT               0x10
#define SIS_QUALITY_CYCLE_NUMBER_BIT           0x20
#define SIS_QUALITY_FILL_LEVEL0_BIT            0x40
#define SIS_QUALITY_FILL_LEVEL1_BIT            0x80

#define SIS_UNDEFINED_8                        0xFF
#define SIS_UNDEFINED_16                     0xFFFF
#define SIS_UNDEFINED_32                 0xFFFFFFFF

#define SIS_END_OF_DATA                  0xFFFFFFFF

#define NUM_SIS_CMD_TAB_BYTES                  1180
#define NUM_SIS_CMD_TAB_BYTES_PER_CYCLE          80
#define NUM_SIS_EVT_BUFFERS                      96
#define NUM_SIS_EVT_CLASSES                       4
#define NUM_SIS_HSKP_BYTES                        6
#define NUM_SIS_HIGH_PRIORITY_RATES              18
#define NUM_SIS_HIGH_PRIORITY_SAMPLES             8
#define NUM_SIS_MATRIX_STRIPS                    64
#define NUM_SIS_MATRIX_PLANES                     4
#define NUM_SIS_MNFS_PER_CYCLE                  256
#define NUM_SIS_RAW_STACK_EVT_BYTES             540
#define NUM_SIS_STACK_DETECTORS                   8
#define NUM_SIS_TELEMETRY_BYTES                 249

#define MAX_NUM_SIS_DIAG_BYTES                  660
#define MAX_NUM_SIS_EVENT_BYTES                 109
#define MAX_NUM_SIS_EVENTS_PER_MNF               17
#define MAX_NUM_SIS_CMD_ECHO_CHARS               80
#define MAX_NUM_SIS_EVT_SUB_BLOCKS               32

#define MAX_SIS_EVT_AGE                           8

#define SIS_LIVETIME_UNIT_MICROSECOND             8

#define SIS_HSKP_OFFSET                           0
#define SIS_EVENT_THRESHOLD                       4
#define SIS_EVT_BUFFER_NUMBER_OFFSET             32

#define SIZE_SIS_SUBSET_FILTER                    3
#define SIZE_SIS_CYCLE_QUEUE                     16
#define SIZE_SIS_CMD_TAB_QUEUE                   24
#define SIZE_SIS_SUMMARY_QUEUE                   64
#define SIZE_SIS_CMD_ECHO_QUEUE                1000
#define SIZE_SIS_DIAG_EVENT_QUEUE                64
#define SIZE_SIS_EVENT_BUFFER                 75000


#define SIS_SC_HSKP_COVER_TELLTALE_LOC          202
#define SIS_SC_HSKP_CURRENT_LOC                 204
#define SIS_SC_HSKP_MAIN_BUS_VOLT_LOC            71
#define SIS_SC_HSKP_TEMPERATURE1_LOC            196
#define SIS_SC_HSKP_TEMPERATURE2_LOC            197
#define SIS_SC_HSKP_TEMPERATURE_INT_LOC          23

#define SIS_MNF_COVER_TELLTALE                   10
#define SIS_MNF_CURRENT                          10
#define SIS_MNF_MAIN_BUS_VOLT                     3
#define SIS_MNF_TEMPERATURE1                      9
#define SIS_MNF_TEMPERATURE2                      9

#define SIS_CONSISTENCY_CLOCK                     4
#define SIS_CONSISTENCY_CYCLE_NUMBER              1
#define SIS_CONSISTENCY_CTINDEX                   1
#define SIS_CONSISTENCY_TOTAL                     6

#define SIS_HIGH_PRIORITY_RTSW_0                 16
#define SIS_HIGH_PRIORITY_RTSW_1                 17

SisAdc.h , v 1.1


/* $Source: /home/mussel9/asc/aceprog/include/RCS/SisAdc.h,v $ */
/* $Author: rgr $ */
/* $Date: 1997/09/09 18:44:01 $ */
/* $Revision: 1.1 $ */

#define NUM_SIS_ADC                    44

#define SIS_ADC_MONITOR_P4V            20
#define SIS_ADC_MONITOR_P5V            19
#define SIS_ADC_MONITOR_P7V            21
#define SIS_ADC_MONITOR_M7V            22
#define SIS_ADC_MONITOR_P13V           17
#define SIS_ADC_MONITOR_M13V           18
#define SIS_ADC_MONITOR_P19V           16
#define SIS_ADC_MONITOR_CURRENT_A      40
#define SIS_ADC_MONITOR_CURRENT_B      41
#define SIS_ADC_TEMP_MOTHERBOARD        0
#define SIS_ADC_TEMP_ANALOG_BOARD      11
#define SIS_ADC_TEMP_POST_REG_BOARD    12
#define SIS_ADC_TEMP_LOGIC_BOARD       13
#define SIS_ADC_TEMP_LVPS_BOARD         9
#define SIS_ADC_TEMP_HVPS_BOARD        10
#define SIS_ADC_TEMP_M1A_BOARD         15
#define SIS_ADC_TEMP_M2B_BOARD         14
#define SIS_ADC_TEMP_T12A_BOARD         1
#define SIS_ADC_TEMP_T34A_BOARD         2
#define SIS_ADC_TEMP_T56A_BOARD         3
#define SIS_ADC_TEMP_T78A_BOARD         4
#define SIS_ADC_TEMP_T12B_BOARD         5
#define SIS_ADC_TEMP_T34B_BOARD         6
#define SIS_ADC_TEMP_T56B_BOARD         7
#define SIS_ADC_TEMP_T78B_BOARD         8
#define SIS_ADC_POSTDCT1A              24
#define SIS_ADC_POSTDCT2A              25
#define SIS_ADC_POSTDCT3A              26
#define SIS_ADC_POSTDCT4A              27
#define SIS_ADC_POSTDCT5A              28
#define SIS_ADC_POSTDCT6A              29
#define SIS_ADC_POSTDCT7A              30
#define SIS_ADC_POSTDCT8A              31
#define SIS_ADC_POSTDCT1B              32
#define SIS_ADC_POSTDCT2B              33
#define SIS_ADC_POSTDCT3B              34
#define SIS_ADC_POSTDCT4B              35
#define SIS_ADC_POSTDCT5B              36
#define SIS_ADC_POSTDCT6B              37
#define SIS_ADC_POSTDCT7B              38
#define SIS_ADC_POSTDCT8B              39

BrowseSis_0.h , v 1.1


/* $Source: /home/mussel9/asc/aceprog/include/RCS/BrowseSis_0.h,v $ */
/* $Author: rgr $ */
/* $Date: 1998/12/02 02:47:44 $ */
/* $Revision: 1.1 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct BrowseSis_0 {
   float64 bin_start;
   float64 bin_end;
   float32 FluxProton_6_5;
   float32 FluxProton_7_5;
   float32 FluxHelium_3_7;
   float32 FluxHelium_4_8;
   float32 FluxHelium_7_4;
   float32 FluxHelium_14;
   float32 FluxCno_7;
   float32 FluxCno_9_7;
   float32 FluxCno_15;
   float32 FluxCno_28;
   float32 FluxHiZ_9_4;
   float32 FluxHiZ_13_6;
   float32 FluxHiZ_21_4;
   float32 FluxHiZ_41;
   float32 FluxPen;
   float32 FluxHeliumSubset;
   float32 FluxCnoSubset;
   float32 WgtFactProton_6_5;
   float32 WgtFactProton_7_5;
   float32 WgtFactHelium_3_7;
   float32 WgtFactHelium_4_8;
   float32 WgtFactHelium_7_4;
   float32 WgtFactHelium_14;
   float32 WgtFactCno_7;
   float32 WgtFactCno_9_7;
   float32 WgtFactCno_15;
   float32 WgtFactCno_28;
   float32 WgtFactHiZ_9_4;
   float32 WgtFactHiZ_13_6;
   float32 WgtFactHiZ_21_4;
   float32 WgtFactHiZ_41;
   float32 WgtFactPen;
   float32 WgtFactHeliumSubset;
   float32 WgtFactCnoSubset;

   float32 CounterRtsw0[NUM_SIS_HIGH_PRIORITY_SAMPLES];
   float32 CounterRtsw1[NUM_SIS_HIGH_PRIORITY_SAMPLES];
};

L1SisCommandEcho.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisCommandEcho.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.2 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisCommandEcho
{
   uint32 ClockMinorFrame;
   uint32 Second1996;
   uint32 microsecond;
   uint8  NumberChars;
   char8  CommandEcho[MAX_NUM_SIS_CMD_ECHO_CHARS];
};


/* Definition:                                                       */
/*    ClockMinorFrame = S/C clock of the minor frame containing the  */
/*                      command echo                                 */
/*    NumberChars = Number of characters in the command echo         */
/*    CommandEcho = Command echo characters                          */

L1SisCommandTable.h , v 1.3


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisCommandTable.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.3 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisCommandTable
{
   uint32 ClockMinorFrame0;
   uint32 ClockMinorFrame1;
   uint32 Second1996MinorFrame0;
   uint32 MicrosecondMinorFrame0;
   uint32 Second1996MinorFrame1;
   uint32 MicrosecondMinorFrame1;
   uint16 NumberCommandEchoes;
   uint16 coinmsk;
   int16  stbfon;
   uint16 leakint;
   uint8  hkbltim[2];
   int16  oadjflg;
   int16  vrefflg;
   int16  scycflg;
   uint16 mtarget;
   uint16 mscale;
   uint16 mbounds[2];
   uint16 mnav[2];
   uint16 aulkflg;
   int16  ttpflg;
   uint16 rnglim;
   uint16 claslim[2];
   int16  audgflg;
   uint16 audglim;
   uint16 samplim;
   uint16 heflg;
   uint16 hyflg;
   uint16 hetlim;
   uint16 hytlim;
   uint8  htcmd[4];
   uint16 stmask;
   uint8  ecmd[2];
   uint16 hiprcmd[36];
   uint8  sdacval[26];
   uint8  sdacsiz[26];
   uint8  dacval0[42];
   uint8  dacsiz0[42];
   uint8  dacval1[6];
   uint8  dacsiz1[6];
   uint8  hdisc2[8];
   uint8  hdisc0[8];
   uint8  mdisc2[8];
   uint8  mdisc0[8];
   uint8  adcen[8];
   uint8  gdiscen[8];
   uint8  mdiscen[8];
   uint8  hdiscen[8];
   uint8  dirbits[32];
   uint8  calen[64];
   uint8  compen[64];
   uint8  clasmap[32];
   uint16 imthresh[4];
   uint8  imflag[2];
   uint8  im0arr[20];
   uint8  im1arr[20];
   uint8  strplim[4];
   uint16 mcntlim[4];
   uint16 anglim[2];
   uint16 cnoc1[8];
   uint16 cnoc2[8];
   uint16 stimeid;
   uint8  eidmap[512];
   uint16 nbadstp;
   uint16 badstrp[16];
   uint8  QualityCoinmsk;
   uint8  QualityStbfon;
   uint8  QualityLeakint;
   uint8  QualityHkbltim[2];
   uint8  QualityOadjflg;
   uint8  QualityVrefflg;
   uint8  QualityScycflg;
   uint8  QualityMtarget;
   uint8  QualityMscale;
   uint8  QualityMbounds[2];
   uint8  QualityMnav[2];
   uint8  QualityAulkflg;
   uint8  QualityTtpflg;
   uint8  QualityRnglim;
   uint8  QualityClaslim[2];
   uint8  QualityAudgflg;
   uint8  QualityAudglim;
   uint8  QualitySamplim;
   uint8  QualityHeflg;
   uint8  QualityHyflg;
   uint8  QualityHetlim;
   uint8  QualityHytlim;
   uint8  QualityHtcmd[4];
   uint8  QualityStmask;
   uint8  QualityEcmd[2];
   uint8  QualityHiprcmd[36];
   uint8  QualitySdacval[26];
   uint8  QualitySdacsiz[26];
   uint8  QualityDacval0[42];
   uint8  QualityDacsiz0[42];
   uint8  QualityDacval1[6];
   uint8  QualityDacsiz1[6];
   uint8  QualityHdisc2[8];
   uint8  QualityHdisc0[8];
   uint8  QualityMdisc2[8];
   uint8  QualityMdisc0[8];
   uint8  QualityAdcen[8];
   uint8  QualityGdiscen[8];
   uint8  QualityMdiscen[8];
   uint8  QualityHdiscen[8];
   uint8  QualityDirbits[32];
   uint8  QualityCalen[64];
   uint8  QualityCompen[64];
   uint8  QualityClasmap[32];
   uint8  QualityImthresh[4];
   uint8  QualityImflag[2];
   uint8  QualityIm0arr[20];
   uint8  QualityIm1arr[20];
   uint8  QualityStrplim[4];
   uint8  QualityMcntlim[4];
   uint8  QualityAnglim[2];
   uint8  QualityCnoc1[8];
   uint8  QualityCnoc2[8];
   uint8  QualityStimeid;
   uint8  QualityEidmap[512];
   uint8  QualityNbadstp;
   uint8  QualityBadstrp[16];
};


/* Definition:                                                       */
/*    ClockMinorFrame0 = S/C clock of the start of the instrument    */
/*                       cycle that contains the first byte of the   */
/*                       command table                               */
/*    ClockMinorFrame1 = S/C clock of the end of the instrument      */
/*                       cycle that contains the last byte of the    */
/*                       command table                               */
/*                                                                   */
/* Note: Quality bits are defined in the table below.  If the field  */
/*       which the quality byte is trying to characterize contains   */
/*       multiple bytes, the quality byte associated with the field  */
/*       is the logical "or" of the individual quality bytes.        */
/*                                                                   */
/* Quality bits:                                                     */
/*    0x01 = Format ID error                                         */
/*    0x02 = Minor/major counter error                               */
/*    0x04 = S/C clock error                                         */
/*    0x08 = Sync bit error                                          */
/*    0x10 = Command table index error                               */
/*    0x20 = Cycle number error                                      */
/*    0x40 = Level 0 quality bit                                     */
/*    0x80 = Level 1 quality bit                                     */

L1SisDiagnosticEvent.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisDiagnosticEvent.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.2 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisDiagnosticEvent
{
   uint32 ClockMinorFrame0;
   uint32 ClockMinorFrame1;
   uint32 Second1996MinorFrame0;
   uint32 MicrosecondMinorFrame0;
   uint32 Second1996MinorFrame1;
   uint32 MicrosecondMinorFrame1;
   uint16 RawStack[NUM_SIS_RAW_STACK_EVT_BYTES/2];
   uint8  NormalEvent[MAX_NUM_SIS_EVENT_BYTES];
};


/* Definition:                                                       */
/*    ClockMinorFrame0 = S/C clock of the minor frame containing     */
/*                       the start of the diagnostic event           */
/*    ClockMinorFrame1 = S/C clock of the minor frame containing     */
/*                       the end of the diagnostic event             */
/*    RawStack = Raw stack event portion of the diagnostic event     */
/*    NormalEvent = Normal event portion of the diagnostic event     */

L1SisDacOffset0.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisDacOffset0.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.2 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisDacOffset0
{
   uint32 ClockCycle;
   uint32 Second1996;
   uint32 microsecond;
   uint16 M1aGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M1aHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2aGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2aHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M1bGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M1bHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2bGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2bHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  M1aGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  M1aHvOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  M2aGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  M2aHvOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1aGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1aHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2aGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2aHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1bGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1bHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2bGndCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2bHvCoarseDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1aGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1aHvOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2aGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2aHvOffset[NUM_SIS_MATRIX_STRIPS];
};


/* Definition:                                                       */
/*    ClockCycle = S/C clock of the first minor frame of the cycle   */
/*                                                                   */
/* Note: Quality bits are defined in the table below.  If the field  */
/*       which the quality byte is trying to characterize contains   */
/*       multiple bytes, the quality byte associated with the field  */
/*       is the logical "or" of the individual quality bytes.        */
/*                                                                   */
/* Quality bits:                                                     */
/*    0x01 = Format ID error                                         */
/*    0x02 = Minor/major counter error                               */
/*    0x04 = S/C clock error                                         */
/*    0x08 = Sync bit error                                          */
/*    0x10 = Command table index error                               */
/*    0x20 = Cycle number error                                      */
/*    0x40 = Level 0 quality bit                                     */
/*    0x80 = Level 1 quality bit                                     */

L1SisDacOffset1.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisDacOffset1.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.2 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisDacOffset1
{
   uint32 ClockCycle;
   uint32 Second1996;
   uint32 microsecond;
   uint16 M1aGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M1aHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2aGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2aHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M1bGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M1bHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2bGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint16 M2bHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  M1bGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  M1bHvOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  M2bGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  M2bHvOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1aGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1aHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2aGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2aHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1bGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1bHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2bGndFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2bHvFineDac[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1bGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM1bHvOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2bGndOffset[NUM_SIS_MATRIX_STRIPS];
   uint8  QualityM2bHvOffset[NUM_SIS_MATRIX_STRIPS];
};


/* Definition:                                                       */
/*    ClockCycle = Adjusted S/C clock.  The value 256 has been       */
/*                 subtracted from the S/C clock of the first minor  */
/*                 frame of the cycle in which the DAC and offsets   */
/*                 were readout.                                     */
/*                                                                   */
/* Note: Quality bits are defined in the table below.  If the field  */
/*       which the quality byte is trying to characterize contains   */
/*       multiple bytes, the quality byte associated with the field  */
/*       is the logical "or" of the individual quality bytes.        */
/*                                                                   */
/* Quality bits:                                                     */
/*    0x01 = Format ID error                                         */
/*    0x02 = Minor/major counter error                               */
/*    0x04 = S/C clock error                                         */
/*    0x08 = Sync bit error                                          */
/*    0x10 = Command table index error                               */
/*    0x20 = Cycle number error                                      */
/*    0x40 = Level 0 quality bit                                     */
/*    0x80 = Level 1 quality bit                                     */

L1SisEventCycle.h , v 1.3


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisEventCycle.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.3 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisEventCycle
{
   uint32 ClockCycle;
   uint32 Second1996;
   uint32 microsecond;
   uint16 NumberNormalEventBytes[MAX_SIS_EVT_AGE];
   uint16 NumberEvents;
   uint8  EventBuffer[SIZE_SIS_EVENT_BUFFER];
   uint8  ContinuationFlag;
};


/* Definition:                                                       */
/*    ClockCycle = S/C clock of the first minor frame of the cycle   */
/*                 in which SIS processed the events                 */
/*    NumberNormalEventBytes = Number of bytes in each of the cycles */
/*                             that is used for normal event         */
/*                             transmision                           */
/*    NumberEvents = Number of events stored in the event buffer     */
/*    EventBuffer = Event buffer                                     */
/*    ContinuationFlag = Flag indicating events from this cycle are  */
/*                       continued in the next structure             */
/*                                                                   */
/* Note: Each event in the event buffer is preceded by two bytes.    */
/*       The first is the relative age of the event.  The second is  */
/*       minor frame in which the first byte of the event was        */
/*       transmitted.                                                */

L1SisHighPriorityRate.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisHighPriorityRate.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.2 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisHighPriorityRate
{
   uint32 ClockMinorFrame;
   uint32 Second1996;
   uint32 microsecond;
   uint16 hp[NUM_SIS_HIGH_PRIORITY_RATES];
   uint8  QualityHp[NUM_SIS_HIGH_PRIORITY_RATES];
};


/* Definition:                                                       */
/*    ClockMinorFrame = Adjusted S/C clock of the minor frame in     */
/*                      which the high priority rate accumulation    */
/*                      began                                        */
/*    hp = high priority rates                                       */
/*    QualityHp = Flags for missing high priority rates              */
/*                                                                   */
/* Note: All rates are compressed.                                   */
/*                                                                   */
/* Note: Quality bits are defined in the table below.  If the field  */
/*       which the quality byte is trying to characterize contains   */
/*       multiple bytes, the quality byte associated with the field  */
/*       is the logical "or" of the individual quality bytes.        */
/*                                                                   */
/* Quality bits:                                                     */
/*    0x01 = Format ID error                                         */
/*    0x02 = Minor/major counter error                               */
/*    0x04 = S/C clock error                                         */
/*    0x08 = Sync bit error                                          */
/*    0x10 = Command table index error                               */
/*    0x20 = Cycle number error                                      */
/*    0x40 = Level 0 quality bit                                     */
/*    0x80 = Level 1 quality bit                                     */

L1SisHskp.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisHskp.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.2 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisHskp
{
   uint32 ClockCycle;
   uint32 Second1996;
   uint32 microsecond;
   uint32 CycleNumber;
   uint16 CommandTableIndex;
   uint16 MonitorP4V;
   uint16 MonitorP5V;
   uint16 MonitorP7V;
   uint16 MonitorM7V;
   uint16 MonitorP13V;
   uint16 MonitorM13V;
   uint16 MonitorP19V;
   uint16 MonitorCurrentA;
   uint16 MonitorCurrentB;
   uint16 TemperatureMotherBoard;
   uint16 TemperatureAnalogBoard;
   uint16 TemperaturePostRegBoard;
   uint16 TemperatureLogicBoard;
   uint16 TemperatureLvpsBoard;
   uint16 TemperatureHvpsBoard;
   uint16 TemperatureM1aBoard;
   uint16 TemperatureM2bBoard;
   uint16 TemperatureT12aBoard;
   uint16 TemperatureT34aBoard;
   uint16 TemperatureT56aBoard;
   uint16 TemperatureT78aBoard;
   uint16 TemperatureT12bBoard;
   uint16 TemperatureT34bBoard;
   uint16 TemperatureT56bBoard;
   uint16 TemperatureT78bBoard;
   uint16 PostDcT1a;
   uint16 PostDcT2a;
   uint16 PostDcT3a;
   uint16 PostDcT4a;
   uint16 PostDcT5a;
   uint16 PostDcT6a;
   uint16 PostDcT7a;
   uint16 PostDcT8a;
   uint16 PostDcT1b;
   uint16 PostDcT2b;
   uint16 PostDcT3b;
   uint16 PostDcT4b;
   uint16 PostDcT5b;
   uint16 PostDcT6b;
   uint16 PostDcT7b;
   uint16 PostDcT8b;
   uint8  StatusTelemetrySide;
   uint8  StatusRefreshEnable;
   uint8  StatusHeatAuto;
   uint8  StatusHeatLevel;
   uint8  QualityCycleNumber;
   uint8  QualityCommandTableIndex;
   uint8  QualityMonitorP4V;
   uint8  QualityMonitorP5V;
   uint8  QualityMonitorP7V;
   uint8  QualityMonitorM7V;
   uint8  QualityMonitorP13V;
   uint8  QualityMonitorM13V;
   uint8  QualityMonitorP19V;
   uint8  QualityMonitorCurrentA;
   uint8  QualityMonitorCurrentB;
   uint8  QualityTemperatureMotherBoard;
   uint8  QualityTemperatureAnalogBoard;
   uint8  QualityTemperaturePostRegBoard;
   uint8  QualityTemperatureLogicBoard;
   uint8  QualityTemperatureLvpsBoard;
   uint8  QualityTemperatureHvpsBoard;
   uint8  QualityTemperatureM1aBoard;
   uint8  QualityTemperatureM2bBoard;
   uint8  QualityTemperatureT12aBoard;
   uint8  QualityTemperatureT34aBoard;
   uint8  QualityTemperatureT56aBoard;
   uint8  QualityTemperatureT78aBoard;
   uint8  QualityTemperatureT12bBoard;
   uint8  QualityTemperatureT34bBoard;
   uint8  QualityTemperatureT56bBoard;
   uint8  QualityTemperatureT78bBoard;
   uint8  QualityPostDcT1a;
   uint8  QualityPostDcT2a;
   uint8  QualityPostDcT3a;
   uint8  QualityPostDcT4a;
   uint8  QualityPostDcT5a;
   uint8  QualityPostDcT6a;
   uint8  QualityPostDcT7a;
   uint8  QualityPostDcT8a;
   uint8  QualityPostDcT1b;
   uint8  QualityPostDcT2b;
   uint8  QualityPostDcT3b;
   uint8  QualityPostDcT4b;
   uint8  QualityPostDcT5b;
   uint8  QualityPostDcT6b;
   uint8  QualityPostDcT7b;
   uint8  QualityPostDcT8b;
   uint8  QualityStatusTelemetrySide;
   uint8  QualityStatusRefreshEnable;
   uint8  QualityStatusHeatAuto;
   uint8  QualityStatusHeatLevel;
};


/* Definition:                                                       */
/*    ClockCycle = S/C clock of the first minor frame of the cycle   */
/*                                                                   */
/* Note: Quality bits are defined in the table below.  If the field  */
/*       which the quality byte is trying to characterize contains   */
/*       multiple bytes, the quality byte associated with the field  */
/*       is the logical "or" of the individual quality bytes.        */
/*                                                                   */
/* Quality bits:                                                     */
/*    0x01 = Format ID error                                         */
/*    0x02 = Minor/major counter error                               */
/*    0x04 = S/C clock error                                         */
/*    0x08 = Sync bit error                                          */
/*    0x10 = Command table index error                               */
/*    0x20 = Cycle number error                                      */
/*    0x40 = Level 0 quality bit                                     */
/*    0x80 = Level 1 quality bit                                     */

L1SisLowPriorityRate.h , v 1.3


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisLowPriorityRate.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.3 $ */

#include "hdfi.h"
#include "SisConstants.h"

struct L1SisLowPriorityRate
{
   uint32 ClockCycle;
   uint32 Second1996;
   uint32 microsecond;
   uint16 RejcntsM1a;
   uint16 RejcntsM1ha;
   uint16 RejcntsM2a;
   uint16 RejcntsM2ha;
   uint16 RejcntsT1a;
   uint16 RejcntsT2a;
   uint16 RejcntsT3a;
   uint16 RejcntsT4a;
   uint16 RejcntsT5a;
   uint16 RejcntsT6a;
   uint16 RejcntsT7a;
   uint16 RejcntsT8a;
   uint16 RejcntsM12a;
   uint16 RejcntsMora;
   uint16 RejcntsHora;
   uint16 RejcntsHiza;
   uint16 RejcntsMaybeHiza;
   uint16 RejcntsZ2a;
   uint16 RejcntsMaybeZ2a;
   uint16 RejcntsMaybeZ1a;
   uint16 RejcntsM1b;
   uint16 RejcntsM1hb;
   uint16 RejcntsM2b;
   uint16 RejcntsM2hb;
   uint16 RejcntsT1b;
   uint16 RejcntsT2b;
   uint16 RejcntsT3b;
   uint16 RejcntsT4b;
   uint16 RejcntsT5b;
   uint16 RejcntsT6b;
   uint16 RejcntsT7b;
   uint16 RejcntsT8b;
   uint16 RejcntsM12b;
   uint16 RejcntsMorb;
   uint16 RejcntsHorb;
   uint16 RejcntsHizb;
   uint16 RejcntsMaybeHizb;
   uint16 RejcntsZ2b;
   uint16 RejcntsMaybeZ2b;
   uint16 RejcntsMaybeZ1b;
   uint16 RejcntsRejFast;
   uint16 RejcntsStimCoin;
   uint16 RejcntsHazard;
   uint16 RejcntsAdc2a;
   uint16 RejcntsAdc3a;
   uint16 RejcntsAdc2b;
   uint16 RejcntsAdc3b;
   uint16 RejcntsCoinRate0;
   uint16 RejcntsCoinRate1;
   uint16 VldcntsM1a;
   uint16 VldcntsM1ha;
   uint16 VldcntsM2a;
   uint16 VldcntsM2ha;
   uint16 VldcntsT1a;
   uint16 VldcntsT2a;
   uint16 VldcntsT3a;
   uint16 VldcntsT4a;
   uint16 VldcntsT5a;
   uint16 VldcntsT6a;
   uint16 VldcntsT7a;
   uint16 VldcntsT8a;
   uint16 VldcntsM12a;
   uint16 VldcntsMora;
   uint16 VldcntsHora;
   uint16 VldcntsHiza;
   uint16 VldcntsMaybeHiza;
   uint16 VldcntsZ2a;
   uint16 VldcntsMaybeZ2a;
   uint16 VldcntsMaybeZ1a;
   uint16 VldcntsM1b;
   uint16 VldcntsM1hb;
   uint16 VldcntsM2b;
   uint16 VldcntsM2hb;
   uint16 VldcntsT1b;
   uint16 VldcntsT2b;
   uint16 VldcntsT3b;
   uint16 VldcntsT4b;
   uint16 VldcntsT5b;
   uint16 VldcntsT6b;
   uint16 VldcntsT7b;
   uint16 VldcntsT8b;
   uint16 VldcntsM12b;
   uint16 VldcntsMorb;
   uint16 VldcntsHorb;
   uint16 VldcntsHizb;
   uint16 VldcntsMaybeHizb;
   uint16 VldcntsZ2b;
   uint16 VldcntsMaybeZ2b;
   uint16 VldcntsMaybeZ1b;
   uint16 VldcntsRejFast;
   uint16 VldcntsStimCoin;
   uint16 VldcntsHazard;
   uint16 VldcntsAdc2a;
   uint16 VldcntsAdc3a;
   uint16 VldcntsAdc2b;
   uint16 VldcntsAdc3b;
   uint16 VldcntsCoinRate0;
   uint16 VldcntsCoinRate1;
   uint16 EventBuffer[NUM_SIS_EVT_BUFFERS];
   uint16 clasacc[NUM_SIS_EVT_CLASSES];
   uint16 clastot[NUM_SIS_EVT_CLASSES];
   uint16 livetim;
   uint16 helivet;
   uint16 hylivet;
   uint16 ntagint;
   uint16 nvldint;
   uint16 nevproc;
   uint16 nrtproc;
   uint16 nbadid;
   uint16 ncebful;
   uint16 nrebful;
   uint16 nhdwrej;
   uint16 NumberEvents[NUM_SIS_EVT_BUFFERS][NUM_SIS_EVT_CLASSES];
   uint8  QualityRejcntsM1a;
   uint8  QualityRejcntsM1ha;
   uint8  QualityRejcntsM2a;
   uint8  QualityRejcntsM2ha;
   uint8  QualityRejcntsT1a;
   uint8  QualityRejcntsT2a;
   uint8  QualityRejcntsT3a;
   uint8  QualityRejcntsT4a;
   uint8  QualityRejcntsT5a;
   uint8  QualityRejcntsT6a;
   uint8  QualityRejcntsT7a;
   uint8  QualityRejcntsT8a;
   uint8  QualityRejcntsM12a;
   uint8  QualityRejcntsMora;
   uint8  QualityRejcntsHora;
   uint8  QualityRejcntsHiza;
   uint8  QualityRejcntsMaybeHiza;
   uint8  QualityRejcntsZ2a;
   uint8  QualityRejcntsMaybeZ2a;
   uint8  QualityRejcntsMaybeZ1a;
   uint8  QualityRejcntsM1b;
   uint8  QualityRejcntsM1hb;
   uint8  QualityRejcntsM2b;
   uint8  QualityRejcntsM2hb;
   uint8  QualityRejcntsT1b;
   uint8  QualityRejcntsT2b;
   uint8  QualityRejcntsT3b;
   uint8  QualityRejcntsT4b;
   uint8  QualityRejcntsT5b;
   uint8  QualityRejcntsT6b;
   uint8  QualityRejcntsT7b;
   uint8  QualityRejcntsT8b;
   uint8  QualityRejcntsM12b;
   uint8  QualityRejcntsMorb;
   uint8  QualityRejcntsHorb;
   uint8  QualityRejcntsHizb;
   uint8  QualityRejcntsMaybeHizb;
   uint8  QualityRejcntsZ2b;
   uint8  QualityRejcntsMaybeZ2b;
   uint8  QualityRejcntsMaybeZ1b;
   uint8  QualityRejcntsRejFast;
   uint8  QualityRejcntsStimCoin;
   uint8  QualityRejcntsHazard;
   uint8  QualityRejcntsAdc2a;
   uint8  QualityRejcntsAdc3a;
   uint8  QualityRejcntsAdc2b;
   uint8  QualityRejcntsAdc3b;
   uint8  QualityRejcntsCoinRate0;
   uint8  QualityRejcntsCoinRate1;
   uint8  QualityVldcntsM1a;
   uint8  QualityVldcntsM1ha;
   uint8  QualityVldcntsM2a;
   uint8  QualityVldcntsM2ha;
   uint8  QualityVldcntsT1a;
   uint8  QualityVldcntsT2a;
   uint8  QualityVldcntsT3a;
   uint8  QualityVldcntsT4a;
   uint8  QualityVldcntsT5a;
   uint8  QualityVldcntsT6a;
   uint8  QualityVldcntsT7a;
   uint8  QualityVldcntsT8a;
   uint8  QualityVldcntsM12a;
   uint8  QualityVldcntsMora;
   uint8  QualityVldcntsHora;
   uint8  QualityVldcntsHiza;
   uint8  QualityVldcntsMaybeHiza;
   uint8  QualityVldcntsZ2a;
   uint8  QualityVldcntsMaybeZ2a;
   uint8  QualityVldcntsMaybeZ1a;
   uint8  QualityVldcntsM1b;
   uint8  QualityVldcntsM1hb;
   uint8  QualityVldcntsM2b;
   uint8  QualityVldcntsM2hb;
   uint8  QualityVldcntsT1b;
   uint8  QualityVldcntsT2b;
   uint8  QualityVldcntsT3b;
   uint8  QualityVldcntsT4b;
   uint8  QualityVldcntsT5b;
   uint8  QualityVldcntsT6b;
   uint8  QualityVldcntsT7b;
   uint8  QualityVldcntsT8b;
   uint8  QualityVldcntsM12b;
   uint8  QualityVldcntsMorb;
   uint8  QualityVldcntsHorb;
   uint8  QualityVldcntsHizb;
   uint8  QualityVldcntsMaybeHizb;
   uint8  QualityVldcntsZ2b;
   uint8  QualityVldcntsMaybeZ2b;
   uint8  QualityVldcntsMaybeZ1b;
   uint8  QualityVldcntsRejFast;
   uint8  QualityVldcntsStimCoin;
   uint8  QualityVldcntsHazard;
   uint8  QualityVldcntsAdc2a;
   uint8  QualityVldcntsAdc3a;
   uint8  QualityVldcntsAdc2b;
   uint8  QualityVldcntsAdc3b;
   uint8  QualityVldcntsCoinRate0;
   uint8  QualityVldcntsCoinRate1;
   uint8  QualityEventBuffer[NUM_SIS_EVT_BUFFERS];
   uint8  QualityClasacc[NUM_SIS_EVT_CLASSES];
   uint8  QualityClastot[NUM_SIS_EVT_CLASSES];
   uint8  QualityLivetim;
   uint8  QualityHelivet;
   uint8  QualityHylivet;
   uint8  QualityNtagint;
   uint8  QualityNvldint;
   uint8  QualityNevproc;
   uint8  QualityNrtproc;
   uint8  QualityNbadid;
   uint8  QualityNcebful;
   uint8  QualityNrebful;
   uint8  QualityNhdwrej;
   uint8  QualityNumberEvents;
};


/* Definition:                                                       */
/*    ClockCycle = Adjusted S/C clock of the first minor frame of    */
/*                 the cycle in which the rate was accumulated.      */
/*                 The value 256 is subtracted from the S/C clock of */
/*                 the first minor frame of the cycle in which the   */
/*                 low priority rates were readout.                  */
/*                                                                   */
/* Note: All rates are compressed.                                   */
/*                                                                   */
/* Note: Quality bits are defined in the table below.  If the field  */
/*       which the quality byte is trying to characterize contains   */
/*       multiple bytes, the quality byte associated with the field  */
/*       is the logical "or" of the individual quality bytes.        */
/*                                                                   */
/* Quality bits:                                                     */
/*    0x01 = Format ID error                                         */
/*    0x02 = Minor/major counter error                               */
/*    0x04 = S/C clock error                                         */
/*    0x08 = Sync bit error                                          */
/*    0x10 = Command table index error                               */
/*    0x20 = Cycle number error                                      */
/*    0x40 = Level 0 quality bit                                     */
/*    0x80 = Level 1 quality bit                                     */

L1SisSubset.h , v 1.2


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisSubset.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.2 $ */

#include "hdfi.h"
#include "SisConstants.h"


struct L1SisSubset
{
   uint32 ClockMinorFrame;
   uint32 Second1996;
   uint32 microsecond;
   uint8  FormatId;
   uint8  MajorFrameCount;
   uint8  MinorFrameCount;
   uint8  quality;
   uint8  MainBusVoltage;
   uint8  SisCurrent;
   uint8  SisInternalTemperature1;
   uint8  SisInternalTemperature2;
   uint8  SisInterfaceTemperature;
   uint8  SisCoverTelltale;
   uint8  SisData[NUM_SIS_TELEMETRY_BYTES];
};


/* Definition:                                                       */
/*    ClockMinorFrame = S/C clock of the minor frame                 */
/*    Second1996 = Time of the minor frame in seconds since 00:00:00 */
/*                 of January 1, 1996                                */
/*    microsecond = Microseconds of the time of the minor frame      */
/*    FormatId = Format of the minor frame                           */
/*    MajorFrameCount = Major frame count of the minor frame         */
/*    MinorFrameCount = Minor frame count of the minor frame         */
/*    quality = Quality flag associated with the subset              */
/*              0x01 = Format ID error                               */
/*              0x02 = Minor/major counter error                     */
/*              0x04 = S/C clock error                               */
/*              0x08 = Sync bit error                                */
/*              0x10 = Command table index error                     */
/*              0x20 = Cycle number error                            */
/*              0x40 = Level 0 quality bit                           */
/*              0x80 = Level 1 quality bit                           */
/*    MainBusVoltage = Main bus voltage value (255=no data)          */
/*    SisCurrent = SIS I/F & survial heater current (255=no data)    */
/*    SisInternalTemperature1 = SIS internal temperature 1           */
/*                              (255=no data)                        */
/*    SisInternalTemperature2 = SIS internal temperature 2           */
/*                              (255=no data)                        */
/*    SisInterfaceTemperature = SIS interface temperature            */
/*                              (255=no data)                        */
/*    SisCoverTelltale = SIS cover telltale (255=no data)            */
/*    SisData = SIS data                                             */

/* Note: This structure is only written when the instrument is in    */
/*       diagnostic mode and/or command response mode.               */

L1SisSummary.h , v 1.3


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisSummary.h,v $ */
/* $Author: jeff $ */
/* $Date: 1997/09/11 16:50:59 $ */
/* $Revision: 1.3 $ */

#include "hdfi.h"
#include "SisConstants.h"


struct L1SisSummary
{
   uint32  ClockMinorFrame;
   uint32  Second1996;
   uint32  microsecond;
    uint8  FormatId;
    uint8  MajorFrameCount;
    uint8  MinorFrameCount;
    uint8  quality;
    uint8  MainBusVoltage;
    uint8  SisCurrent;
    uint8  SisInternalTemperature1;
    uint8  SisInternalTemperature2;
    uint8  SisInterfaceTemperature;
    uint8  SisCoverTelltale;
    uint8  SisHskp[NUM_SIS_HSKP_BYTES];
};


/* Definition:                                                       */
/*    ClockMinorFrame = S/C clock of the minor frame                 */
/*    FormatId = Format of the minor frame                           */
/*    MajorFrameCount = Major frame count of the minor frame         */
/*    MinorFrameCount = Minor frame count of the minor frame         */
/*    quality = Quality flag associated with the minor frame         */
/*              0x01 = Format ID error                               */
/*              0x02 = Minor/major counter error                     */
/*              0x04 = S/C clock error                               */
/*              0x08 = Sync bit error                                */
/*              0x10 = Command table index error                     */
/*              0x20 = Cycle number error                            */
/*              0x40 = Level 0 quality bit                           */
/*              0x80 = Level 1 quality bit                           */
/*    MainBusVoltage = Main bus voltage value (255=no data)          */
/*    SisCurrent = SIS I/F & survial heater current (255=no data)    */
/*    SisInternalTemperature1 = SIS internal temperature 1           */
/*                              (255=no data)                        */
/*    SisInternalTemperature2 = SIS internal temperature 2           */
/*                              (255=no data)                        */
/*    SisInterfaceTemperature = SIS interface temperature            */
/*                              (255=no data)                        */
/*    SisCoverTelltale = SIS cover telltale (255=no data)            */
/*    SisHskp = Housekeeping/rate bytes from SIS telemetry           */

SisRate.h , v 1.3


/* $Source: /home/mussel9/asc/aceprog/include/RCS/SisRate.h,v $ */
/* $Author: rgr $ */
/* $Date: 1998/05/08 23:16:45 $ */
/* $Revision: 1.3 $ */

#define NUM_SIS_LOW_PRIORITY_RATES   213

#define SIS_RATE_REJCNTS_M1A           0
#define SIS_RATE_REJCNTS_M1HA          1
#define SIS_RATE_REJCNTS_M2A           2
#define SIS_RATE_REJCNTS_M2HA          3
#define SIS_RATE_REJCNTS_T1A           4
#define SIS_RATE_REJCNTS_T2A           5
#define SIS_RATE_REJCNTS_T3A           6
#define SIS_RATE_REJCNTS_T4A           7
#define SIS_RATE_REJCNTS_T5A           8
#define SIS_RATE_REJCNTS_T6A           9
#define SIS_RATE_REJCNTS_T7A          10
#define SIS_RATE_REJCNTS_T8A          11
#define SIS_RATE_REJCNTS_M12A         12
#define SIS_RATE_REJCNTS_MORA         13
#define SIS_RATE_REJCNTS_HORA         14
#define SIS_RATE_REJCNTS_HIZA         15
#define SIS_RATE_REJCNTS_MAYBE_HIZA   16
#define SIS_RATE_REJCNTS_Z2A          17
#define SIS_RATE_REJCNTS_MAYBE_Z2A    18
#define SIS_RATE_REJCNTS_MAYBE_Z1A    19
#define SIS_RATE_REJCNTS_M1B          20
#define SIS_RATE_REJCNTS_M1HB         21
#define SIS_RATE_REJCNTS_M2B          22
#define SIS_RATE_REJCNTS_M2HB         23
#define SIS_RATE_REJCNTS_T1B          24
#define SIS_RATE_REJCNTS_T2B          25
#define SIS_RATE_REJCNTS_T3B          26
#define SIS_RATE_REJCNTS_T4B          27
#define SIS_RATE_REJCNTS_T5B          28
#define SIS_RATE_REJCNTS_T6B          29
#define SIS_RATE_REJCNTS_T7B          30
#define SIS_RATE_REJCNTS_T8B          31
#define SIS_RATE_REJCNTS_M12B         32
#define SIS_RATE_REJCNTS_MORB         33
#define SIS_RATE_REJCNTS_HORB         34
#define SIS_RATE_REJCNTS_HIZB         35
#define SIS_RATE_REJCNTS_MAYBE_HIZB   36
#define SIS_RATE_REJCNTS_Z2B          37
#define SIS_RATE_REJCNTS_MAYBE_Z2B    38
#define SIS_RATE_REJCNTS_MAYBE_Z1B    39
#define SIS_RATE_REJCNTS_REJ_FAST     40
#define SIS_RATE_REJCNTS_STIM_COIN    41
#define SIS_RATE_REJCNTS_HAZARD       42
#define SIS_RATE_REJCNTS_ADC2A        43
#define SIS_RATE_REJCNTS_ADC3A        44
#define SIS_RATE_REJCNTS_ADC2B        45
#define SIS_RATE_REJCNTS_ADC3B        46
#define SIS_RATE_REJCNTS_COIN_RATE0   47
#define SIS_RATE_REJCNTS_COIN_RATE1   48
#define SIS_RATE_VLDCNTS_M1A          49
#define SIS_RATE_VLDCNTS_M1HA         50
#define SIS_RATE_VLDCNTS_M2A          51
#define SIS_RATE_VLDCNTS_M2HA         52
#define SIS_RATE_VLDCNTS_T1A          53
#define SIS_RATE_VLDCNTS_T2A          54
#define SIS_RATE_VLDCNTS_T3A          55
#define SIS_RATE_VLDCNTS_T4A          56
#define SIS_RATE_VLDCNTS_T5A          57
#define SIS_RATE_VLDCNTS_T6A          58
#define SIS_RATE_VLDCNTS_T7A          59
#define SIS_RATE_VLDCNTS_T8A          60
#define SIS_RATE_VLDCNTS_M12A         61
#define SIS_RATE_VLDCNTS_MORA         62
#define SIS_RATE_VLDCNTS_HORA         63
#define SIS_RATE_VLDCNTS_HIZA         64
#define SIS_RATE_VLDCNTS_MAYBE_HIZA   65
#define SIS_RATE_VLDCNTS_Z2A          66
#define SIS_RATE_VLDCNTS_MAYBE_Z2A    67
#define SIS_RATE_VLDCNTS_MAYBE_Z1A    68
#define SIS_RATE_VLDCNTS_M1B          69
#define SIS_RATE_VLDCNTS_M1HB         70
#define SIS_RATE_VLDCNTS_M2B          71
#define SIS_RATE_VLDCNTS_M2HB         72
#define SIS_RATE_VLDCNTS_T1B          73
#define SIS_RATE_VLDCNTS_T2B          74
#define SIS_RATE_VLDCNTS_T3B          75
#define SIS_RATE_VLDCNTS_T4B          76
#define SIS_RATE_VLDCNTS_T5B          77
#define SIS_RATE_VLDCNTS_T6B          78
#define SIS_RATE_VLDCNTS_T7B          79
#define SIS_RATE_VLDCNTS_T8B          80
#define SIS_RATE_VLDCNTS_M12B         81
#define SIS_RATE_VLDCNTS_MORB         82
#define SIS_RATE_VLDCNTS_HORB         83
#define SIS_RATE_VLDCNTS_HIZB         84
#define SIS_RATE_VLDCNTS_MAYBE_HIZB   85
#define SIS_RATE_VLDCNTS_Z2B          86
#define SIS_RATE_VLDCNTS_MAYBE_Z2B    87
#define SIS_RATE_VLDCNTS_MAYBE_Z1B    88
#define SIS_RATE_VLDCNTS_REJ_FAST     89
#define SIS_RATE_VLDCNTS_STIM_COIN    90
#define SIS_RATE_VLDCNTS_HAZARD       91
#define SIS_RATE_VLDCNTS_ADC2A        92
#define SIS_RATE_VLDCNTS_ADC3A        93
#define SIS_RATE_VLDCNTS_ADC2B        94
#define SIS_RATE_VLDCNTS_ADC3B        95
#define SIS_RATE_VLDCNTS_COIN_RATE0   96
#define SIS_RATE_VLDCNTS_COIN_RATE1   97
#define SIS_RATE_EVENT_BUFFER         98
#define SIS_RATE_CLASACC             194
#define SIS_RATE_CLASTOT             198
#define SIS_RATE_LIVETIM             202
#define SIS_RATE_HELIVET             203
#define SIS_RATE_HYLIVET             204
#define SIS_RATE_NTAGINT             205
#define SIS_RATE_NVLDINT             206
#define SIS_RATE_NEVPROC             207
#define SIS_RATE_NRTPROC             208
#define SIS_RATE_NBADID              209
#define SIS_RATE_NCEBFUL             210
#define SIS_RATE_NREBFUL             211
#define SIS_RATE_NHDWREJ             212

L1SisState.h , v 1.1


/* $Source: /home/mussel9/asc/aceprog/include/RCS/L1SisState.h,v $ */
/* $Author: rgr $ */
/* $Date: 1997/08/11 03:11:24 $ */
/* $Revision: 1.1 $ */

#include "L1SisSubsetState.h"
#include "L1SisSummaryState.h"
#include "L1SisCycleState.h"
#include "L1SisEventBlockState.h"
#include "L1SisHskpState.h"
#include "L1SisDacOffset0State.h"
#include "L1SisDacOffset1State.h"
#include "L1SisLowPriorityRateState.h"
#include "L1SisHighPriorityRateState.h"
#include "L1SisCommandTableState.h"
#include "L1SisCommandEchoState.h"
#include "L1SisDiagEventState.h"
#include "L1SisDiagModeState.h"
#include "L1SisFlags.h"

struct L1SisState {
             struct L1SisSubsetState  SubsetState;
           struct L1SisDiagModeState  DiagModeState;
        struct L1SisCommandEchoState  CommandEchoState;
          struct L1SisDiagEventState  DiagEventState;
            struct L1SisSummaryState  SummaryState;
              struct L1SisCycleState  CycleState;
         struct L1SisEventBlockState  EventBlockState;
         struct L1SisDacOffset0State  DacOffset0State;
         struct L1SisDacOffset1State  DacOffset1State;
               struct L1SisHskpState  HskpState;
    struct L1SisLowPriorityRateState  LowPriorityRateState;
   struct L1SisHighPriorityRateState  HighPriorityRateState;
       struct L1SisCommandTableState  CommandTableState;
                   struct L1SisFlags  flag; 
};

For comments, questions or suggestions regarding these data structures,
email: asc@srl.caltech.edu
Last update: Wed Nov 3 12:45:32 PST 1999