Suunto Import Problem

Discussions about Diving Log 6.0 - questions and hints
Post Reply
x344
Posts: 10
Joined: Fri May 16, 2008 18:42

Suunto Import Problem

Post by x344 »

Hi!

I have a problem importing the data from my Suunto Vytec into diving log on my notebook.
Everytime I try to import the data I get an Abort Error 18 (log file attached). Since the download works at my desktop pc I thought at first that this problem is with my notebook. But even after reinstalling Windows (XP SP3) the download still does not work.
Has anybody an idea what he problem is?

Thanks

Alex

14:38:49_453_B5C: Debug:: CommandLine = "C:\Programme\Diving Log 4.0\SuuntoXML.exe" -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM4" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
14:38:49_500_B5C: Detail:: sAPIThread::Create()
14:38:49_500_B5C: Info:: Gradient="ON"
14:38:49_500_B5C: Detail:: sAPIThread::Set() with: file="D:\Daten\Diving Log\SuuntoXML.xml" port="\\.\COM4" Options=0x4620F
14:38:49_578_184: Detail:: sAPI_Comm::Create() Port Opened (148)
14:38:50_296_184: Info:: Found Device Type1
14:38:50_296_184: Info:: Downloading Device
14:38:54_000_184: Info:: Downloading Dive 1
14:38:57_000_184: Info:: Download Complete
14:38:57_000_184: Info:: Downloading Dive 2
14:38:59_375_184: Info:: Download Complete
14:38:59_375_184: Info:: Downloading Dive 3
14:39:02_187_184: Info:: Download Complete
14:39:02_187_184: Info:: Downloading Dive 4
14:39:04_812_184: Info:: Download Complete
14:39:04_812_184: Info:: Downloading Dive 5
14:39:07_906_184: Info:: Download Complete
14:39:07_906_184: Info:: Downloading Dive 6
14:39:10_234_184: Info:: Download Complete
14:39:10_234_184: Info:: Downloading Dive 7
14:39:12_609_184: Info:: Download Complete
14:39:12_609_184: Info:: Downloading Dive 8
14:39:15_125_184: Info:: Download Complete
14:39:15_125_184: Info:: Downloading Dive 9
14:39:17_765_184: Info:: Download Complete
14:39:17_765_184: Info:: Downloading Dive 10
14:39:20_062_184: Info:: Download Complete
14:39:20_062_184: Info:: Downloading Dive 11
14:39:22_328_184: Info:: Download Complete
14:39:22_328_184: Info:: Downloading Dive 12
14:39:25_562_184: Error:: GetDataPackage():: Exception thrown - D
14:39:25_562_184: Error:: Download Dive: Device Timed Out with code 18
14:39:28_062_B5C: Detail:: sAPIThread::Destroy()
14:39:28_062_B5C: Info:: FormClose(): Returning 18

--- Diving Log Output ---

Diving Log version: 1.1.0.3
Downloader version: 2.9.9.7
Windows version: Windows XP
Download start: 19.05.2008 14:38:49
Download end: 19.05.2008 14:39:28
CommandLine: -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM4" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
Exitcode received: 18
Run as administrator: False


I have just tried the older downloader version (2.9.7.1). Now the error code is 16 with the following error log:

