Suunto Downloader

3rd party extensions (phpDivingLog, dive computer downloader,...)
Nobby
Posts: 2
Joined: Thu Jul 05, 2007 07:50
Contact:

Download function for PPC PC 2003SE and Suunto (Vytec)

Post by Nobby » Thu Jul 05, 2007 12:42

Hi James,
Sven said to me, I was to ask you.
I need for divinglog a direct download function for PPC PC 2003SE and Suunto (Vytec). I don't like the way over the Desktop and then into the PPC. Its too complicated.
In the vacation I have only the PPC also.
You have a solution for the problem in next time.

Thank you.
Norbert

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

Re: Download function for PPC PC 2003SE and Suunto (Vytec)

Post by James Connell » Thu Jul 05, 2007 18:43

Nobby wrote:Hi James,
I need for divinglog a direct download function for PPC PC 2003SE and Suunto (Vytec). I don't like the way over the Desktop and then into the PPC. Its too complicated.
In the vacation I have only the PPC also.
You have a solution for the problem in next time.

Thank you.
Norbert
Hi Norbert,
The Downloader is written in Borland c++, I don't think it will run on a PPC.
The API that underpins it is MSC++ compatible, and can be compiled for the PPC, I'd need to build a front end for it in MSC. I started to, but my grasp of MS Visual Studio is limited. I, in general, hate all things microsoft. If someone more skilled in the PPC visual programming is interested in writing a small front end (in borland it is ~ 7 short routines) I'd be happy to compile a PPC version.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

regaensslen
Posts: 5
Joined: Thu Jul 12, 2007 20:25
Location: Chicago IL

Suunto downloader

Post by regaensslen » Sat Jul 14, 2007 01:55

Sven and everyone,
Jim wrote a Suunto downloader version called 2.0.1.25, and it works with DL 4.0.8 directly from the Stinger. On the first try, it gave an erro, but on a second attempt it succeeded. thanks.
R E Gaensslen

phibo
Posts: 3
Joined: Sun Jul 15, 2007 00:09
Location: USA

2.01.25 Fixes Errors

Post by phibo » Sun Jul 15, 2007 14:33

Hello James,

I'm using a Sunnto Vyper with USB interface and Diving Log 4.0.8
Version 2.01.19 gave me error 19.
Version 2.01.25 works without any errors for me.

Keep up the good work!

- Phil :)

kreuzerkrieg
Posts: 37
Joined: Tue Mar 06, 2007 18:23
Location: Israel
Contact:

Suunto USB and Vista

Post by kreuzerkrieg » Sat Jul 21, 2007 16:39

Anybody knows what is the problem with original Suunto USB driver running (to be more precise, not running) on Vista???

James, I've downloaded the latest version of your Suunto Downloader, it fails to run, complaining about absent XML file, any idea?
God made every man different, Sam Colt made them equal.

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

Re: Suunto USB and Vista

Post by James Connell » Sat Jul 21, 2007 19:52

kreuzerkrieg wrote:James, I've downloaded the latest version of your Suunto Downloader, it fails to run, complaining about absent XML file, any idea?
Take a look in " C:\ ". Is there a file there named "SuuntoDownload.xml" ??

If so, then the problem is in the fact that I'm an old American. I think the program is not reading the command line correctly on UNICODE machines.

When I started in computers you used ASCII or EBDIC or you lived in the USSR ( and probably still used ascii ) some times I forget the rest of the world doesn't speak english :cry:

<joke>
What do you call a person that can speak 3 languages?

Trilingual .

What do you call a person that can speak 2 languages?

Bilingual.

What do you call a person that can only speak 1 language?


Yeah - a damned American!

</joke.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

kreuzerkrieg
Posts: 37
Joined: Tue Mar 06, 2007 18:23
Location: Israel
Contact:

Post by kreuzerkrieg » Sat Jul 21, 2007 20:38

of course it does not have any xml in the root of C drive, neither in DL4 folder
AFAIR, once you distributed it with the XML...

