dirkhh
Contributor
Thank so much dirkhh.
I know you are not a Windows expertised. In any case your work is great.
The attachment contain the file directly downloaded from SDA.
I don't know how to get XML file from uemis web site.
Please can you help me ?
View attachment 99099
Of course.
First - as expected, it's the case of the extension that trips up my code.
Bad coding on my part, I'm afraid. I'll fix that in the next version.
For now, if you rename your files from diveNNNN.sda and divelogNNNN.sda to diveNNNN.SDA and divelogNNNN.SDA (with 'SDA' instead of 'sda' as extension) then the parser should in theory work for you.
As to getting the corresponding XML files from the UEMIS website. Go to myuemis and log in. Then download these two URLs (so open them in your browser and then tell the browser to save the files localy):
http://www.uemis.com/en/sda_logbook/data_src/37613/divelog
http://www.uemis.com/en/sda_logbook/data_src/37613/dive
The number '37613' in these two URLs is the 'remote_object_id' of your dive. Whenever you extract a diveNNNN.SDA file from the dive computer you can simply look at that file with any text editor and search for lines that look like this:
<val key="remote_object_id">
<int>37613</int>
</val>
(this is about line 13-15 or so of that file). The number between the 'int' tags is the remote ID that you need to use in those URLs to get the corresponding XML files from their server. These files are only accessible to you, the owner of the SDA - that's why you need to log in, first.
Let me know if you need more help.
BTW: you posted dive 1 which is the dive that is 'preloaded' on the SDA. It's your actual dives that are much more interesting to look at... so dives 2 - 500 (or however many dives you have). And again, just a few of those would be great to have.