Probelms uploading to CCR dives to Divinglog5

Legacy OSTC's
Post Reply
david tobin
Posts: 27
Joined: Saturday 15. January 2011, 11:14

Probelms uploading to CCR dives to Divinglog5

Post by david tobin »

I have posted this query on the Divinglog forum as well but maybe someone here can help.

When I try to upload from my OSTC Mk2 to DivingLog5.0
I get the following window:

OSTC ParseHeader2
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index


This has never happened before.
The only difference is that I was running the computer in CCR mode and the dives I was trying to download where all CCR dives.

Any advice

David
heinrichsweikamp
Posts: 4446
Joined: Sunday 13. May 2007, 18:07

Re: Probelms uploading to CCR dives to Divinglog5

Post by heinrichsweikamp »

Sounds like you need to Update Divinglog to the most current (5.0.8?) Version: http://www.scuba-divelog.com/dl50/Divinglog50.exe

Also, which version is running on your Mk.2?

Regards,
Matthias
david tobin
Posts: 27
Joined: Saturday 15. January 2011, 11:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by david tobin »

Updated Diving log 5.0.10 and re installed last stable version, 2.50, onto Mk2
Still had the same problem
divinglog
Posts: 181
Joined: Tuesday 15. January 2008, 00:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by divinglog »

Hi David

I had this happening in the past. In this case a custom function was out of range. Try resetting the CF and try to download again. If it still does not work, please enable "WriteToBinary" in the download settings in Diving Log and email me the OSTC.bin file.

Sven
Diving Log 6.0 - https://www.divinglog.de/
david tobin
Posts: 27
Joined: Saturday 15. January 2011, 11:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by david tobin »

Tried that everything is set back to default settings and Divinglog is now stuck with green progress 95% full and the same error message above, also the message "Writing Binary File" is in the OSTC download window
david tobin
Posts: 27
Joined: Saturday 15. January 2011, 11:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by david tobin »

Found a solution.
I used the downloader option inthe download window and set it for a Mk11 and the dives where downloaded.
divinglog
Posts: 181
Joined: Tuesday 15. January 2008, 00:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by divinglog »

Can you see if the binary file is already written to the location form the download settings and send me the file? I think the crash happens while parsing the data, which occurs after writing the binary. The universal downloader works, but it does not transfer as much data as the OSTC downloader.
Diving Log 6.0 - https://www.divinglog.de/
david tobin
Posts: 27
Joined: Saturday 15. January 2011, 11:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by david tobin »

See attached file. I have just noticed that the universal downloading does noy output all the data
David
divinglog
Posts: 181
Joined: Tuesday 15. January 2008, 00:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by divinglog »

Hi David

Thank you, I've found the problem. The dive on March 30 at 11:08 AM has an incorrect start gas byte (254) in the header. I've implemented code to correct that to gas 1 so the import works, but due to the incorrect data it is not clear which was actually the start gas for this dive, so you may have to correct it after the import.

Please download this zip file and extract it into the Diving Log program folder. Then the download should work again. Make sure to check the gas of this dive.

Sven
Diving Log 6.0 - https://www.divinglog.de/
heinrichsweikamp
Posts: 4446
Joined: Sunday 13. May 2007, 18:07

Re: Probelms uploading to CCR dives to Divinglog5

Post by heinrichsweikamp »

david tobin Wrote:
-------------------------------------------------------
> Updated Diving log 5.0.10 and re installed last
> stable version, 2.50, onto Mk2

Did you do the dive in question with the latest beta? That would explain it (Betas do not reset the settings - which always may be an issue if the setting is a new one...).

regards,
Matthias
david tobin
Posts: 27
Joined: Saturday 15. January 2011, 11:14

Re: Probelms uploading to CCR dives to Divinglog5

Post by david tobin »

Problem solved - thank you for the help
The dive that caused the problem was done on the latest beta version.
It was my first rebreather training dive and so the time using the computer in ccr mode. I clearly set it up wrong as subsequent dives have been OK.
Post Reply