<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE sddlschema SYSTEM "sddlschema.xsd">-->

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name;  SAVE_TELEMETRY.SDDL -->
<!-- -->
<!--  Purpose:      This SDDL file defines the SAVE_TELEMETRY relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       PR      Who                       Reason-->
<!--  - - - -    - - - -   - -    - - - - - - - - - - - - - - - - - - - - - -->
<!--  09/18/00   44862     Baum   Original implementation-->
<lm>  07/03/03   48821     CTB    Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

    <record name="SAVE_TELEMETRY_TYPE"> 
 
 
        <description>This relation is used to identify the engineering telemetry
                   received from CCS that must be sent to the engineering team
                   in save format. Each type of save dataset is identified by
                   the field save_type. Certain telemetry items are passed on
                   in raw form and the raw_flag is used to identify these
                   items. The instrument save files contain the short mnemonic
                   which is not in the FOF data sent from CCS. </description>


            <field name="save_type">
                    <type>C6</type>
                    <description>The name of the save data. ENG is for standard save
                         data. BREATH is for breathing temperatures.</description>

            </field>

            <field name="ccs_number">
                    <type>I4</type>
                    <description>A positive value less than 64K defined by CCS for
                         every unique telemetry item in the engineering 
                         warehouse. It is the Numeric ID described in the
                         definition of FOF elements (see Appendix A of 
                         HST-ICD-T2). </description>
            </field>
	
            <field name="short_mnemonic">
                    <type>C4</type>
                    <description>It is always of the form of an uppercase character
                         and a three digit number. The first character always
                         matches the first character of the CCS mnemonic. 
                         Usually this mnemonic is the same as that used in 
                         shuttle software (called the MS_ID). </description>

            </field>

            <field name="raw_flag">
                    <type>C1</type>
                    <description>Y -- only use raw value, N -- use engineering value.</description>

            </field>
 
    </record>
 
 
 
 
    <relation name="save_telemetry">
 
        <type>SAVE_TELEMETRY_TYPE</type>
 
        <description>SAVE Telemetry Definition Relation</description>
 
        <subsystem_using>OPUS</subsystem_using>

        <index name="save_telemetry_1">
            <type>unique clustered</type>
            <field name="save_type"/>
            <field name="ccs_number"/>
        </index>

    </relation>
</sddl>