14:49:17_953_B20: Debug:: CommandLine = "C:\Programme\Diving Log 4.0\SuuntoXML.exe" -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM4" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
14:49:17_953_B20: Detail:: sAPIThread::Create()
14:49:17_953_B20: Info:: Gradient="ON"
14:49:17_968_B20: Detail:: sAPIThread::Set() with: file="D:\Daten\Diving Log\SuuntoXML.xml" port="\\.\COM4" Options=0x4620F
14:49:18_015_A28: Detail:: sAPI_Comm::Create() Port Opened (148)
14:49:18_734_A28: Info:: Found Device Type1
14:49:18_734_A28: Info:: Downloading Device
14:49:22_968_A28: Info:: Downloading Dive 1
14:49:25_984_A28: Info:: Download Complete
14:49:25_984_A28: Info:: Downloading Dive 2
14:49:28_359_A28: Info:: Download Complete
14:49:28_359_A28: Info:: Downloading Dive 3
14:49:31_171_A28: Info:: Download Complete
14:49:31_171_A28: Info:: Downloading Dive 4
14:49:33_796_A28: Info:: Download Complete
14:49:33_796_A28: Info:: Downloading Dive 5
14:49:36_890_A28: Info:: Download Complete
14:49:36_890_A28: Info:: Downloading Dive 6
14:49:39_218_A28: Info:: Download Complete
14:49:39_218_A28: Info:: Downloading Dive 7
14:49:41_593_A28: Info:: Download Complete
14:49:41_593_A28: Info:: Downloading Dive 8
14:49:44_109_A28: Info:: Download Complete
14:49:44_109_A28: Info:: Downloading Dive 9
14:49:46_734_A28: Info:: Download Complete
14:49:46_734_A28: Info:: Downloading Dive 10
14:49:49_031_A28: Info:: Download Complete
14:49:49_031_A28: Info:: Downloading Dive 11
14:49:51_296_A28: Info:: Download Complete
14:49:51_296_A28: Info:: Downloading Dive 12
14:49:53_406_A28: Info:: Download Complete
14:49:53_406_A28: Info:: Downloading Dive 13
14:49:56_031_A28: Info:: Download Complete
14:49:56_031_A28: Info:: Downloading Dive 14
14:49:59_937_A28: Error:: GetDataPackage():: Exception thrown - D
14:49:59_937_A28: Error:: Download Dive: Device Timed Out with code 1376272
14:50:02_437_B20: Detail:: sAPIThread::Destroy()
14:50:02_437_B20: Info:: FormClose(): Returning 16

--- Diving Log Output ---

Diving Log version: 1.0.0.9
Windows version: Windows XP
Download start: 19.05.2008 14:49:17
Download end: 19.05.2008 14:50:02
CommandLine: -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM4" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
Exitcode received: 16
Run as administrator: False
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

I made a small change to the downloader. The problem seams to be when the profile buffer wraps around. This takes more time than most reads do.
New version on my site -
http://LiquidImagePhoto.com/SuuntoTools ... loader.zip
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
x344
Posts: 10
Joined: Fri May 16, 2008 18:42

Post by x344 »

Hi James!

Thank you for the new downloader, but it still does not work. I still got the error code 18. Maybe this is a problem with Service Pack 3? The log file is attached:

10:11:39_734_CFC: Info:: Version = 2.9.9.9
10:11:39_781_CFC: Debug:: CommandLine = "C:\Programme\Diving Log 4.0\SuuntoXML.exe" -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM5" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
10:11:39_781_CFC: Detail:: sAPIThread::Create()
10:11:39_781_CFC: Info:: Gradient="ON"
10:11:39_781_CFC: Detail:: sAPIThread::Set() with: file="D:\Daten\Diving Log\SuuntoXML.xml" port="\\.\COM5" Options=0x4620F
10:11:39_843_D3C: Detail:: sAPI_Comm::Create() Port Opened (148)
10:11:40_578_D3C: Info:: Found Device Type1
10:11:40_578_D3C: Info:: Downloading Device
10:11:44_296_D3C: Info:: Downloading Dive 1
10:11:47_312_D3C: Info:: Download Complete
10:11:47_312_D3C: Info:: Downloading Dive 2
10:11:49_687_D3C: Info:: Download Complete
10:11:49_687_D3C: Info:: Downloading Dive 3
10:11:52_500_D3C: Info:: Download Complete
10:11:52_500_D3C: Info:: Downloading Dive 4
10:11:55_125_D3C: Info:: Download Complete
10:11:55_125_D3C: Info:: Downloading Dive 5
10:11:58_218_D3C: Info:: Download Complete
10:11:58_218_D3C: Info:: Downloading Dive 6
10:12:00_546_D3C: Info:: Download Complete
10:12:00_546_D3C: Info:: Downloading Dive 7
10:12:02_921_D3C: Info:: Download Complete
10:12:02_921_D3C: Info:: Downloading Dive 8
10:12:05_437_D3C: Info:: Download Complete
10:12:05_437_D3C: Info:: Downloading Dive 9
10:12:08_078_D3C: Info:: Download Complete
10:12:08_078_D3C: Info:: Downloading Dive 10
10:12:10_375_D3C: Info:: Download Complete
10:12:10_375_D3C: Info:: Downloading Dive 11
10:12:12_640_D3C: Info:: Download Complete
10:12:12_640_D3C: Info:: Downloading Dive 12
10:12:14_750_D3C: Info:: Download Complete
10:12:14_750_D3C: Info:: Downloading Dive 13
10:12:17_375_D3C: Info:: Download Complete
10:12:17_375_D3C: Info:: Downloading Dive 14
10:12:20_250_D3C: Info:: Download Complete
10:12:20_250_D3C: Info:: Downloading Dive 15
10:12:23_468_D3C: Error:: GetDataPackage():: Exception thrown (2)- D
10:12:23_468_D3C: Error:: Download Dive: Device Timed Out with code 18
10:12:25_968_CFC: Detail:: sAPIThread::Destroy()
10:12:25_968_CFC: Info:: FormClose(): Returning 18

