OSTC3 Logbuch auf PC

OSTC's running hwOS sport or tech
Post Reply
BerndE
Posts: 10
Joined: Monday 17. February 2014, 22:39

OSTC3 Logbuch auf PC

Post by BerndE »

Seit Kurzem bin ich stolzer Besitzer eines OSTC3 # 2257 und habe auch schon einen ersten ordentlichen Tauchgang damit absolviert.

Leider gelingt es mir nicht, das Logbuch auf meinen PC zu übertragen :-(
Folgende Randbedingungen:
- Subsurface 4.0.2.0 bzw. Divinglog 5.0.12
- libdivecomputer-0.dll 0.4.2.0
- Windows 7 Home Premium, 64 Bit
- OSTC3 Firmware v1.21

Nach ca. 2 % bricht der Download ab.
Aber mit OSTC Companion 0.21.1 kann ich einwandfrei auf den OSTC zugreifen.

Wer weiß Rat?
Gruß

Bernd
DTR.Diver66
Posts: 127
Joined: Saturday 11. August 2012, 17:21

Re: OSTC3 Logbuch auf PC

Post by DTR.Diver66 »

Hallo BerndE,

ein Update auf Subsurface 4.0.3.0 sollte helfen.


Gruß
TnT
Posts: 62
Joined: Friday 24. June 2011, 14:05

Re: OSTC3 Logbuch auf PC

Post by TnT »

If you send me a libdivecomputer debug log, I can have a look at what goes wrong. Subsurface and Diving Log can create the required log directly from the application. In Subsurface it's the "Save libdivecomputer logfile" checkbox. In Diving Log enable the "Log errors" checkbox, and then when the download fails, click the "Show error logfile" link to open the error log.

The alternative is to run the libdivecomputer universal test application, and run it with these options:

universal.exe -v -l ostc3.log -d ostc3.xml -b ostc3

where you replace with the correct serial port (the same as you would use in Subsurface or Diving Log).

You can find my email address on the libdivecomputer website.
--
libdivecomputer developer
http://www.libdivecomputer.org/
BerndE
Posts: 10
Joined: Monday 17. February 2014, 22:39

Re: OSTC3 Logbuch auf PC

Post by BerndE »

Die Beschreibung auf der Subsurface Website legt tatsächlich einen Update auf 4.0.3 nahe.
"Randomly Subsurface 4.0.2 doesn’t correctly download files from a dive computer".

Leider habe ich auch mit dieser Version identisches (Fehl)Verhalten.
Bei mir tritt das auch nicht randomly auf, sondern constantly.

Gruß

Bernd
Gruß

Bernd
TnT
Posts: 62
Joined: Friday 24. June 2011, 14:05

Re: OSTC3 Logbuch auf PC

Post by TnT »

It's a different problem than the bug that was fixed in subsurface v4.0.3. I'm looking into it.
--
libdivecomputer developer
http://www.libdivecomputer.org/
Mad Max
Posts: 10
Joined: Saturday 6. June 2009, 21:33

Re: OSTC3 Logbuch auf PC

Post by Mad Max »

I have exactly the same problem of BerndE:
- Diving Log 5.0.12
- Windows XP
- OSTC3 Firmware v1.22

(And, unfortunately, I don't speak german).
[b]Mad Max
OSTC3 # 2597
Firmware v1.23[/b]
TnT
Posts: 62
Joined: Friday 24. June 2011, 14:05

Re: OSTC3 Logbuch auf PC

Post by TnT »

I already have a build of the libdivecomputer dll available, which includes a fix for this problem. Just download it from the libdivecomputer website, drop it into the Diving Log installation directory (backup the existing dll, just in case) and downloading should work again. If not, follow the instructions in my previous reply.
--
libdivecomputer developer
http://www.libdivecomputer.org/
Mad Max
Posts: 10
Joined: Saturday 6. June 2009, 21:33

Re: OSTC3 Logbuch auf PC

Post by Mad Max »

Thank you TnT.

I downloaded libdivecomputer-0.dll and dropped it into the Diving Log installation directory (overwriting the existing dll), but download still did not work.

Then I tried with universal test application, but the program window pops up and shut down immediately, before I can do anything with it.

OSTC Companion 0.21.1 is the only software which seems to work with my OSTC 3, right now.
[b]Mad Max
OSTC3 # 2597
Firmware v1.23[/b]
Mad Max
Posts: 10
Joined: Saturday 6. June 2009, 21:33

Re: OSTC3 Logbuch auf PC

Post by Mad Max »

Tried with other softwares...

- Subsurface: download ends at 2%;
- JDiveLog: unable to found COM Port;
- Diviac: "We have found 0 dives on your dive computer".

Tried also to reset my OSTC3, but nothing has changed.
[b]Mad Max
OSTC3 # 2597
Firmware v1.23[/b]
BerndE
Posts: 10
Joined: Monday 17. February 2014, 22:39

Re: OSTC3 Logbuch auf PC

Post by BerndE »

Mad Max,

I assume you just double-clicked the universal.exe application.
Unfortunartely this does not work.
Instead you have to do the following:
- connect your OSTC3 to your PC
- open your PC's command prompt window, e.g. from start->all_programs->accessories
- use the CD command to tell the command prompt window to change the directory to where your universal.exe is located at, e.g. type
CD C:\Users\MadMax\...yourpath...
(or copy your path by clicking in the address line of your explorer window, press CTRL Insert, then right-click in your command prompt window and choose Insert)
- press the Enter key
- type
universal.exe -v -l ostc3.log -d ostc3.xml -b ostc3 COMx
(replace COMx by your serial port, e.g. COM7)
- press the Enter key
- now you can see the application run

This creates two files ostc3.log and ostc3.xml in the path chosen above.
Send these to TnT for analysis.

Bernd
Gruß

Bernd
TnT
Posts: 62
Joined: Friday 24. June 2011, 14:05

Re: OSTC3 Logbuch auf PC

Post by TnT »

Bernd is correct. You can't just double click the universal.exe application because it's a commandline application and you need to pass the correct options. If you are having trouble to run a commandline application, you can also generate the logfile directly from divinglog or subsurface, as I described in my first post above:

[quote=TnT]
Subsurface and Diving Log can create the required log directly from the application. In Subsurface it's the "Save libdivecomputer logfile" checkbox. In Diving Log enable the "Log errors" checkbox, and then when the download fails, click the "Show error logfile" link to open the error log.
[/quote]
--
libdivecomputer developer
http://www.libdivecomputer.org/
heinrichsweikamp
Posts: 4376
Joined: Sunday 13. May 2007, 18:07

Re: OSTC3 Logbuch auf PC

Post by heinrichsweikamp »

Hi,


If someone has the same problem: This happens when you delete your logbook (e.g. to get rid of our test dive) with the 1.22.

We have now uploaded the 1.23 for the OSTC3, which fixes this. "Fix" (For those affected here) means wait until the PC software makers have included the workaround from libdivecomputer or delete your logbook again with the 1.23.

Regards,
Matthias
Mad Max
Posts: 10
Joined: Saturday 6. June 2009, 21:33

Re: OSTC3 Logbuch auf PC

Post by Mad Max »

heinrichsweikamp Wrote:
-------------------------------------------------------
> If someone has the same problem: This happens when
> you delete your logbook (e.g. to get rid of our
> test dive) with the 1.22.

Definitely yes: it's exactly what i did.

> We have now uploaded the 1.23 for the OSTC3, which
> fixes this. "Fix" (For those affected here) means
> wait until the PC software makers have included
> the workaround from libdivecomputer or delete your
> logbook again with the 1.23.

I tried again after upgrading to v1.23, but everything is gone in the same way.

Do I need to delete my logbook?
[b]Mad Max
OSTC3 # 2597
Firmware v1.23[/b]
Mad Max
Posts: 10
Joined: Saturday 6. June 2009, 21:33

Re: OSTC3 Logbuch auf PC

Post by Mad Max »

BerndE Wrote:
-------------------------------------------------------

> I assume you just double-clicked the universal.exe
> application.
[CUT]
> This creates two files ostc3.log and ostc3.xml in
> the path chosen above.
> Send these to TnT for analysis.

Done.

Thank you.
[b]Mad Max
OSTC3 # 2597
Firmware v1.23[/b]
TnT
Posts: 62
Joined: Friday 24. June 2011, 14:05

Re: OSTC3 Logbuch auf PC

Post by TnT »

Mad Max Wrote:
-------------------------------------------------------
> I tried again after upgrading to v1.23, but
> everything is gone in the same way.
>
> Do I need to delete my logbook?

If you are already affected by this problem, then upgrading to the v1.23 firmware will not help, unless you erase your logbook again. But then all your dives will be gone of course...

Instead, just replace the libdivecomputer dll with the latest build from the libdivecomputer website, and you should be able to download dives again from Diving Log or Subsurface.
--
libdivecomputer developer
http://www.libdivecomputer.org/
Post Reply