samples

Occurrence

optional, single

Attributes

Description

Inside <samples> the dive profile data (depth, time, temperature, breathing gas used) are given.

If there is no <switchmix/> element given in the first <waypoint>, air should be assumed to be the breathing gas. If no <divemode/> element appears in the first <waypoint>, the dive mode should be an open system ("SCUBA") dive.

Parent Elements

<dive>

Child Elements

<waypoint>

See Also

<dive>, <waypoint>

Examples

<dive>
    <!-- previous statements -->
    ...
    <!-- at beginning breathing gas "bg1" (defined in the -->
    <!-- <gasdefinitions> section) is used -->

    <samples>
        <waypoint>
            <!-- At beginning breathing gas ,,1`` (defined in the -->
            <!-- <gasdefinitions> section) is used. -->
            <!-- A dive always begins at the surface at 0 m. -->
            <depth>0.0</depth>
            <divetime>0.0</divetime>
            <temperature>298.2</temperature>
            <divemode type="opencircuit"/>
            <switchmix ref="bg1"/>
        </waypoint>
        <waypoint>
            <depth>40.0</depth>
            <divetime>3.0.1</divetime>
            <temperature>291.2</temperature>
        </waypoint>
        <waypoint>
            <depth>40.0</depth>
            <divetime>900.0</divetime>
        </waypoint>
        <waypoint>
            <depth>28.0</depth>
            <divetime>1080.0</divetime>
            <temperature>295.2</temperature>
        </waypoint>
        <waypoint>
            <depth>15.0</depth>
            <divetime>1500.0</divetime>
            <temperature>297.2</temperature>
        </waypoint>
        <waypoint>
            <depth>6.0</depth>
            <divetime>1860.0</divetime>
            <temperature>298.2</temperature>
        </waypoint>
        <waypoint>
            <depth>3.0</depth>
            <divetime>2040.0</divetime>
            <!-- switch to breathing gas "bg2" -->
            <switchmix ref="bg2"/>
        </waypoint>
        <waypoint>
            <depth>3.0</depth>
            <divetime>2280.0</divetime>
        </waypoint>
        <waypoint>
            <!-- a dive always ends at the surface at 0 m -->
            <depth>0.0</depth>
            <divetime>2580.0</divetime>
        </waypoint>
    </samples>
</dive>
<!-- here can follow more <dive> data -->
                
<dive>
    <!-- previous statements -->
    ...
    <!-- Dive computers store the depth in certain time intervals -->
    <!-- therefore many <waypoint> statements have to be written -->
    <!-- into the UDDF file. -->
    <!-- At beginning breathing gas "air" (defined in the  -->
    <!-- <gasdefinitions> section) is used. -->

    <samples>
        <!-- a 20 seconds interval was used by the dive computer -->
        <waypoint>
            <!-- At beginning breathing gas ,,1`` (defined in the -->
            <!-- <gasdefinitions> section) is used. -->
            <!-- A dive always begins at the surface at 0 m. -->
            <depth> 0.0</depth>
            <divetime> 0.0</divetime>
            <divemode type="opencircuit"/>
            <switchmix ref="air"/>
        </waypoint>
        <waypoint>
            <depth>4.7</depth>
            <divetime>20.0</divetime>
        </waypoint>
        <waypoint>
            <depth>7.0</depth>
            <divetime>40.0</divetime>
        </waypoint>
        <waypoint>
            <depth>11.1</depth>
            <divetime>60.0</divetime>
        </waypoint>
        <!-- here follow more <waypoint> statements -->
        <waypoint>
            <depth>13.9</depth>
            <divetime>3580.0</divetime>
        </waypoint>
        <waypoint>
            <depth>13.9</depth>
            <divetime>3600.0</divetime>
        </waypoint>
        <waypoint>
            <depth>14.1</depth>
            <divetime>3620.0</divetime>
        </waypoint>
        <waypoint>
            <depth>14.5</depth>
            <divetime>3640.0</divetime>
        </waypoint>
        <waypoint>
            <depth>15.0</depth>
            <divetime>3660.0</divetime>
        </waypoint>
        <waypoint>
            <depth>15.2</depth>
            <divetime>3680.0</divetime>
        </waypoint>
        <waypoint>
            <depth>13.8</depth>
            <divetime>3700.0</divetime>
        </waypoint>
        <waypoint>
            <depth>12.8</depth>
            <divetime>3720.0</divetime>
            <alarm>ascent</alarm>
        </waypoint>
        <waypoint>
            <depth>10.2</depth>
            <divetime>3740.0</divetime>
        </waypoint>
        <waypoint>
            <depth>9.4</depth>
            <divetime>3760.0</divetime>
        </waypoint>
        <waypoint>
            <depth>8.1</depth>
            <divetime>3780.0</divetime>
        </waypoint>
        <waypoint>
            <depth>7.2</depth>
            <divetime>3800.0</divetime>
        </waypoint>
        <waypoint>
            <depth>6.1</depth>
            <divetime>3820.0</divetime>
        </waypoint>
        <waypoint>
            <depth>5.3</depth>
            <divetime>3840.0</divetime>
        </waypoint>
        <waypoint>
            <depth>4.2</depth>
            <divetime>3860.0</divetime>
            <alarm>breath</alarm>
        </waypoint>
        <waypoint>
            <depth>3.4</depth>
            <divetime>3880.0</divetime>
        </waypoint>
        <waypoint>
            <depth>3.6</depth>
            <divetime>3900.0</divetime>
        </waypoint>
        <waypoint>
            <depth>4.1</depth>
            <divetime>3920.0</divetime>
        </waypoint>
        <waypoint>
            <depth>3.6</depth>
            <divetime>3940.0</divetime>
        </waypoint>
        <waypoint>
            <depth>2.8</depth>
            <divetime>3960.0</divetime>
        </waypoint>
        <waypoint>
            <depth>2.7</depth>
            <divetime>3980.0</divetime>
        </waypoint>
        <waypoint>
            <depth>2.0</depth>
            <divetime>4000.0</divetime>
        </waypoint>
        <waypoint>
            <depth>1.1</depth>
            <divetime>4020.0</divetime>
        </waypoint>
        <waypoint>
            <!-- a dive always ends at the surface at 0 m -->
            <depth>0.0</depth>
            <divetime>4040.0</divetime>
        </waypoint>
    </samples>
</dive>
<!-- here more <dive> sections can follow -->