--- Diving Log Output ---

Diving Log version: 1.1.0.3
Downloader version: 2.9.9.9
Windows version: Windows XP
Download start: 20.05.2008 10:11:39
Download end: 20.05.2008 10:12:26
CommandLine: -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM5" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
Exitcode received: 18
Run as administrator: False
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

Well, things are a little better ;-) At least it got to dive 15 instead of 12.
Try the link above again I think I have it this time.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
x344
Posts: 10
Joined: Fri May 16, 2008 18:42

Post by x344 »

Hi James!

Sorry, still no luck :cry: . This time not even one dive was read (see error log).
Could it be that the interface is damaged? After the download aborts the interface is crashed. To try another download I have to take it out of the USB an reattach it. But otherwise at my desktop PC the interface works with the same drivers. The interface is made by www.smartinterface.de

Thanks Alex

14:47:20_468_43C: Info:: Version = 2.9.9.10
14:47:20_468_43C: Debug:: CommandLine = "C:\Programme\Diving Log 4.0\SuuntoXML.exe" -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM5" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
14:47:20_468_43C: Detail:: sAPIThread::Create()
14:47:20_468_43C: Info:: Gradient="ON"
14:47:20_468_43C: Detail:: sAPIThread::Set() with: file="D:\Daten\Diving Log\SuuntoXML.xml" port="\\.\COM5" Options=0x4620F
14:47:20_515_508: Detail:: sAPI_Comm::Create() Port Opened (148)
14:47:27_953_508: Info:: Found Device Type1
14:47:27_953_508: Info:: Downloading Device
14:47:31_656_508: Info:: Downloading Dive 1
14:47:36_062_508: Error:: GetDataPackage():: Exception thrown (2) - G
14:47:36_062_508: Error:: Download Dive: GetPackage: Partial Read with code 18
14:47:38_562_43C: Detail:: sAPIThread::Destroy()
14:47:38_562_43C: Info:: FormClose(): Returning 18

--- Diving Log Output ---

Diving Log version: 1.1.0.3
Downloader version: 2.9.9.10
Windows version: Windows XP
Download start: 22.05.2008 14:47:20
Download end: 22.05.2008 14:47:38
CommandLine: -file="D:\Daten\Diving Log\SuuntoXML.xml" -port="COM5" -um -version=2 -fmt -top= -left= -gradient=1 -cdblog="D:\Daten\Diving Log\SuuntoXML"
Exitcode received: 18
Run as administrator: False
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

There is a good chance the interface is the problem. I don't want to blame it as a 'quick way out', but the inconsistency of the download failure makes it more unlikely that it's my program. My program restores the Comport to it's original settings on exit, so it should have no effect on the driver.

Try turning off other devices that may conflict with the USB driver, I would reinstall the driver also. Double check the connection between the cable and the DC, that can be susceptible to disconnection because of vibration and is hard to notice. The cable slides 'back' just enough to break the connection.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
x344
Posts: 10
Joined: Fri May 16, 2008 18:42

Post by x344 »

Hi James!

I have found and solved the problem! :D
It was with the interface drivers. There is a latency time (WinXP default 16ms) which controls the timing of the data packets send via the USB ports. I have set the time to 2ms and now everything works great.

Nevertheless thank you very much for your help!

Alex
Post Reply