SWICS Level 1 Data Structures



s3_chk.h , v 1.2

#include  "hdfi.h"

        struct csmhk {
             uint32  sctime_readout;     /* 32 bit spacecraft time  */
             uint32  sctime_collection;  /* 32 bit spacecraft time  */
             uint32  QAC;        /* number of missing frame in this SR*/

             uint8 GRP282V;       /*  GND  +28V Sec.     */
             uint8 GR20V;         /*  GND  20V  AC       */
             uint8 GRP10V;        /*  GND  +10V          */
             uint8 GRP5V;         /*  GND  +5V           */
             uint8 GRM5V;         /*  GND  -5V           */
             uint8 SPARE1;        /*  Spare              */
             uint8 GR1T;          /*  GND  Thermistor 1  */
             uint8 GR2T;          /*  GND  Thermister 2  */
             uint8 GRP281I;       /*  GND  +28V I Prim.  */
             uint8 GRP282I;       /*  GND  +28V I Sec.   */
             uint8 GRP5I;         /*  GND  +5V  I        */
             uint8 GR20I;         /*  GND  20V  AC I     */
             uint8 GRPAPS;        /*  GND  PAPS          */ 
             uint8 SPARE2;        /*  Spare              */
             uint8 GRDPPSL;       /*  GND  DPPS Low      */
             uint8 GRDPPSH;       /*  GND  DPPS High     */ 
             uint8 SPARE3;        /*  Spare              */
             uint8 PAC7;          /*  PAPS Synch C7      */
             uint8 PA1T;          /*  PAPS Thermistor 1  */
             uint8 PA2T;          /*  PAPS Thermistor 2  */
             uint8 PAP5V;         /*  PAPS +5V           */
             uint8 PAP5I;         /*  PAPS +5V I         */
             uint8 PAM5V;         /*  PAPS -5V           */
             uint8 PAM5I;         /*  PAPS -5V I         */
             uint8 PAMCP;         /*  PAPS MCP Bias      */
             uint8 FLAGS;         /*  Flags (DPPS Gain,..*/
}; 

s3_cbasic.h , v 1.3

#include  "hdfi.h"

#define  CBAS_CYC  60                 /* number of cycles per SR= 60/1   */
#define  CBAS_TSZ  5760               /* total size in bytes             */
#define  CBAS_CSZ  CBAS_TSZ/CBAS_CYC 

struct cbasic  {
           uint32  sctime_readout;      /*  32 bit  spacecraft  time  */
           uint32  sctime_collection;   /*  32 bit  spacecraft  time  */
           uint32  QAC;         /*number of missing frams in this SR  */

           uint8  BASIC[CBAS_CYC][CBAS_CSZ]; 

};

swics_br.h , v 1.1

#include "hdfi.h"

struct Swics_br
{
  int32 bin_start;            /* beginning of bin. sc clock */
  int32 bin_end;            /* end of bin. sc clock */

    int32 dpps[60];           /* DPPS voltage */
    int32 edb[60];            /* = (EDB,-1) if (good/bad) EDB */
    int32 rate[5][60];        /* unsectored, decompressed rates */
				/* 0=H+,1=He++,2=O6,3=O7,4=Fe(8-11) */
};

For comments, questions or suggestions regarding these data structures,
email: asc@srl.caltech.edu
Last update: Tue Jan 5 12:58:55 PST 1999