Version 2.5 of the Downloader is no longer supported

3rd party extensions (phpDivingLog, dive computer downloader,...)
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Version 2.5 of the Downloader is no longer supported

Post by James Connell »

Well, the long awaited ( and long promised :oops: ) 'D' model compatible version is ready for testing.

It is a direct replacement for the version currently being used by Diving Log.
This version will work with the Current Version of Diving Log 4.0, no upgrade
is necessary.

The new Downloader will work with the Mosquito,Stinger,D3,D6,D9,Viper,Cobra and Vytec models.
Sorry, no support for the new Cobra2 and Vyper2 models yet. That is a few months away.
Last edited by James Connell on Thu Nov 08, 2007 21:00, edited 2 times in total.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Post by absalon »

Hi

I get an error, when I try to use the new Suunto XML Downloader whit Divinglog - "Error Reading XML File"

James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

absalon wrote:Hi
I get an error, when I try to use the new Suunto XML Downloader whit Divinglog - "Error Reading XML File"
Well, that's why it's a beta.

New version on my site. It should work fine.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Post by absalon »

I get a new error:

Error Number 91
Object variable or with block variable not set

divinglog
Site Admin
Posts: 5195
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

If this error is from Diving Log (as it sounds) you can send me the XML file and I can see what the problem is. Use the debug mode (type the word "debug" on the first screen of the download wizard and uncheck "Delete XML File..."). After the download you should find a file SuuntoXML.xml in the Diving Log program folder.

absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Post by absalon »

I have send you the XML file

divinglog
Site Admin
Posts: 5195
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

OK, found the problem. James, in this file in the <ComputerSettings> Tag the following tags are missing:

<SampleInterval>
<AltitudeSetting>

I see that the ComputerModel is 14, is this a D9 or D6?

absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Post by absalon »

I have a D9

James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

divinglog wrote:OK, found the problem. James, in this file in the <ComputerSettings> Tag the following tags are missing:

<SampleInterval>
<AltitudeSetting>

I see that the ComputerModel is 14, is this a D9 or D6?
That is because in a D model they are meaningless. No data is available as a 'setting', that data is only in the individual dive profiles. What you can get out of a D as far as current settings go is very limited, max depth, total time, total dives , units and 'personal info' are all that's available.
[edit] I should say, "That's All I can find" [/edit]


I'll add dummy tags to clean up the errors.

14 = D9 , 15 = D6 . I'm not sure about Cobra2 and Vyper 2 yet.

Build 52 is on the site.
Last edited by James Connell on Thu Oct 04, 2007 16:29, edited 2 times in total.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

divinglog
Site Admin
Posts: 5195
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

OK, thanks for the explanation. I'll modify also the code so that missing tags in the Header don't stop the import in future.

I just saw that there are also these tags missing in the dive data, should I ignore these on the D9 or do you add empty tags instead?

StartingAirTemp
TempAtDepth
StartingPressure
EndingPressure

Sven

mysiar
Posts: 7
Joined: Sun May 13, 2007 15:58

Post by mysiar »

Great work James.
THANKS
piotr

James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

divinglog wrote:I just saw that there are also these tags missing in the dive data, should I ignore these on the D9 or do you add empty tags instead?

StartingAirTemp
TempAtDepth
StartingPressure
EndingPressure

Sven
That was an error - I rewrote the 'Version 0/1' output to use the newer CTinyXML class for output structure. It uses 3 sections to produce the dive data; a series of 14 'reads' at the start of the profile, then the profile proper, and finally at the end the 4 tags above.

I then copied and modified the code to fit D model data, but I forgot to put the final 4 tags back in :oops: It's fixed now (I Hope) and the newest version ( build 57 ) is on the website.

I still have a bug in one profile that I'm having trouble tracking down. It seems to occur on the 'wrap around' of the ring buffer.

Henrick, have you done any dives since you sent me your download?? If so, could you send a fresh one? It's in your profiles that the bug pops up.
towards the end of one you do 500+ ft bounces :o
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Build 57

Post by James Connell »

So Who is using this to download the D model Suunto's????

I haven't heard anything in the way of feedback and it's making me nervous :?
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

Stefano
Posts: 21
Joined: Fri Aug 10, 2007 08:13
Contact:

Post by Stefano »

Hi James,

Just came back from a business trip in the USA.

I'll download your newest version of the D-Downloader and give it a try this weekend, for I'll be at Sodwana Bay in November ... :wink:

I'll give you a respective feed-back.

TAL for your excellent work so far!

Cheers

absalon
Posts: 40
Joined: Sat Jan 28, 2006 08:40
Location: Vojens / Denmark
Contact:

Post by absalon »

Hi

Just get back from my diving holiday.

The last SuuntoXML (2.5.0.54) import works whit out errors :D

But in Divinglog is the Start and End Pressure is missing, the Altitude is wrong and the temp is missing.


Nice job :)


Henrik Absalon

Post Reply