New JDiveLog 2.16

Legacy OSTC's
Post Reply
heinrichsweikamp
Posts: 4469
Joined: 13 May 2007, 18:07

New JDiveLog 2.16

Post by heinrichsweikamp »

The new Version of JDiveLog is now online: http://www.jdivelog.org/ - it supports the new logbook format and new Custom Functions.

In time for the next stable...

regards,
Matthias
Solodiver
Posts: 397
Joined: 05 May 2010, 10:25

Re: New JDiveLog 2.16

Post by Solodiver »

Sorry to say Matthias, but there seems to be something wrong still. My last 4 dives will not get imported, I'm quite sure I did not change the setpoint in them (at least not in all 4 dives). Checking the internal logbook I can clearly see, that the unit hangs for around 5 seconds after displaying these first 4 dives in the overview list before showing the 5th and Exit. Any ideas? I did not have the abibilty to test this with divinglog yet. Anybody interested in getting a dump for analyzing?

Thx,
Jan
~~~
MK2 1076

my wish list: http://heinrichsweikamp.net/forum/read.php?2,4649
fishwithlungs
Posts: 25
Joined: 20 May 2011, 11:39

Re: New JDiveLog 2.16

Post by fishwithlungs »

@ Solodiver:

I found the same behaviour,the last 3 dives didn't get imported.after a couple of attempts I tried to do the obvious and looked at the settings.Simply changing in Settings>Divecomputer>Firmware to OSTC Mk2 1.9x- everything worked as supposed.Well,the dives are being imported,although the depth differs by 1something meter on 30 m dives,I guess it is due to salinity set to 1.04 on OSTC.The internal logbook lags a little after displaying the dives made with 1.93 beta,that i would suppose to be due to to the older dives having been recalculated from 1.90 stable(the old format).

Good dives,
Richard
OSTC MK2 385
fishwithlungs
Posts: 25
Joined: 20 May 2011, 11:39

Re: New JDiveLog 2.16

Post by fishwithlungs »

Sorry for typo,of course protocol,not firmware.
It's kinda late.

Richard

OSTC MK2 385
Solodiver
Posts: 397
Joined: 05 May 2010, 10:25

Re: New JDiveLog 2.16

Post by Solodiver »

Oh dear, sorry guys. The thing is, I got a couple of (older) dives imported in the same session so I didn't thought it could be something like this.

So, does this mean, the earlier dives stored in the logbook have a different format than the newer ones?

Thx,
Jan
~~~
MK2 1076

my wish list: http://heinrichsweikamp.net/forum/read.php?2,4649
JeanDo
Posts: 238
Joined: 06 Dec 2010, 15:43

Re: New JDiveLog 2.16

Post by JeanDo »

Hi,

The format structure is the same, but there is more data recorded in the header (GF settings, etc.) and more profiles stored (CNS, GF).
All software should be able to read and interpret both old and new binary formats (once updated).
~~~~
JeanDo, http://ostc-planner.net, OSTC Mk.2 1455, 2N 2799, DR5 171.
heinrichsweikamp
Posts: 4469
Joined: 13 May 2007, 18:07

Re: New JDiveLog 2.16

Post by heinrichsweikamp »

JeanDo Wrote:
> All software should be able to read and interpret
> both old and new binary formats (once updated).

And JDiveLog does exactly that. When set to protocol "1.91-x" (Settings -> Divecomputer) JDiveLog 2.16 imports dives in the new and old format. The protocol is downwards compatible.

Regards,
Matthias
Stephane
Posts: 84
Joined: 15 Sep 2010, 11:42

Re: New JDiveLog 2.16

Post by Stephane »

I also can't import dives with that version of Jdivelog. My MK2 is under french firmware 1.90, PC is under Linux 64bits (RxTx is fine).
When I set the transfer protocol to 1.91 it starts to transfer datas (blue led is on) but stops with a Comm Timeout message. Same behaviour under WinXP 32bits.
I'm going to report this to Pascal Pellmont
--
Stéphane Acounis
heinrichsweikamp
Posts: 4469
Joined: 13 May 2007, 18:07

Re: New JDiveLog 2.16

Post by heinrichsweikamp »

Stephane Wrote:
-------------------------------------------------------
> I also can't import dives with that version of
> Jdivelog. My MK2 is under french firmware 1.90, PC
> is under Linux 64bits (RxTx is fine).
> When I set the transfer protocol to 1.91 it starts
> to transfer datas (blue led is on) but stops with
> a Comm Timeout message. Same behaviour under WinXP
> 32bits.

Ok, it's a bit more complicated:
- Dives made with the 1.90 but downloaded when firmware 1.91 or later is installed on OSTC will be imported fine with protocol setting 1.91-X
- When there is V1.90 installed on the OSTC you need to select 1.90-x

Regards,
Matthias
Stephane
Posts: 84
Joined: 15 Sep 2010, 11:42

Re: New JDiveLog 2.16

Post by Stephane »

Thank you Matthias.
Result is the same: no dives imported. But I don't have the timeout message anymore!
--
Stéphane Acounis
Stephane
Posts: 84
Joined: 15 Sep 2010, 11:42

Re: New JDiveLog 2.16

Post by Stephane »

OK, I found where the problem is: Jdivelog doesn't like mixes with low oxygen.

[pre]
Exception in thread "Thread-4" java.lang.IllegalArgumentException: oxygenPercent is not a valid Percentage value '7'
at net.sf.jdivelog.ci.ostc.OSTCMix.(Unknown Source)
at net.sf.jdivelog.ci.ostc.OSTCProtocol100801Mk2.parseSettings(Unknown Source)
at net.sf.jdivelog.ci.ostc.OSTCProtocol080121.parseAll(Unknown Source)
at net.sf.jdivelog.ci.ostc.AbstractOSTCProtocol.download(Unknown Source)
at net.sf.jdivelog.ci.OSTCInterface.transfer(Unknown Source)
at net.sf.jdivelog.gui.MainWindow$11.run(Unknown Source)

[/pre]

Diluent was Tx7/72 for a 117m CCR dive.
--
Stéphane Acounis
Solodiver
Posts: 397
Joined: 05 May 2010, 10:25

Re: New JDiveLog 2.16

Post by Solodiver »

Stephane Wrote:
-------------------------------------------------------
> OK, I found where the problem is: Jdivelog doesn't
> like mixes with low oxygen.

:-)

Thx Stephane for figuring this out,
Jan
~~~
MK2 1076

my wish list: http://heinrichsweikamp.net/forum/read.php?2,4649
Post Reply