divecomputercontrol

Occurrence

optional, single

Attributes

Description

Inside the <divecomputercontrol> section statements for the configuration of a dive computer (<setdcdata>), or reading of data from a dive computer (<getdcdata>) respectively, are given. Additionally, there is the <divecomputerdump> element, if raw data downloaded from a dive computer are to be stored in an UDDF file.

The <divecomputercontrol> section is the last section in an UDDF file, because inside it referentiations to prior declared elements in other sections are posiible.

Parent Elements

<uddf>

Child Elements

<divecomputerdump>, <getdcdata>, <setdcdata>

See Also

<getdcdata>, <setdcdata>, <uddf>

Examples

(see also <divecomputerdump>)

<uddf version="3.1.0">
    <generator>
        <!-- here information about the software -->
    </generator>
    <divecomputercontrol>
        <setdcdata>
            <!-- set date and time -->
            <setdcdatetime>
                <datetime>2007-08-24T9:00:00</datetime>
            </setdcdatetime>
            <!-- set the decompression model to be used -->
            <setdcdecomodel>
                <name>RGBM</name>
                <applicationdata>
                    <!-- here additional data by the manufacturer to be used with the given deco model -->
                </applicationdata>
            </setdcdecomodel>
            <!-- set the breathing gase/s to be used -->
            <setdcgasdefinitionsdata/>
            <!-- set an alarm to be given if end of no-decompression time is reached -->
            <setdcendndtalarm>
                <dcalarm>
                    <!-- alarm is to be acknowledged -->
                    <acknowledge/>
                    <alarmtype>2</alarmtype>
                </dcalarm>
            </setdcendndtalarm>
            <!-- transfer data of dive buddy Alfons to the dive computer -->
            <setdcbuddydata buddy="alfons"/>
        <!-- here more data may be transferred to the dive computer -->
        </setdcdata>
    </divecomputercontrol>
</uddf>
                
<uddf version="3.1.0">
    <generator>
        <!-- here information about the data downloading software -->
    </generator>
    <divecomputercontrol>
        <getdcdata>
            <!-- all data stored in the dive computer shall be -->
            <!-- sent to the calling soaftware -->
            <getdcalldata/>
        </getdcdata>
    </divecomputercontrol>
</uddf>
                
<uddf version="3.1.0">
    <generator>
        <!-- here information about the data downloading software -->
    </generator>
    <divecomputercontrol>
        <getdcdata>
            <!-- download only data concerning defined breathing gas mixes, -->
            <!-- and all dive profile data to the calling soaftware         -->
            <getdcgasdefinitionsdata/>
            <getdcprofiledata/>
        </getdcdata>
    </divecomputercontrol>
</uddf>