Importing a SmartTrak logbook

Prepare the smarttrak log for import, using Windows

SmartTrak logbooks are Access Databases. Access databases, it seems by design, get corrupted over time. Access is pretty good at ignoring the corruptions invisibly, but mdbtools, the software which reads Access databases on Linux, is not (it is still very much in beta, so has far more excuse than Microsoft). To fix the logs using SmartTrak you can export the logbook as a new SmartTrak logbook. It may not be neccesary to do this, but I would recommend it.

To export a new logbook, open the logbook you want to import into gdivelog and select the dives you wish to import either by opening the Select dialog by going to "Dives -> Select" in the menu or by hand in the "Dive Table".

Then, go to "Logbook -> Export" in the menu, give your new log book a name, e.g. "export_to_gdivelog.slg", select "SmartTrak Logbook" in the "Save as type" field, press save and wait for SmartTrak to do it's thing for a few minutes (I am testing this as I write and I just made a coffe while it exported 548 dives).

It is worth opening the new log file once it has finished exporting just to check it worked. Occasionally your dives will be renumbered (it just happened to me - what was dive number 1 became dive number 548???), you can ignore this if you want as gdivelog numbers dives on based on their date and time anyway. However, you must make sure you export any DAN DL7 L1 files from the same SmartTrak log you are going to import because the only way to tell which profile belongs to which log accurately is via the dive number. There is more about DAN DL7 L1 files below.

Although SmartTrak uses a database to store information, Uwatec cunningly decided to store the profile as a BLOB in a proprietry format. What does this mean? Well, for starters, I have better things to do with my time than workout it's format, especially when there is another way to get the profile, via DAN DL7 Level 1 files, but it does add an extra step to the import process by also having to export to DAN DL7 level 1 files.

There is a gotcha when exporting to DAN DL7 level 1 files. Every dive in a single file has to have been downloaded from a dive computer and this has to be from the same dive computer or the export will fail. This can be a pain if you have used multiple computers with your logbook because you may have to use multiple files and it may take some time and trial and error to export all your dives - I had to use four files with dives scattered all over the place. Needless to say, once you have a complete set of DAN DL7 level 1 files, file them away for safe keeping.

You export to DAN DL7 Level 1 files by selecting the dives you want to export and going to "Logbook -> Export", and select "DAN DL7 level 1" in the "Save as type" field.

now the hard bit is over... we are back to using Linux.

Assuming you have already installed the gdivelog_smarttrak_plugin, start gdivelog and go to plugins->import. Select Import SmartTrak Logbook The next window will prompt you for a SmartTrak logbook file and a some DAN DL 7 level 1 files. Select the files you exported from SmartTrak and press ok.

A window should then prompt you to select which dives you wish to import. Select the dives you want to import and press import.

After a few moments, your log book should refresh and you should see the imported dives.