SWDatabase
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
readtimeserie
ACE_LV1_routines
include
epam.h
Go to the documentation of this file.
1
/* $Id: epam.h,v 1.8 1997/08/06 19:51:21 jeff Exp $ */
2
3
#include "hdfi.h"
4
5
#define NUMFRM 128
/* number of minor frames in a cycle */
6
#define BYTMIN 21
/* number of bytes of epam data per minor frame */
7
8
/* reported every 8 major frames (128 minor frames)*/
9
/* some items are subcommed, hence there are only 2 of them in 8 frames */
10
11
struct
EpamData
12
{
13
uint32
sctime_readout
;
/* 32 bit spacecraft time at readout */
14
uint32
sctime_collection
;
/* 32 bit spacecraft time at collection*/
15
16
uint32
QAC
;
/* indicates the number of missing frame in this cycle */
17
uint8
QACarr
[
NUMFRM
];
/* each entry corresponds to a single minor frame */
18
/* if value =0 frame is OK. =1 frame contains fill data*/
19
20
uint8
data
[
NUMFRM
][
BYTMIN
];
/* 21 bytes data per minor frame */
21
/* 128 minor frames per cycle */
22
23
/* sunpulse data */
24
uint16
PhaseAng
[
NUMFRM
];
/* Phase angle for each frame in this cycle*/
25
uint16
SunPulLat
[2][8];
/* sun pulse latched at mn frm 0&8 [2] */
26
/* over the 8 [8] major frame cycle */
27
uint32
SunPulDat
[2][8];
/* Sun sensor data */
28
/* bits 31-24 : unused */
29
/* bits 23-20 : Mnr frame */
30
/* bits 19-10 : sub secont count (684.75 cnts=1 sec)*/
31
/* bits 9- 8 : ID bits, 00=err,01=top,10=side,11=neither */
32
/* bits 7- 0 : Y angle measurment (Grey code) */
33
/* */
34
/* From C&DH Specification (mf0:index1=0, mf8:index1=1) */
35
/* For the time tag in Science minor frame 0: for a minor */
36
/* frame ID of 0, the sun pulse would have occured in the */
37
/* current major frame. For a minor frame ID of 1 to 15, */
38
/* the sun pulse would have occured in the previous major */
39
/* frame */
40
/* For the time tag in Science minor frame 8: for a minor */
41
/* frame ID of 0-8, the sun pulse would have occured in the */
42
/* current major frame. For a minor frame ID of 9 to 15, */
43
/* the sun pulse would have occured in the previous major */
44
/* frame */
45
46
47
/* Housekeeping data is here */
48
uint8
Cal
[8];
/* int/ext cal readout */
49
uint8
Ref10
[2];
/* +10V Ref Monitor */
50
uint8
Mon10
[2];
/* +10V Monitor */
51
uint8
Mon6
[2];
/* +6V Monitor */
52
uint8
Bias
[2];
/* Detector Bias Voltage Monitor */
53
uint8
AmpTemp
[2];
/* Log Amp D Temperature */
54
uint8
MFSATemp
[2];
/* MFSA Log Amp D Temperature */
55
uint8
DetTemp
[2];
/* Detector D Temperature */
56
uint8
YTemp
[2];
/* EPAM 2B Yoke Temperature */
57
uint8
InCur
[8];
/* input current monitor */
58
uint8
E1Temp
[8];
/* epam 1 electronics temp. */
59
uint8
Sen2ATemp
[8];
/* epam 2a sensor temp. */
60
uint8
Sen2BTemp
[8];
/* epam 2b sensor temp. */
61
uint8
DeckTemp
[8];
/* Instrument Deck Temp near EPAM */
62
uint8
Cur
[8];
/* epam current */
63
uint8
HtrCur
[8];
/* epam heater current */
64
uint8
PowBits
[8];
/* power switching and ordinance bits */
65
/*--- EPAM power switching and ordinance bits ---*/
66
/*--- bit position 7: Interface Heater at position 10 of 112 bits ---*/
67
/*--- bit position 6: Internal Heaters at position 11 of 112 bits ---*/
68
/*--- bit position 5: Main System Power at position 28 of 112 bits ---*/
69
/*--- bit position 4: PyroArm (LEMS 30) at position 56 of 112 bits ---*/
70
/*--- bit position 3: PyroArm (LEMS 120) at position 57 of 112 bits ---*/
71
/*--- bit position 2: PyroArm (CD) at position 58 of 112 bits ---*/
72
/*--- bit position 1: 0 ---*/
73
/*--- bit position 0: 0 ---*/
74
};
EpamData::sctime_readout
uint32 sctime_readout
Definition:
epam.h:13
EpamData::DetTemp
uint8 DetTemp[2]
Definition:
epam.h:55
EpamData::Sen2ATemp
uint8 Sen2ATemp[8]
Definition:
epam.h:59
EpamData::InCur
uint8 InCur[8]
Definition:
epam.h:57
EpamData::Sen2BTemp
uint8 Sen2BTemp[8]
Definition:
epam.h:60
EpamData::Bias
uint8 Bias[2]
Definition:
epam.h:52
EpamData::SunPulLat
uint16 SunPulLat[2][8]
Definition:
epam.h:25
EpamData::Mon6
uint8 Mon6[2]
Definition:
epam.h:51
EpamData::HtrCur
uint8 HtrCur[8]
Definition:
epam.h:63
EpamData::YTemp
uint8 YTemp[2]
Definition:
epam.h:56
EpamData::AmpTemp
uint8 AmpTemp[2]
Definition:
epam.h:53
EpamData::DeckTemp
uint8 DeckTemp[8]
Definition:
epam.h:61
EpamData::E1Temp
uint8 E1Temp[8]
Definition:
epam.h:58
EpamData::Cal
uint8 Cal[8]
Definition:
epam.h:48
EpamData::MFSATemp
uint8 MFSATemp[2]
Definition:
epam.h:54
EpamData::Mon10
uint8 Mon10[2]
Definition:
epam.h:50
EpamData::data
uint8 data[NUMFRM][BYTMIN]
Definition:
epam.h:20
EpamData::sctime_collection
uint32 sctime_collection
Definition:
epam.h:14
QACarr
Definition:
qac.h:4
EpamData::Cur
uint8 Cur[8]
Definition:
epam.h:62
NUMFRM
#define NUMFRM
Definition:
epam.h:5
EpamData::SunPulDat
uint32 SunPulDat[2][8]
Definition:
epam.h:27
EpamData::PowBits
uint8 PowBits[8]
Definition:
epam.h:64
BYTMIN
#define BYTMIN
Definition:
epam.h:6
EpamData::Ref10
uint8 Ref10[2]
Definition:
epam.h:49
EpamData
Definition:
epam.h:11
EpamData::QAC
uint32 QAC
Definition:
epam.h:16
EpamData::PhaseAng
uint16 PhaseAng[NUMFRM]
Definition:
epam.h:24
Generated on Fri Sep 11 2020 14:02:32 for SWDatabase by
1.8.5