didnt get your joke but it is allright if you god damn american which speaks only one language - unicode :)

dont think unicode matters, if you compile unicode or ascii the system should behave accordingly without any programmer intervention, but it depends on each specific case...

in any case, any idea what I have to do with suunto usb driver on vista?
God made every man different, Sam Colt made them equal.

kreuzerkrieg
Posts: 37
Joined: Tue Mar 06, 2007 18:23
Location: Israel
Contact:

Post by kreuzerkrieg » Sat Jul 21, 2007 20:39

update:
downloader reports missing XML or error 10
God made every man different, Sam Colt made them equal.

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

Post by James Connell » Sat Jul 21, 2007 21:36

Well, if you pass a Unicode string to an app that expects an 8 bit character you have problems, so unicode does matter.

The downloader builds an XML file as it's output. Where it puts that file is determined by a command line switch passed by the parent program. If you don't specify that switch, the program defaults to "C:\Suuntodownload.xml" as the output file. The parent program (diving log) then erases that XML file after it reads it- IF the program puts it where it was told.

copy the SuuntoXML.exe file to a simple directory ( C:\ comes to mind)
then from the start button -> run 'C:\SuuntoXML.exe -port="COMx" '
where COM 'x' is the port you would normally use. That should put the XML file in C:\ . If you wish you can spec a file name of your choosing -file="path"


as for the Suunto driver - Ask them.
Last edited by James Connell on Sat Jul 21, 2007 22:19, edited 1 time in total.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

kreuzerkrieg
Posts: 37
Joined: Tue Mar 06, 2007 18:23
Location: Israel
Contact:

Post by kreuzerkrieg » Sat Jul 21, 2007 22:15

James Connell wrote:Well, if you pass a Unicode string to an app that expects an 8 bit character you have problems, so unicode does matter.

The downloader builds an XML file as it's output. Where it puts that file is determined by a command line switch passed by the parent program. If you don't specify that switch, the program defaults to "C:\Suuntodownload.xml" as the output file. The parent program (diving log) then erases that XML file after it reads it- IF the program puts it where it was told.


as for the Suunto driver - Ask them.
Well, I guess Sven is in charge of passing parameters to your module... I will talk to him...

Asking Suunto, that was really good joke :)
God made every man different, Sam Colt made them equal.

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

Post by James Connell » Sat Jul 21, 2007 22:24

I just put a last build of the version 2.2 on the site.
I added unicode support ( well it was there before but got lost in the reconstruction)
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com

kreuzerkrieg
Posts: 37
Joined: Tue Mar 06, 2007 18:23
Location: Israel
Contact:

Post by kreuzerkrieg » Sat Jul 21, 2007 22:40

Thanks you James.
The problem was totally on the suunto side, the driver, of course.
Once the right driver was installed everything went as planned...
Thank you for cooperation
God made every man different, Sam Colt made them equal.

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

Post by divinglog » Sun Jul 22, 2007 23:26


Mjorud
Posts: 19
Joined: Sun Dec 03, 2006 18:36
Location: Norway

Post by Mjorud » Sun Jul 29, 2007 23:33

I just downloaded my dives from my Vytec and when it was 100% completed I got an XML error message. I do have the SuuntoXML.xml file, but Diving Log did not import it. Is it possible to import the .xml file manually? I use a somewhat busted interface and i have been trying for a couple of hours to download the dives. If I have to do that again i will probably jump from a roof...

Thanks in advance. :)
Jon Kristian Mjørud

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

Post by divinglog » Mon Jul 30, 2007 00:17

When you open the Suunto download dialog in Diving Log you can type the word "debug" on the first page of the wizard (without quotation marks), you have 3 more options then. If you uncheck the options "Delete XML file after download" and "Download" Diving Log will only import the existing XML file without prior downloading.

If Diving Log doesn't import the file, please send it to me and I'll check if it is OK.

Post Reply