Broken double UDCF tank export

Problems ? Get help here!
Post Reply
User avatar
henrik
Posts: 146
Joined: Tue Sep 07, 2010 2:52 pm
Dive Computer: Petrel + Predator

Broken double UDCF tank export

Post by henrik »

When exporting dives to UDCF, all double tanks are marked as single tanks. (e.g. a double 12L is exported as a single 12L)

I guess this is a followup bug to the broken double tank support that you haven't answered...
User avatar
nick
Site Admin
Posts: 4376
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: Broken double UDCF tank export

Post by nick »

This was for compatibility with Dive Log, which includes Double as a separate value per dive.
User avatar
henrik
Posts: 146
Joined: Tue Sep 07, 2010 2:52 pm
Dive Computer: Petrel + Predator

Re: Broken double UDCF tank export

Post by henrik »

I don't get it. You show double twelves as single twelves in the UDCF export, because of compatability with dive log?

Here is the "gases" part of a dive with a double 12L tank:

Code: Select all

            <gases>
                <mix>
                    <mixname>EAN32</mixname>
                    <tank>
                        <tankvolume>12.00</tankvolume>
                        <pstart>230.92</pstart>
                        <pend>115.76</pend>
                    </tank>
                    <o2>0.32</o2>
                    <n2>0.68</n2>
                    <he>0.00</he>
                </mix>
            </gases>
Should there be a "doubles" tag there as well?
User avatar
nick
Site Admin
Posts: 4376
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: Broken double UDCF tank export

Post by nick »

I guess I misread this - the field itself is there for compatibility. I can fix the export though, I'll have this in the next release. Sorry about that.
User avatar
henrik
Posts: 146
Joined: Tue Sep 07, 2010 2:52 pm
Dive Computer: Petrel + Predator

Re: Broken double UDCF tank export

Post by henrik »

nick wrote:I guess I misread this - the field itself is there for compatibility. I can fix the export though, I'll have this in the next release. Sorry about that.
Thanks!

A "doubles" checkbox is good, but it would be far more useful if ...

A) it followed the tank definition instead of the dive

or

B) the last state of the checkbox was remembered for new dives

(I prefer A over B, but either would be an improvement)
Post Reply