setdcdata

Occurrence

optional, single

Attributes

Description

Inside the <setdcdata> section follows information concerning the configuration of a dive computer.

Parent Elements

<divecomputercontrol>

Child Elements

<setdcalarmtime>, <setdcaltitude>, <setdcbuddydata>, <setdcdatetime>, <setdcdecomodel>, <setdcdivedepthalarm>, <setdctdivepo2alarm>, <setdcdivesitedata>, <setdcdivetimealarm>, <setdcendndtalarm>, <setdcgasdefinitionsdata>, <setdcownerdata>, <setdcpassword>, <setdcgeneratordata>

See Also

<divecomputercontrol>, <getdcdata>

Examples

(see also examples at the child elements)

<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"/>
    </setdcdata>
</divecomputercontrol>