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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:  ENG_TELEM_USE.SDDL -->
<!-- -->
<!--  Purpose:      This SDDL file defines the ENG_TELEM_USE relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       PR      Who                       Reason-->
<!--  - - - -    - - - -   - -    - - - - - - - - - - - - - - - - - - - - - -->
<!--  11/14/00   44862     Baum   Original implementation-->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
 
    <record name="ENG_TELEM_USE_TYPE"> 
 
        <description>This relation is used to identify the telemetry used to
                   generate various products, and to indicate
                   trigger codes to be used when a changed value has been 
                   detected. A trigger code of zero indicates that the latest
                   value must be saved but no immediate processing is required.
                   If there is no entry in this table for a particular class
                   then that telemetry item should be ignored. The names of the
                   telemetry items is found in the eng_telem_name table. The 
                   names of the trigger codes are found in the eng_trigger
                   table. </description>


            <field name="product_type">
                    <type>C3</type>
                    <description>FGS for jitter, AST for astrometry,  GSA for GS
                         acqusition data, or OTM for STIS temperatures.</description>

            </field>

            <field name="eng_number">
                    <type>I4</type>
                    <description>A small positive value used only in FGS or AST 
                         engineering telemetry files. </description>
            </field>

            <field name="eng_trigger">
                    <type>I4</type>
                    <description>A numeric code indicating the processing to be
                         performed when a change in telemetry value has been
                         detected. A zero value is not a trigger but that entry
                         is used to indicated that the telemetry value should
                         be saved. </description>
            </field>

    </record>
 
 
 
 
    <relation name="eng_telem_use">
 
        <type>ENG_TELEM_USE_TYPE</type>

        <description>Engineering Telemetry Use Relation</description>

        <subsystem_using>OPUS</subsystem_using>

        <index name="eng_telem_use_1">
            <type>unique clustered</type>
            <field name="product_type"/>
            <field name="eng_number"/>
        </index>

    </relation>
</sddl>
