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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:  OMS_TELEMETRY.SDDL -->
<!-- -->
<!--  Purpose:      This SDDL file defines the OMS_TELEMETRY relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date      PR       Who                       Reason -->
<!--  - - - -    - - - -   - -    - - - - - - - - - - - - - - - - - - - - - -->
<!--  10/19/99   39940     Baum   Original implementation-->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
 

    <record name="OMS_TELEMETRY_TYPE"> 
 
        <description>This relation is used to define the values OMS needs to
                   identify engineering telemetry from CCS. This file must be
                   complete for all SIs and all servicing missions. The
                   CCS number must match those in the CCS 'golden' database of
                   historical telemetry mnemonics. The short OMS mnemonic is
                   used in OMS code and due to changes over time there may be
                   multiple long CCS mnemonic which have the same short
                   mnemonic. The OMS mnemonic and the OMS number must always
                   be the consistent when they appear multiple times. All
                   FOF-derived telemetry uses the CCS numbers in this file.
                   ALL AEDP-derived telemetry must use the pdb_telemetry_xref
                   table to get the CCS numbers needed to access this table. </description>

            <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="oms_number">
                    <type>I4</type>
                    <description>This is a frozen index that identifies all the
                         telemetry items referenced in OMS software. Once
                         assigned to refer to a specific OMS telemetry mnemonic
                         it must not be reassigned to another. </description>

            </field>
	
            <field name="ccs_mnemonic">
                    <type>C8</type>
                    <description>The mnemonic used by CCS and in CCS products. </description>

            </field>

            <field name="oms_mnemonic">
                    <type>C4</type>
                    <description>The mnemonic used by OMS software and reports. It
                         is always of the form of an uppercase character and
                         a tree 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="parameter_type">
                    <type>C1</type>
                    <description>C for 8-byte Character, R for 4-byte real, and I for
                         4-byte integer. </description>

            </field>
 
            <field name="units">
                    <type>C8</type>
                    <description>For converted items: the engineering units.</description>

            </field>
 
            <field name="description">
                    <type>C30</type>
                    <description>A short description of the telemetry item. </description>

            </field>

            <field name="threshold">
                    <type>R4</type>
                    <description>Used for OMS save files to determine minimum 
                         absolute difference form previous values to write
                         out a save record. Not used for character items. </description>

            </field>

    </record>
 
 
 
    <relation name="oms_telemetry">
 
            <type>OMS_TELEMETRY_TYPE</type>
 
            <description>OMS Telemetry Definition Relation</description>
 
            <subsystem_using>OMS</subsystem_using>

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

    </relation>
</sddl>
