/* PDS FORMAT FILE FOR RAD DIAGNOSTIC HOUSEKEEPING DATA*/
OBJECT = CONTAINER
NAME = CCSDS2_HEADER
^STRUCTURE = "CCSDS2_HEADER.FMT" /*points to the columns */
START_BYTE = 1
BYTES = 10
REPETITIONS = 1
DESCRIPTION = "The ccsds2 header container represents the
format of a header structure found at the beginning
of an instrument packet. The header contains 4 fields."
END_OBJECT = CONTAINER
OBJECT = COLUMN
NAME = COMMAND_ACCEPTED_CNT
DATA_TYPE = INTEGER
START_BYTE = 11
BYTES = 1
DESCRIPTION = "Count of commands accepted."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = COMMAND_REJECTED_CNT
DATA_TYPE = INTEGER
START_BYTE = 12
BYTES = 1
DESCRIPTION = "Count of commands rejected. Values greater than 0
indicates issues with Rover commanding."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = OBSERVATIONS_COUNT
DATA_TYPE = INTEGER
START_BYTE = 13
BYTES = 1
DESCRIPTION = "Number of observations waiting to be transmitted."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = FIRMWARE_VERSION
DATA_TYPE = INTEGER
START_BYTE = 14
BYTES = 1
DESCRIPTION = "Version number of the firmware."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = FIRMWARE_CHECKSUM
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 15
BYTES = 4
DESCRIPTION = "Fletcher checksum of the firmware image code."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = SYSTEM_INFORMATION
DATA_TYPE = UNSIGNED_INTEGER
START_BYTE = 19
BYTES = 1
OBJECT = BIT_COLUMN
NAME = WAKE_UP_FLAG
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 1
BITS = 1
DESCRIPTION = "Identifies if the instrument wake-up was normal
or premature. 0=normal, 1=premature."
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = UART_STRING_ID
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 2
BITS = 2
DESCRIPTION = "Identifies the side of the UART in use.
Valid values: 0=invalid, 1=A, 2=B, 3=both"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = FIRMWARE_STATE
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 4
BITS = 2
DESCRIPTION = "Identifies the state of the firmware.
Valid Values: 0=boot 1=science 2=checkout 3=shutdown"
END_OBJECT = BIT_COLUMN
OBJECT = BIT_COLUMN
NAME = CODE_IMAGE
BIT_DATA_TYPE = UNSIGNED_INTEGER
START_BIT = 6
BITS = 3
DESCRIPTION = "Identifies the code image. Valid values: 0=PROM,
1=RAM, 2=EPROM1, 3=EPROM2, 4=EPROM3, 5-7=invalid."
END_OBJECT = BIT_COLUMN
END_OBJECT = COLUMN
OBJECT = CONTAINER
NAME = OBS_INFO
^STRUCTURE = "OBS_INFO.FMT"
START_BYTE = 20
BYTES = 7
REPETITIONS = 1
DESCRIPTION = "The observation information container
represents the format of the structure. The
structure contains 4 fields."
END_OBJECT = CONTAINER
OBJECT = COLUMN
NAME = EVIL_TABLE_CHECKSUM
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 27
BYTES = 4
DESCRIPTION = "Fletcher checksum of the EVIL (Electronics for
VIRENA Interface Logic) table used."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = TEMPERATURE_TABLE_CHECKSUM
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 31
BYTES = 4
DESCRIPTION = "Fletcher checksum of the temperature table used."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = PRIORITY_TABLE_CHECKSUM
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 35
BYTES = 4
DESCRIPTION = "Fletcher checksum of the priority table used."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = RDE_VERSION_ID
DATA_TYPE = UNSIGNED_INTEGER
START_BYTE = 39
BYTES = 1
DESCRIPTION = "Version of the FPGA in the RDE (RAD Digital
Electronics) Assembly. Any number other than 1
is invalid."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = RAE_VERSION_ID
DATA_TYPE = UNSIGNED_INTEGER
START_BYTE = 40
BYTES = 1
DESCRIPTION = "Version of the FPGA in the RDE (RAD Analog
Electronics) Assembly. Any number other than xB8
is invalid."
END_OBJECT = COLUMN
OBJECT = CONTAINER
NAME = RAE_HK
^STRUCTURE = "RAE_HK.FMT"
START_BYTE = 41
BYTES = 32
REPETITIONS = 1
DESCRIPTION = "The RAE housekeeping container represents the
format of the structure. The structure contains 16
fields."
END_OBJECT = CONTAINER
OBJECT = COLUMN
NAME = STARTUP_TEMPERATURE_4
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 73
BYTES = 2
DESCRIPTION = "CDH temperature at the beginning of the observation
in raw counts. Refer to the SIS for conversion.
2 and 3 are temperatures near the D detector.
1 is near the A detector
4 is on the digital board."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = STARTUP_TEMPERATURE_3
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 75
BYTES = 2
DESCRIPTION = "RSH temperature at the beginning of the observation
in raw counts. Refer to the SIS for conversion.
2 and 3 are temperatures near the D detector.
1 is near the A detector
4 is on the digital board."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = STARTUP_TEMPERATURE_2
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 77
BYTES = 2
DESCRIPTION = "RSH temperature at the beginning of the observation
in raw counts. Refer to the SIS for conversion.
2 and 3 are temperatures near the D detector.
1 is near the A detector
4 is on the digital board."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = STARTUP_TEMPERATURE_1
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 79
BYTES = 2
DESCRIPTION = "RSH temperature at the beginning of the observation
in raw counts. Refer to the SIS for conversion.
2 and 3 are temperatures near the D detector.
1 is near the A detector
4 is on the digital board."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = PRE_OBSERVATION_COUNT
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 81
BYTES = 4
DESCRIPTION = "Count of events observed during pre-observation
period."
END_OBJECT = COLUMN
OBJECT = COLUMN
NAME = HOUSEKEEPING_FRAME_CHECKSUM
DATA_TYPE = MSB_UNSIGNED_INTEGER
START_BYTE = 85
BYTES = 4
DESCRIPTION = "Fletcher checksum of the housekeeping frame."
END_OBJECT = COLUMN
|