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>, <setdcdate>, <setdcdecomodel>, <setdcdivedepthalarm>, <setdctdivepo2alarm>, <setdcdivesitedata>, <setdcdivetimealarm>, <setdcendndtalarm>, <setdcgasdefinitionsdata>, <setdcownerdata>, <setdcpassword>, <setdcgeneratordata>, <setdctime>

See Also

<divecomputercontrol>

Examples

(see also examples at the child elements)

<divecomputercontrol>
    <setdcdata>
        <!-- set date, and time -->
        <setdcdate>
            <date>
                <year>2007</year>
                <month>8</month>
                <day>24</day>
            </date>
        </setdcdate>
        <setdctime>
            <!-- 9:00 am -->
            <time>
                <hour>9</hour>
                <minute>0</minute>
            </time>
        </setdctime>
        <!-- set the decompression model to be used -->
        <setdcdecomodel>
            <name>RGBM</name>
            <program>
                <!-- here additional data by the manufacturer to be used with the given deco model -->
            </program>
        </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>