2014-05-01 04:34:08 +00:00
// Subsurface 4.1 User Manual
// ==========================
2013-12-19 08:39:08 +00:00
// :author: Manual authors: Jacco van Koll, Dirk Hohndel, Reinout Hoornweg,
// Linus Torvalds, Miika Turkia, Amit Chaudhuri, Jan Schubert, Willem
// Ferguson, Salvador Cuñat
2014-06-28 16:32:44 +00:00
// :revnumber: 4.2
// :revdate: July 2014
First try at converting user-manual to AsciiDoc
You can do "make doc" in the main directory to create the html version,
and if you want to play around with it, do "make show" in the
Documentation subdirectory to start firefox on the end result.
It's by no means perfect, but it gives somewhat reasonable results, and
this is enough initial work for people to play around with, I think.
NOTE! You need "asciidoc" installed to do this: it's a python program,
so it should be pretty easy even on non-Linux platforms. And on Linux,
most distributions package it, so you just have to do something like
yum install asciidoc
to get it (replace with apt-get/zypper/whatever).
Asciidoc can generate other output too (man-pages, LaTeX, etc), maybe
people want to play with that part too.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-01 23:12:28 +00:00
:icons:
2013-12-06 18:09:55 +00:00
:toc:
:toc-placement: manual
First try at converting user-manual to AsciiDoc
You can do "make doc" in the main directory to create the html version,
and if you want to play around with it, do "make show" in the
Documentation subdirectory to start firefox on the end result.
It's by no means perfect, but it gives somewhat reasonable results, and
this is enough initial work for people to play around with, I think.
NOTE! You need "asciidoc" installed to do this: it's a python program,
so it should be pretty easy even on non-Linux platforms. And on Linux,
most distributions package it, so you just have to do something like
yum install asciidoc
to get it (replace with apt-get/zypper/whatever).
Asciidoc can generate other output too (man-pages, LaTeX, etc), maybe
people want to play with that part too.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-01 23:12:28 +00:00
:numbered:
2013-12-06 18:09:55 +00:00
// :website: http://subsurface.hohndel.org
2013-12-15 14:44:41 +00:00
image::images/Subsurface4Banner.png["Banner",align="center"]
2013-12-06 18:09:55 +00:00
[big]#USER MANUAL#
2014-02-22 16:52:43 +00:00
*Manual authors*: Willem Ferguson, Jacco van Koll, Dirk Hohndel, Reinout Hoornweg,
2014-05-01 04:34:08 +00:00
Linus Torvalds, Miika Turkia, Amit Chaudhuri, Jan Schubert, Salvador Cuñat
2013-12-06 18:09:55 +00:00
2014-06-28 16:32:44 +00:00
[blue]#_Version 4.2, July 2014_#
2011-12-12 20:03:04 +00:00
2013-12-06 18:09:55 +00:00
2013-12-19 08:39:08 +00:00
Welcome as a user of _Subsurface_, an advanced dive logging programme with
2014-02-13 19:30:05 +00:00
extensive infrastructure to describe, organise, interpret and print scuba
2014-03-17 08:53:30 +00:00
and free dives. _Subsurface_ offers many advantages above other similar
software solutions:
- Do you use two different dive computer brands, each with its own proprietary
software for downloading dive logs? Do you dive with rebreathers as well
as open circuit? Do you use a Reefnet Sensus time-depth recorder
in conjunction with a dive computer? _Subsurface_ offers a standard
interface for downloading dive logs from all these different pieces of
equipment and to store and analyse the dive logs within a unified system.
- Do you use more than one operating system? _Subsurface_ is fully compatible
with Mac, Linux and Microsoft, allowing you to access your dive log on each
of your operating systems in a unified way.
- Do you use Linux or Mac and your dive computer has only Microsoft-based software
for downloading dive information (e.g. Mares)? _Subsurface_ provides a way of
2014-05-11 00:26:08 +00:00
storing and analysing your dive logs on other operating systems.
2014-03-17 08:53:30 +00:00
2013-12-19 08:39:08 +00:00
_Subsurface_ binaries are available for Windows PCs (Win XP or later), Intel
based Macs (OS/X) and many Linux distributions. _Subsurface_ can be built for
2014-02-13 19:30:05 +00:00
many more hardware platforms and software environments where Qt and
libdivecomputer are available.
2013-12-12 16:15:11 +00:00
2013-12-19 08:39:08 +00:00
The scope of this document is the use of the _Subsurface_ program. To install
the software, consult the _Downloads_ page on the
http://subsurface.hohndel.org/[_Subsurface_ web site].
Please discuss issues with this program by sending an email to
mailto:subsurface@hohndel.org[our mailing list] and report bugs at
http://trac.hohndel.org[our bugtracker]. For instructions on how to build the
software and (if needed) its dependencies please consult the INSTALL file
included with the source code.
2013-12-02 06:46:38 +00:00
2013-12-19 08:39:08 +00:00
*Audience*: Recreational Scuba Divers, Free Divers, Tec Divers, Professional
2014-01-04 19:53:57 +00:00
Divers
2011-12-12 20:03:04 +00:00
2013-12-06 18:09:55 +00:00
toc::[]
2013-11-19 12:12:15 +00:00
[[S_StartUsing]]
Start Using the Program
-----------------------
2011-12-12 20:03:04 +00:00
2014-03-17 08:53:30 +00:00
The _Subsurface_ window is usually divided into four panels with a *Main
2013-12-19 08:39:08 +00:00
Menu* (File Import Log View Filter Help) at the top of the window (for Windows
2014-02-13 19:30:05 +00:00
and Linux) or the top of the screen (for Mac and Ubuntu Unity). The four panels are:
2013-05-13 17:48:20 +00:00
2014-04-29 10:40:59 +00:00
1. The *Dive List* to the bottom left containing a list of all the dives in the
2014-02-13 19:30:05 +00:00
user's
dive log. A dive can be selected and highlighted on the dive list by clicking on
2014-03-17 08:53:30 +00:00
it. In most situations the up/down keys can be used to switch
between dives. The Dive List is an important tool for manipulating a dive log.
2013-05-16 05:22:20 +00:00
2014-04-29 10:40:59 +00:00
2. The *Dive Map* to the bottom right, showing the user's dive sites on a world
2014-02-13 19:30:05 +00:00
map
2014-03-17 08:53:30 +00:00
and centred on the site of the last dive selected in the *Dive List*.
2013-05-13 17:48:20 +00:00
2014-04-29 10:40:59 +00:00
3. The *Dive Info* to the top left, giving more detailed information on the
2014-03-17 08:53:30 +00:00
dive selected in the *Dive List*, including some statistics for the selected dive or for all
2013-12-19 08:39:08 +00:00
highlighted dive(s).
2013-05-13 17:48:20 +00:00
2014-04-29 10:40:59 +00:00
4. The *Dive Profile* to the top right, showing a graphical dive profile of the
2014-03-17 08:53:30 +00:00
selected dive in the *Dive List*.
2013-02-16 23:31:07 +00:00
2014-02-13 19:30:05 +00:00
The dividers can be dragged between panels in order to change the size of any of
2013-12-19 08:39:08 +00:00
the panels. _Subsurface_ remembers the position of the dividers, so the next
time _Subsurface_ starts it uses the positions of the dividers when the program
was executed previously.
2013-12-12 16:32:31 +00:00
2014-03-17 08:53:30 +00:00
If a dive is selected in the *Dive List*, the dive location, detailed information
and profile of
2013-12-19 08:39:08 +00:00
the _selected dive_ are shown in the respective panels. On the other hand, if
one highlights more than one dive the last highlighted dive is the _selected
2014-03-17 08:53:30 +00:00
dive_, but summary data of all _highlighted dives_ are shown in the *Stats* tab
2014-02-13 19:30:05 +00:00
of the *Dive Info* panel (maximum, minimum and average depths, durations, water
temperatures and SAC; total time and number of dives selected).
2011-12-12 20:03:04 +00:00
2013-12-09 20:04:41 +00:00
[[S_ViewPanels]]
2011-12-14 03:55:26 +00:00
2013-11-19 12:12:15 +00:00
image::images/main_window.jpg["The Main Window",align="center"]
2011-12-12 20:18:32 +00:00
2014-02-13 19:30:05 +00:00
The user can determine which of the four panels are displayed by selecting the
2014-03-17 08:53:30 +00:00
*View* option on the main menu. This feature gives the user several choices of
2013-12-19 08:39:08 +00:00
display:
2011-12-12 20:03:04 +00:00
2013-12-12 16:32:31 +00:00
*All*: show all four of the panels as in the screenshot above.
2013-11-19 12:12:15 +00:00
2013-12-12 16:32:31 +00:00
*Divelist*: Show only the Dive List.
2013-11-19 12:12:15 +00:00
2013-12-12 16:32:31 +00:00
*Profile*: Show only the Dive Profile of the selected dive.
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
*Info*: Show only the Dive Notes about the last selected dive and statistics for
all highlighted dives.
2013-11-19 12:12:15 +00:00
2013-12-14 00:25:17 +00:00
*Globe*: Show only the world map, centred on the last selected dive.
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
Like many other functions that can be accessed via the Main Menu, these options
2014-03-17 08:53:30 +00:00
can be triggered using keyboard shortcuts. The shortcuts for a
2014-02-13 19:30:05 +00:00
particular system
2014-03-17 08:53:30 +00:00
are shown with an underline in the main menu entries. Since different Operating
2014-02-13 19:30:05 +00:00
Systems and the user chosen language may cause _Subsurface_ to use different
2014-03-17 08:53:30 +00:00
shortcut keys they are not listed here in the user manual.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
When the program is started for the first time, it shows no information at all.
2013-12-19 08:39:08 +00:00
This is because the program doesn't have any dive information available. In the
2014-02-13 19:30:05 +00:00
following sections, the procedures to create a new logbook will be described.
2013-11-19 12:12:15 +00:00
[[S_NewLogbook]]
2013-12-05 18:52:33 +00:00
Creating a new logbook
----------------------
2013-12-19 08:39:08 +00:00
Select _File -> New Logbook_ from the main menu. All existing dive data are
2014-03-17 08:53:30 +00:00
cleared so that new information can be added. If there are unsaved data in an
open logbook, the user is asked whether the open logbook should be
2014-02-13 19:30:05 +00:00
saved before a new logbook is created.
2013-11-19 12:12:15 +00:00
[[S_GetInformation]]
2014-03-23 06:34:54 +00:00
== How to store dive information in the user's logbook
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
There are several ways in which dive information can be added to a logbook:
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
1. Enter dive information by hand. This is typically useful if the diver did not
use a dive computer and dives were recorded in a written logbook.
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
2. Import dive information directly from a dive computer if it is supported by
_Subsurface_. The latest list of dive computers supported by _Subsurface_ can
be found at:
2014-02-13 19:30:05 +00:00
link:http://subsurface.hohndel.org/documentation/supported-dive-computers/[
Supported dive computers].
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
3. Import dive information from another data base or file format. This is
discussed in more detail below.
2013-11-19 12:12:15 +00:00
[[S_EnterData]]
2013-12-05 18:52:33 +00:00
=== Entering dive information by hand
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
This is usually the approach for dives without a dive computer. The basic record
of information within _Subsurface_ is a dive. The most important information
2014-02-13 19:30:05 +00:00
in a simple dive logbook usually includes dive type, date, time, duration,
depth, the names of your dive buddy and of the dive master or dive guide, and
some remarks about the dive. _Subsurface_ can store much more information
than this for each dive. In order to add a dive to a dive log, select _Log
2013-12-19 08:39:08 +00:00
-> Add Dive_ from the Main Menu. The program then shows three panels to enter
information for a dive: two tabs in the *Info* panel (*Dive Notes* and
2014-02-13 19:30:05 +00:00
*Equipment*), as well as the *profile* panel that displays a graphical profile
of each dive. These panels are respectively marked [red]#A#, [red]#B# and
[red]#C#
in the figure below. Each of these tabs will now be explained for data entry.
2013-11-19 12:12:15 +00:00
2013-12-09 20:04:41 +00:00
image::images/AddDive1.jpg["FIGURE: Add dive",align="center"]
2013-11-19 12:12:15 +00:00
==== Dive Notes
2013-12-19 08:39:08 +00:00
This panel contains the date, time and place information for a particular dive,
environmental conditions, co-divers and buddies, as well as some descriptive
information. The message in a blue box at the top of the panel indicates that
2014-02-13 19:30:05 +00:00
the dive is being edited. If one clicks on the *Dive Notes* tab, the following
fields are visible:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/AddDive2.jpg["FIGURE: The Dive Notes tab",align="center"]
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
The *Start time* field reflects the date and the time of the dive. By clicking
2014-02-13 19:30:05 +00:00
the down-arrow on the right of that field a calendar will be displayed from
which
one can choose the correct date. The time values (hour and minutes) can also be
edited directly by clicking on each of them in the text box and by overtyping the
information displayed.
*Air and water temperatures*: the air and water temperatures during the
2014-03-25 04:27:30 +00:00
dive can be typed directly on the fields to the right of the Start time.
2014-02-13 19:30:05 +00:00
Temperature units are not needed, as they will be automatically supplied by
_Subsurface_. Only the numerical value must be
typed by the user (The units selected in the 'Preferences'
will determine whether metric or imperial units are used).
*Location*: Here the name of the dive site can be entered, e.g. "Tihany, Lake
Balaton,
Hungary". Auto completion of location names will make this easier if one
frequently dives at the same sites.
2013-12-19 08:39:08 +00:00
*Coordinates*: The geographic coordinates of the dive site should be entered
here. These can come from three sources:
2014-02-13 19:30:05 +00:00
a. One can find the coordinates on the world map in the bottom right hand
part
2013-12-19 08:39:08 +00:00
of the Subsurface window. The map displays a green bar indicating "No location
2014-03-23 06:34:54 +00:00
data - Move the map and double-click to set the dive location". Upon a double-click
2013-12-19 08:39:08 +00:00
at the appropriate place, the green bar disappears and the coordinates are
stored.
2014-02-13 19:30:05 +00:00
b. The coordinates can be obtained from the _Subsurface_ Companion app if the
user has an Android device with GPS and if the coordinates of the dive site
were stored using that device.
2013-12-08 15:48:27 +00:00
xref:S_Companion[Click here for more information]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
c. The coordinates can be entered by hand if they are known, using one of
2014-01-15 08:00:30 +00:00
four formats with latitude followed by longitude:
2013-12-25 11:59:56 +00:00
2014-01-15 08:00:30 +00:00
ISO 6709 Annex D format e.g. 30°13'28.9"N 30°49'1.5"E
Degrees and decimal minutes, e.g. N30° 13.49760' , E30° 49.30788'
2013-12-25 11:59:56 +00:00
Degrees minutes seconds, e.g. N30° 13' 29.8" , E30° 49' 1.5"
Decimal degrees, e.g. 30.22496 , 30.821798
2014-02-13 19:30:05 +00:00
Southern hemisphere latitudes are given with a *S*, e.g. S30°, or with a
negative value, e.g. -30.22496. Similarly western longitudes are given with a
*W*, e.g. W07°, or with a negative value, e.g. -7.34323.
2013-12-25 11:59:56 +00:00
2014-03-23 06:34:54 +00:00
Please note that GPS coordinates of a dive site are linked to the Location
name - so adding coordinates to dives that does not have a location description
will cause unexpected behavior (Subsurface will think that all of these
2014-02-22 16:53:45 +00:00
dives have the same location and try to keep their GPS coordinates the
same.
2013-12-25 11:59:56 +00:00
2014-02-13 19:30:05 +00:00
*Divemaster*: The name of the dive master or dive guide for this dive can be
entered here.
Again, this field offers auto completion based on the list of dive masters in
the current logbook.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Buddy*: In this field one can enter the name(s) of the buddy / buddies
(separated by commas) who accompanied the user on the dive. Auto completion
2014-03-23 06:34:54 +00:00
is offered based on the list of buddies in the current logbook.
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
*Suit*: The type of diving suit used for the dive can be entered here.
As with the other items, auto completion of the suit description is available.
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
*Rating*: In this field, provide a subjective overall rating of the
2014-02-13 19:30:05 +00:00
dive on a 5-point scale by clicking the appropriate star on the rating scale.
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
*Visibility*: As with the previous item, provide a rating of
2014-02-13 19:30:05 +00:00
visibility during the dive on a 5-point scale by clicking the appropriate star.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Tags*: Tags that describe the type of dive performed may
be entered here (separated by commas). Examples of common tags are boat, drift,
training, cave etc. _Subsurface_ has many built-in tags. Auto completion is once again offered.
For instance, if, for instance, +cav+ was typed, then the tags *cave* and *cavern* are
shown for the user to choose from.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Notes*: Any additional information can be typed here.
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
The *Save* and *Cancel* buttons are used to save all the information for tabs in
the info panel and in the dive profile panel, so there's no need to use them
until ALL other information has been added. Here is an example of a completed
Dive Notes panel:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CompletedDiveInfo.jpg["FIGURE: A completed Dive Notes tab",align="center"]
2013-11-19 12:12:15 +00:00
==== Equipment
2014-02-13 19:30:05 +00:00
The Equipment tab allows the user to enter information about the type of
cylinder and gas used, as well as the weights used for a dive. The message in a
blue
2013-12-19 08:39:08 +00:00
box at the top of the panel:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/BlueEditBar.jpg["Blue edit bar",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
indicates that the dive is being edited. This is a highly interactive part of
_Subsurface_ and the information on
cylinders and gases (entered here) affects the behaviour of the dive profile
2013-12-19 08:39:08 +00:00
(top right-hand panel).
2013-11-19 12:12:15 +00:00
2014-04-05 13:54:53 +00:00
[[S_CylinderData]]
2013-12-19 08:39:08 +00:00
*Cylinders*: The cylinder information is entered through a dialogue that looks
like this:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CylinderDataEntry1.jpg["FIGURE:Initial cylinder dialogue",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
The + button at the top right allows the user to add more cylinders for this
dive.
The dark dustbin icon on the left allows one to delete information for a
particular cylinder.
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
Start by selecting a cylinder type on the left-hand side of the
table. To select a cylinder, click in the *Type* box.
This brings up a button that can be used to display a dropdown list of
2014-02-13 19:30:05 +00:00
cylinders:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CylinderDataEntry2.jpg["FIGURE:The cylinder drop-down list button",align="center"]
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
The drop-down list can be used to select the cylinder type used
2014-03-25 04:27:30 +00:00
for the dive or the user may start typing in the box which shows the
available options for the entered characters. The
2014-01-25 07:49:28 +00:00
*Size* of the cylinder as well as its working pressure (*WorkPress*) will
2014-03-23 06:34:54 +00:00
automatically be shown in the dialogue. If a cylinder is not shown in the dropdown list, type the name and description of that cylinder into the *Type* field.
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
Next, indicate the starting pressure and the ending pressure of
2014-02-13 19:30:05 +00:00
the
gas used during the dive. The unit of pressure (metric/imperial) corresponds
2014-03-23 06:34:54 +00:00
to the setting in the _Preferences_.
2014-02-13 19:30:05 +00:00
2014-03-23 06:34:54 +00:00
Finally, type in the gas mixture used in the *O2%* field. If air
was used, a value of 21% can be entered on this field, or it might be
2014-02-13 19:30:05 +00:00
left blank. If nitrox or trimix were used, their percentages of oxygen and/or
helium must be specified.
Any inappropriate fields should be left empty. After typing the information for
the cylinder, press _ENTER_ on the keyboard or click
outside the cell that contains the cursor. Information for any additional
cylinders can be added by using the + button at the top right hand. Following
is an example of a complete description for a
dive made using two cylinders (air and EAN50):
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CylinderDataEntry3.jpg["FIGURE: a completed cylinder dive information table",align="center"]
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
*Weights*: Information about the weight system used during a dive can be entered
2014-03-23 06:34:54 +00:00
using a dialogue very similar to that for the cylinder information. If the user
2014-02-13 19:30:05 +00:00
clicks the + button on the top right of the weights dialogue, the table looks
like this:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/WeightsDataEntry1.jpg["FIGURE: The Weights dialogue",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
If one then clicks on the *Type* field, a drop-down list becomes accessible
through a down-arrow:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/WeightsDataEntry2.jpg["FIGURE: Weights type drop-down list button",align="center"]
2013-11-19 12:12:15 +00:00
2014-03-25 04:27:30 +00:00
The drop-down list can then be used to select the type of weight system or the user may start
typing in the box which shows the available options for the entered characters. In
2014-02-13 19:30:05 +00:00
the *Weight*
field, the weight used during the dive must be typed. After typing the
information
for the weight system the user must either press _ENTER_ on the keyboard or
click outside the
2013-12-22 16:59:30 +00:00
cell that contains the cursor. It is possible to enter
2013-12-19 08:39:08 +00:00
information for more than one weight system by adding an additional system using
2014-02-13 19:30:05 +00:00
the + button on the top right hand. Weight systems can be deleted using the
dustbin icon on the left hand. Here is an example of information for a dive
with two types of weights: integrated and a weight belt:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/WeightsDataEntry3.jpg["FIGURE: A completed weights information table",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
There's NO need to click the _Save_ button before the dive
2014-03-23 06:34:54 +00:00
profile has been completed.
2013-11-19 12:12:15 +00:00
2014-04-05 13:54:53 +00:00
[[S_CreateProfile]]
2013-11-19 12:12:15 +00:00
==== Creating a Dive Profile
2014-02-13 19:30:05 +00:00
The *Dive Profile* (a graphical representation of the depth of the dive as a
2013-12-19 08:39:08 +00:00
function of time) is indicated in the panel on the top right hand of the
2014-02-13 19:30:05 +00:00
_Subsurface_ window. When a dive is manually added to a logbook, _Subsurface_
presents a default dive profile that needs to be modified to best represent the
dive being described:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/DiveProfile1.jpg["FIGURE: Initial dive profile",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
_Modifying the dive profile_: When the cursor is moved around the dive profile,
2014-03-25 04:27:30 +00:00
its position is indicated by two colored lines (red and green) as shown below.
The depth and time
2013-12-19 08:39:08 +00:00
that the cursor represents are indicated, respectively on the left hand and
bottom axes. The units (metric/imperial) on the axes are determined by the
2014-03-23 06:34:54 +00:00
*Preference* settings. The dive profile itself comprises several
2013-12-19 08:39:08 +00:00
line segments demarcated by waypoints (white dots on the profile, as shown
2014-02-13 19:30:05 +00:00
above). The default dive depth is 15 m.
If the dive depth was 21 m then the user needs to drag the appropriate waypoints
downwards to represent 21 m. To add a waypoint, double-click on
2014-03-23 06:34:54 +00:00
any line segment. To move an additional waypoint, drag it.
To remove this waypoint, right-click on it and choose "Remove this point" from the
context menu. The user needs to drag the waypoints to represent an
2014-02-13 19:30:05 +00:00
accurate
time duration for the dive. Below is a dive profile that represents a dive
2014-03-23 06:34:54 +00:00
to 21 m for 31 min, followed by a 5 minute safety stop at 5 m.
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/DiveProfile2.jpg["FIGURE: Edited dive profile",align="center"]
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
_Specifying the gas composition:_ The gas composition used is clearly indicated
along the line segments of the dive profile. This defaults to the first gas
mixture specified in the *Equipment* tab, which was air in the case of the
2014-02-13 19:30:05 +00:00
profile illustrated above. The gas mixtures of segments of the dive profile can
2014-03-23 06:34:54 +00:00
be edited. This is done by right-clicking on the particular
2014-02-13 19:30:05 +00:00
waypoint and selecting the appropriate gas from the context menu. Changing
the gas for a waypoint affects the gas shown in the segment _to the left_ of
that
2013-12-19 08:39:08 +00:00
waypoint. Note that only the gases defined in the *Equipment* tab appear in the
2014-03-25 04:27:30 +00:00
context menu.
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/DiveProfile3.jpg["FIGURE: Gas composition context menu",align="center"]
2013-11-19 12:12:15 +00:00
2014-03-23 06:34:54 +00:00
Below is the profile of a dive to 21 m for 31 min for which an extra waypoint was added at 18 m on the ascent and with a switch from air to
EAN50 at 18 m. In this case the first cylinder in the *Equipment* tab
contained air and the second cylinder contained EAN50.
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/DiveProfile4.jpg["FIGURE: Completed dive profile",align="center"]
2013-11-19 12:12:15 +00:00
==== Saving the hand-entered dive information
2013-12-19 08:39:08 +00:00
The information entered in the *Dive Notes* tab, the *Equipment* tab as well as
2014-02-13 19:30:05 +00:00
the *Dive Profile* can now be saved in the user's logbook by using the two
buttons
on the top right hand of the Dive Notes tab. If the _Save_ button is clicked,
the dive data
are saved in the current logbook. If the _Cancel_ button is clicked, the newly
entered
2014-03-23 06:34:54 +00:00
dive data are discarded. When exiting _Subsurface_, the user will be prompted
2014-02-13 19:30:05 +00:00
once more to save the logbook with the new dive(s).
2011-12-12 20:03:04 +00:00
2013-05-16 05:23:05 +00:00
2013-12-09 20:04:41 +00:00
[[S_ImportDiveComputer]]
2014-02-13 19:30:05 +00:00
=== Importing new dive information from a Dive Computer
2013-11-19 12:12:15 +00:00
==== Connecting and importing data from a dive computer.
2014-02-13 19:30:05 +00:00
The use of dive computers allows the collection of a large amount of
information about
each dive, e.g. a detailed record of depth, duration, rates of ascent/descent
2013-12-19 08:39:08 +00:00
and of gas partial pressures. _Subsurface_ can capture this information and
2014-02-13 19:30:05 +00:00
present it as part of the dive information, using dive
2013-12-19 08:39:08 +00:00
information from a wide range of dive computers. The latest list of supported
dive computers can be found at:
2014-02-13 19:30:05 +00:00
link:http://subsurface.hohndel.org/documentation/supported-dive-computers/[
Supported dive computers].
2011-12-12 20:18:32 +00:00
2013-12-02 06:46:38 +00:00
[icon="images/icons/warning2.png"]
[WARNING]
Several dive computers consume more power when they are in their
2014-02-13 19:30:05 +00:00
PC-Communication mode. **This could drain the dive computer's battery**. We
therefore
recommend that the user checks if the dive computer is charged when
2013-12-19 08:39:08 +00:00
connected to the USB port of a PC. For example, several Suunto and Mares dive
2014-03-23 06:34:54 +00:00
computers do not recharge through the USB connection. Users should refer to
2014-02-13 19:30:05 +00:00
the dive computer's manual
2014-03-23 06:34:54 +00:00
if they are unsure whether the dive computer recharges its batteries
2014-02-13 19:30:05 +00:00
while connected to the USB port.
To import dive information from a dive computer to a computer with
_Subsurface_,
it is necessary that the two pieces of equipment communicate with one another.
This
2013-12-19 08:39:08 +00:00
involves setting up the communications port (or mount point) of the computer
with _Subsurface_ that communicates with the dive computer. In order to set up
2014-02-13 19:30:05 +00:00
this communication, one needs to find the appropriate information to
instruct
2014-04-29 10:40:59 +00:00
_Subsurface_ where and how to import the dive information.
xref:_appendix_a_operating_system_specific_information_for_importing_dive_information_from_a_dive_computer[Appendix A]
provides the technical information to help the user achieving this for different
2014-02-13 19:30:05 +00:00
operating
2014-04-29 10:40:59 +00:00
systems and
xref:_appendix_b_dive_computer_specific_information_for_importing_dive_information[Appendix B]
has dive computer specific information.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
After this, the dive computer can be hooked up to the user's PC, which can be
achieved by following these steps:
2011-12-12 20:18:32 +00:00
2014-04-29 10:40:59 +00:00
1. The interface cable should be connected to a free USB port (or the Infrared
2014-02-13 19:30:05 +00:00
or Bluetooth connection set up as described later in this manual)
2011-12-14 04:15:19 +00:00
2014-04-29 10:40:59 +00:00
2. The dive computer should be placed into PC Communication mode.
2014-02-13 19:30:05 +00:00
(Users should refer to the manual of their specific dive computer)
2013-05-13 18:22:41 +00:00
2014-04-29 10:40:59 +00:00
3. In _Subsurface_, from the Main Menu, the user must select _Import -> Import
2014-02-13 19:30:05 +00:00
From Dive Computer_.
Dialogue *A* in the figure below appears:
2011-12-14 04:15:19 +00:00
2013-12-08 15:48:27 +00:00
image::images/ImportFromDC1.jpg["FIGURE: Download dialogue 1",align="center"]
2011-12-14 04:15:19 +00:00
2013-12-19 08:39:08 +00:00
Dive computers tend to keep a certain number of dives in their memory, even
though these dives have already been imported to _Subsurface_. For that reason
_Subsurface_ only imports dives that have not been uploaded before. This makes
the download process faster on most dive computers and also saves battery power
2014-02-13 19:30:05 +00:00
of the dive computer (at least for those not charging while connected via USB).
If, for some reason, the user wishes to import ALL dives from the dive computer,
2014-05-11 00:26:08 +00:00
even though some may already be in the logbook, then check the check box labeled
2014-03-23 06:34:54 +00:00
_Force download of all dives_.
2013-12-19 08:39:08 +00:00
- The dialogue has two drop-down lists, *Vendor* and *Dive Computer*. On the
2014-03-23 06:34:54 +00:00
*vendor* drop-down list select the make of the computer, e.g.
2014-02-13 19:30:05 +00:00
Suunto, Oceanic,
Uwatec, Mares. On the *Dive Computer* drop-down list, the model name of
the dive computer must be selected, e.g. D4 (Suunto), Veo200 (Oceanic), or Puck
(Mares).
2013-12-19 08:39:08 +00:00
- The *Device or Mount Point* drop-down list contains the USB or Bluetooth port
2014-02-13 19:30:05 +00:00
name that _Subsurface_ needs in order to communicate with the dive computer.
2014-04-29 10:40:59 +00:00
The appropriate port name must be selected. Consult
xref:_appendix_a_operating_system_specific_information_for_importing_dive_information_from_a_dive_computer[Appendix A]
and
xref:_appendix_b_dive_computer_specific_information_for_importing_dive_information[Appendix B]
for technical details on how to find the appropriate port information for a
2014-02-13 19:30:05 +00:00
particular dive
computer and, in some cases, how to do the correct settings to the operating
system of the computer on which _Subsurface_ is running.
2014-02-18 09:26:54 +00:00
- If all the dives on the dive computer need to be downloaded, check the
checkbox _Force download of all dives_. Normally, _Subsurface_ only downloads
dives after the date-time of the last dive in the *Dive List* panel. If one
or more of your dives in _Subsurface_ have been accidentally deleted or if there
are older dives that still need to be downloaded from the dive computer, this
checkbox needs to be activated. Some dive computers (e.g. Mares Puck) do not provide
a contents list to _Subsurface_ before the download in order to select only new dives.
Consequently, for these dive computers, all dives are downloaded
irrespective of the status of this check box.
- If the checkbox _Always prefer downloaded dives_
has been checked and, during download, dives with identical date-times exist on
the dive computer and on the _Subsurface_
*Dive List* panel, the record in the _Subsurface_ divelog will be overwritten
by the record from the dive computer
- Do *not* check the checkboxes labeled _Save libdivecomputer logfile_ and
_Save libdivecomputer dumpfile_. These are only used as diagnostic tools
when problems with downloads are experienced (see below).
2014-02-13 19:30:05 +00:00
- The _OK_ button must then be clicked. Dialogue *B* in the figure above
appears.
2014-02-18 09:26:54 +00:00
- With communication established, one can see how the data are
retrieved from the dive computer.
2014-02-13 19:30:05 +00:00
Depending on the make of the dive computer and/or number of recorded dives, this
could take some time. The user should be patient. The _Download_ dialogue
shows a
progress bar at the bottom of the dialogue (for some dive computers the
progress information could be inaccurate as we cannot determine how much
downloadable data there is until all data have been downloaded). When the
download of the dive information is complete, all the imported dives appear
2014-03-25 04:27:30 +00:00
in the *Dive List*, sorted by date and time. Disconnect and
2014-02-13 19:30:05 +00:00
switch off the dive
2014-01-29 06:04:49 +00:00
computer to conserve its battery power.
2014-03-25 04:27:30 +00:00
If a particular dive is selected, the *Dive Profile* panel shows an informative
2014-01-29 06:04:49 +00:00
graph of dive depth against time for that particular dive.
2011-12-12 20:18:32 +00:00
2014-02-13 19:30:05 +00:00
- If there is a problem in communicating with the dive computer, an error
2013-12-19 08:39:08 +00:00
message will be shown, similar to this text: "Unable to open /dev/ttyUSB0 Mares
2014-02-13 19:30:05 +00:00
(Puck Pro)". Refer to the text in the box below.
2013-12-06 18:09:55 +00:00
2013-12-25 11:59:56 +00:00
****
2014-02-18 09:26:54 +00:00
*PROBLEMS WITH DATA DOWNLOAD FROM A DIVE COMPUTER?*
2013-12-06 18:09:55 +00:00
[icon="images/icons/important.png"]
[IMPORTANT]
2014-04-29 10:40:59 +00:00
Check the following:
- Is the dive computer still in PC-communication or
2014-02-13 19:30:05 +00:00
Upload mode?
2014-04-29 10:40:59 +00:00
- Is the battery of the dive computer fully charged? If not then the battery
2014-02-13 19:30:05 +00:00
must be charged or replaced.
2014-04-29 10:40:59 +00:00
- Is the connecting cable faulty? Does the cable work perfectly using other
2014-02-13 19:30:05 +00:00
software? Has it worked before, or is this the first time the cable is being used?
2014-04-29 10:40:59 +00:00
- Consult
xref:_appendix_a_operating_system_specific_information_for_importing_dive_information_from_a_dive_computer[Appendix A]
and make sure that the correct Mount Point
2014-02-13 19:30:05 +00:00
was specified (see above).
2014-04-29 10:40:59 +00:00
- On Unix-like operating systems, does the user have write permission to the
USB port? If not, consult
xref:_appendix_a_operating_system_specific_information_for_importing_dive_information_from_a_dive_computer[Appendix A]
2014-02-13 19:30:05 +00:00
If the _Subsurface_ computer does not recognise the USB adaptor by
2013-12-19 08:39:08 +00:00
showing an appropriate device name next to the Mount Point, then there is a
possibility that the cable or USB adaptor is faulty. A faulty cable is the most
common cause of communication failure between dive computer and _Subsurface_
2014-02-18 09:26:54 +00:00
computer. It is also possible that the _Subsurface_ computer cannot interpret
the data. Perform a download for diagnostic purposes with the following
2013-12-25 11:59:56 +00:00
two check boxes checked in the download dialogue discussed above:
Save libdivecomputer logfile
Save libdivecomputer dumpfile
2014-03-25 04:27:30 +00:00
*Important*: These check boxes are only used when problems are encountered
2014-02-18 09:26:54 +00:00
during the download process: under normal circumstances they should not be checked.
When checking these boxes, the user is prompted to select a folder to
save the information to. The default folder is the one in which the _Subsurface_
2014-03-25 04:27:30 +00:00
dive log is kept.
2014-03-23 06:34:54 +00:00
*Important:* _After downloading with the above checkboxes
checked, no dives are added to the
*Dive List* but two files are created in the folder selected above_:
2013-12-25 11:59:56 +00:00
subsurface.log
subsurface.bin
2014-02-13 19:30:05 +00:00
These files should be send to the _Subsurface_ mail list:
_subsurface@hohndel.org_ with a
2014-03-23 06:34:54 +00:00
request for the files to be analysed. Provide the dive computer
2014-02-13 19:30:05 +00:00
make and model
as well as contextual information about the dives recorded on the dive computer.
2013-12-25 11:59:56 +00:00
****
2013-12-19 08:39:08 +00:00
2012-10-23 03:53:04 +00:00
2013-12-02 06:46:38 +00:00
[[S_EditDiveInfo]]
2014-02-13 19:30:05 +00:00
==== Updating the dive information imported from the dive computer.
2013-02-17 06:21:47 +00:00
2014-02-13 19:30:05 +00:00
The information from the dive computer is not complete and more
2014-03-23 06:34:54 +00:00
details must be added in order to have a more full record of the dives. To
2014-02-13 19:30:05 +00:00
do this,
2013-12-19 08:39:08 +00:00
the *Dive Notes* and the *Equipment* tabs on the top left hand of the
2014-02-13 19:30:05 +00:00
_Subsurface_ window should be used.
2013-02-17 06:21:47 +00:00
2013-11-19 12:12:15 +00:00
==== Dive Notes
2014-03-23 06:34:54 +00:00
The date and time of the dive, gas mixture and (often) water temperature is
2014-02-13 19:30:05 +00:00
shown as obtained from the dive computer, but the user needs to add some
additional information by hand in order to have a more complete dive record.
The message in a blue box at
the top of the panel indicates that the dive is being edited. If the user
clicks on the *Dive Notes* tab, the following fields are
2013-12-19 08:39:08 +00:00
visible:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/AddDive3.jpg["FIGURE: The Dive Notes tab",align="center"]
2013-11-19 12:12:15 +00:00
2014-03-25 04:27:30 +00:00
The *Start time* field reflects the date and the time of the dive, as supplied by
2014-02-13 19:30:05 +00:00
the dive computer. It should therefore not be necessary to edit this, but one
2013-12-19 08:39:08 +00:00
could make changes by clicking the down-arrow on the right of that field to
2014-02-13 19:30:05 +00:00
display a calendar from which the correct date can be chosen. The hour and
2013-12-19 08:39:08 +00:00
minutes values can also be edited by clicking on each of them in the text box
and by overtyping the information displayed.
*Air/water temperatures*: Air and water temperatures during the dive are shown
2014-03-25 04:27:30 +00:00
in these fields to the right of the Start time. Many dive computers supply water
2014-02-13 19:30:05 +00:00
temperature information and this field may therefore not require further
editing. If
editing is required, only a value is required. The units of temperature will be
automatically supplied by
2014-03-23 06:34:54 +00:00
_Subsurface_ (according to the _Preferences_, metric or imperial units will
2014-02-13 19:30:05 +00:00
be used).
*Location*: In this field one should type in text that describes the site
2014-03-25 04:27:30 +00:00
where the dive was performed, e.g. "Tihany, Lake Balaton, Hungary".
2014-02-13 19:30:05 +00:00
Auto completion of location names will
make this easier when a user frequently dives at the same sites.
2013-12-19 08:39:08 +00:00
*Coordinates*: The geographic coordinates of the dive site should be entered
here. These can come from three sources:
2014-02-13 19:30:05 +00:00
a. The user can find the coordinates on the world map in the bottom right hand
part
2014-03-25 04:27:30 +00:00
of the Subsurface window. The map displays a green bar indicating "Move the map
2014-03-23 06:34:54 +00:00
and double-click to set the dive location". Double-click
2013-12-19 08:39:08 +00:00
at the appropriate place, the green bar disappears and the coordinates are
stored.
2014-02-13 19:30:05 +00:00
b. The user can obtain the coordinates from the _Subsurface_ Companion app if
an Android device with GPS was used and the if the coordinates of the dive site
were stored using that device.
2013-12-08 15:48:27 +00:00
xref:S_Companion[Click here for more information]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
c. The coordinates can be entered by hand if they are known, using one of
2014-02-18 09:26:54 +00:00
four formats with latitude followed by longitude:
2013-12-25 11:59:56 +00:00
2014-02-13 19:30:05 +00:00
ISO 6709 Annex D format e.g. 30°13'28.9"N 30°49'1.5"E
Degrees and decimal minutes, e.g. N30° 13.49760' , E30° 49.30788'
2013-12-25 11:59:56 +00:00
Degrees minutes seconds, e.g. N30° 13' 29.8" , E30° 49' 1.5"
Decimal degrees, e.g. 30.22496 , 30.821798
2014-02-13 19:30:05 +00:00
Southern hemisphere latitudes are given with a *S*, e.g. S30°, or with a
2014-03-23 06:34:54 +00:00
negative value, e.g. -30.22496. Similarly, western longitudes are given with a
2014-02-13 19:30:05 +00:00
*W*, e.g. W07°, or with a negative value, e.g. -7.34323.
2013-12-25 11:59:56 +00:00
2014-02-13 19:30:05 +00:00
*Divemaster*: The name of the dive master or dive guide for this dive should be
2014-03-23 06:34:54 +00:00
entered in this field
which offers auto completion based on the list of dive masters in
2013-12-19 08:39:08 +00:00
the current logbook.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Buddy*: In this field, one enters the name(s) of the buddy / buddies
(separated with commas) who accompanied him/her on the
2013-12-19 08:39:08 +00:00
dive. Auto completion based on the list of buddies in the current logbook is
offered.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Suit*: Here the type of diving suit used for the dive can be entered.
Auto completion of the suit description is available.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Rating*: One can provide a subjective overall rating of the dive on a
2013-12-19 08:39:08 +00:00
5-point scale by clicking the appropriate star on the rating scale.
2011-12-12 20:47:42 +00:00
2014-02-13 19:30:05 +00:00
*Visibility*: Similarly, one can provide a rating of visibility during the
dive on a
2013-12-19 08:39:08 +00:00
5-point scale by clicking the appropriate star.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Tags*: Tags that describe the type of dive performed can be entered
here (separated by commas). Examples of common tags are boat, drift, training,
cave, etc.
_Subsurface_ has many built-in tags. If the user starts typing a tag, the
program
will list the tags that correspond to the typing. For instance, if the user
typed
2013-12-19 08:39:08 +00:00
+cav+, then the tags *cave* and *cavern* are shown for the user to choose from.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Notes*: Any additional information for the dive can be entered here.
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
The *Save* and *Cancel* buttons are used to save all the information for tabs
in the info panel and in the dive profile panel, so there's no need to use them
until ALL other information has been added. Here is an example of a completed
Dive Notes panel:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CompletedDiveInfo.jpg["FIGURE: A completed Dive Notes tab",align="center"]
2013-11-19 12:12:15 +00:00
==== Equipment
2014-02-13 19:30:05 +00:00
The Equipment tab allows one to enter information about the type of
cylinder and gas used as well as the weights used for the dive. The
message in a blue box at the top of the panel:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/BlueEditBar.jpg["FIGURE: Blue edit bar",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
indicates that the dive is being edited.This is a highly interactive part of
_Subsurface_ and the information on
2013-12-19 08:39:08 +00:00
cylinders and gases (entered here) determines the behaviour of the dive profile
(top right-hand panel).
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
*Cylinders*: The cylinder information is entered through a dialogue that looks
like this:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CylinderDataEntry1.jpg["FIGURE: Initial cylinder dialogue",align="center"]
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
In most cases _Subsurface_ obtains the gas used from the dive computer and
2014-02-13 19:30:05 +00:00
automatically inserts the gas composition(% oxygen) in the table. The + button
at the top right allows the user to add more cylinders for this dive. The dark
dustbin icon on the left allows the deletion of information for a cylinder.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
The user should start by selecting a cylinder type on the left-hand side of the
table. To select a cylinder, the *cylinder type* box should be clicked. This
brings up a list button that can be used to display a dropdown list of
cylinders:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CylinderDataEntry2.jpg["FIGURE: The cylinder drop-down list button",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
The drop-down list can then be used to select the cylinder type that was used
2014-03-25 04:27:30 +00:00
for this dive or the user may start typing in the box which shows the available
options for the entered characters. The
2013-12-19 08:39:08 +00:00
*Size* of the cylinder as well as its working pressure (*WorkPress*) will
automatically be shown in the dialogue.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
Next one must indicate the starting pressure and the ending pressure of the
specified gas during the dive. The unit of pressure (metric/imperial)
2014-03-23 06:34:54 +00:00
corresponds to the settings chosen in the _Preferences_.
2014-02-13 19:30:05 +00:00
2014-03-23 06:34:54 +00:00
Finally, the user must provide the gas mixture used. If air was used, the
value of 21% can be entered or this field can be left blank. If nitrox or
2014-02-13 19:30:05 +00:00
trimix were used, their percentages of oxygen and/or helium should be entered.
Any inappropriate fields should be left empty. After typing the
information for the cylinder,
either press _ENTER_ on the keyboard or click outside the cell
that contains
the cursor. Information for any additional cylinders can be added by using the +
button at the top right hand. Following is an example of a complete description
2014-02-18 09:26:54 +00:00
for a dive using two cylinders (air and EAN50):
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/CylinderDataEntry3.jpg["FIGURE: a completed cylinder dive information table",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
*Weights*: Information about the weight system used can be entered
using a dialogue very similar to that of the cylinder information. If one
clicks
2013-12-19 08:39:08 +00:00
the + button on the top right of the weights dialogue, the table looks like
this:
2013-11-19 12:12:15 +00:00
2013-12-12 09:26:28 +00:00
image::images/WeightsDataEntry1.jpg["FIGURE:The Weights dialogue",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
By clicking on the *Type* field, a drop-down list becomes accessible through a
2013-12-19 08:39:08 +00:00
down-arrow:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/WeightsDataEntry2.jpg["FIGURE:Weights type drop-down list button",align="center"]
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
The drop-down list can then be used to select the type of weight system
2014-03-25 04:27:30 +00:00
used during the dive or the user may start typing in the box
which shows the available options for the entered characters.
In the *Weight*
2014-02-13 19:30:05 +00:00
field, type in the amount of weight used during the dive. After
specifying the weight
system, the user can either press _ENTER_ on the keyboard or click outside the
cell with the cursor.
It is possible to enter information for more than one weight system by adding
an additional system
2013-12-19 08:39:08 +00:00
using the + button on the top right hand. Weight systems can be deleted using
the dustbin icon on the left hand. Here is an example of information for a dive
2014-03-23 06:34:54 +00:00
with two types of weights: integrated as well as a weight belt:
2013-11-19 12:12:15 +00:00
2013-12-08 15:48:27 +00:00
image::images/WeightsDataEntry3.jpg["FIGURE: A completed weights information table",align="center"]
2013-11-19 12:12:15 +00:00
==== Saving the updated dive information
2014-02-13 19:30:05 +00:00
The information entered in the *Dive Notes* tab and the *Equipment* tab can be
2014-03-23 06:34:54 +00:00
saved by
2014-02-13 19:30:05 +00:00
using the
two buttons on the top right hand of the *Dive Notes* tab. If the _Save_ button
is clicked,
the dive data are saved. If the _Cancel_ button is clicked, then the newly
entered dive data are
2013-12-19 08:39:08 +00:00
deleted, although the dive profile obtained from the dive computer will be
2014-02-13 19:30:05 +00:00
retained. When the user exits _Subsurface_ there is a final prompt to confirm
that the new data should be saved.
2013-11-19 12:12:15 +00:00
2014-02-18 09:26:54 +00:00
=== Importing dive information from other digital data sources or other data formats
2013-12-02 06:46:38 +00:00
[[S_ImportingAlienDiveLogs]]
2014-03-23 06:34:54 +00:00
If a user has been diving for some time, it is possible that several dives were
logged using other dive log software. This information does not need retyping
2014-03-25 04:27:30 +00:00
because these divelogs can probably be
2014-02-13 19:30:05 +00:00
imported onto _Subsurface_. _Subsurface_ will import divelogs from a range of
other
dive log software. While some software is supported natively, for others the
2014-03-23 06:34:54 +00:00
user has to
2014-02-13 19:30:05 +00:00
export the logbook(s) to an intermediate format so that they can then be imported
by _Subsurface_.
Currently, _Subsurface_ supports importing CSV log files from several sources.
APD LogViewer, XP5 and Sensus files are
preconfigured, but because the import is flexible, users can configure their own
imports.
Manually kept log files (e.g. in spreadsheet) can also be imported by
configuring the CSV import.
2014-03-23 06:34:54 +00:00
_Subsurface_ can also import UDDF and UDCF files used by some divelog
2014-02-13 19:30:05 +00:00
software and some divecomputers, like the Heinrichs & Weikamp DR5. Finally,
for some divelog software like Mares Dive Organiser it is currently suggested to
import the logbooks first into a webservice like _divelogs.de_ and then import
them from there with
2013-12-19 08:39:08 +00:00
_Subsurface_, as divelogs.de supports a few additional logbook formats that
_Subsurface_ currently cannot parse.
2013-12-02 06:46:38 +00:00
2013-12-06 19:50:35 +00:00
When importing dives, _Subsurface_ tries to detect multiple records for
2013-12-02 06:46:38 +00:00
the same dive and merges the information as best as it can. If
there are no time zone issues (or other reasons that would cause the
2013-12-12 18:38:47 +00:00
beginning time of the dives to be significantly different) _Subsurface_
2013-12-02 06:46:38 +00:00
will not create duplicate entries.
2014-02-05 10:05:15 +00:00
==== Using the universal import dialogue
2014-02-07 08:47:16 +00:00
[[Unified_import]]
2013-12-02 06:46:38 +00:00
2014-02-13 19:30:05 +00:00
Importing dives from other software is performed through a universal interface
that is activated by selecting _Import_ from the Main Menu, then clicking on
2014-02-05 10:05:15 +00:00
_Import Log Files_. This brings up the dialogue *A* below.
2013-12-02 06:46:38 +00:00
2014-02-05 10:05:15 +00:00
image::images/Import1.jpg["FIGURE: Import dialogue: step 1",align="center"]
2013-12-02 06:46:38 +00:00
2014-02-13 19:30:05 +00:00
Towards the bottom right is a dropdown selector with a default label
2014-02-05 10:05:15 +00:00
of _Dive Log Files_ which gives access to the different types of direct imports
2014-02-07 08:47:16 +00:00
available, as in dialogue *B*, above. Currently these are:
2014-03-23 06:34:54 +00:00
- XML-formatted dive logs (Divinglog 5.0, MacDive and several other dive log systems)
- UDDF-formatted dive logs (e.g. Kenozoooid)
2014-02-07 08:47:16 +00:00
- UDCF-formatted dive logs
- JDiveLog
- Suunto Dive Manager (DM3 and DM4)
- CSV (text-based and spreadsheet-based) dive logs.
Selecting the appropriate file in the file list of the dialogue opens
2014-03-23 06:34:54 +00:00
the imported dive log in the _Subsurface_ *Dive List*. Some other formats, not
2014-02-07 08:47:16 +00:00
accessible through the Import dialogue are also supported, as explained below.
2013-12-02 06:46:38 +00:00
2013-12-05 18:52:33 +00:00
==== Importing from Mares Dive Organiser V2.1
2014-05-11 00:26:08 +00:00
Since Mares utilise proprietary Microsoft software not compatible with
2014-02-18 09:26:54 +00:00
multi-platform applications, these dive logs cannot be
directly imported into
2014-02-13 19:30:05 +00:00
_Subsurface_. Mares dive logs need to be imported using a three-step process,
2014-03-23 06:34:54 +00:00
using _www.divelogs.de_ as a mechanism to extract the dive log information.
2013-12-19 08:39:08 +00:00
2014-04-29 10:40:59 +00:00
1. The dive log data from Mares Dive Organiser need to be exported to the user's
2014-02-13 19:30:05 +00:00
desktop, using
2014-03-23 06:34:54 +00:00
a _.sdf_ file name extension. Refer to xref:Mares_Export[Appendix C] for more
information.
2014-04-29 10:40:59 +00:00
2. Data should then be imported into _www.divelogs.de_. One needs to create a user
2014-02-13 19:30:05 +00:00
account in
2014-02-07 08:47:16 +00:00
_www.divelogs.de_, log into that web site, then
select _Import Logbook -> Dive Organiser_ from the menu on the left hand side.
2014-02-13 19:30:05 +00:00
The instructions must be carefully followed to transfer the dive information
(in _.sdf_ format) from the Dive Organiser data base to _www.divelogs.de_.
2014-04-29 10:40:59 +00:00
3. Finally, import the dives
2014-02-18 09:26:54 +00:00
from _divelogs.de_ to _Subsurface_, using the instructions below.
2013-12-02 06:46:38 +00:00
[[S_ImportingDivelogsDe]]
==== Importing dives from *divelogs.de*
2013-12-19 08:39:08 +00:00
The import of dive information from _divelogs.de_ is simple, using a single
2014-02-13 19:30:05 +00:00
dialogue box. The _Import->Import form Divelogs.de_ option should be selected
from the Main Menu. This
2014-02-18 09:26:54 +00:00
brings up a dialogue box (see figure on left [*A*] below). Enter a
2014-02-13 19:30:05 +00:00
user-ID and password for _divelogs.de_ into the appropriate fields and then
select
the _Download_ button. Download from _divelogs.de_ starts immediately,
2014-03-25 04:27:30 +00:00
displaying a progress bar in the dialogue box. At the end of the download, the
2014-02-18 09:26:54 +00:00
success status is indicated (see figure on the right [*B*], below). The
_Apply_ button should then be selected, after which the imported dives appear in the
2014-02-13 19:30:05 +00:00
_Subsurface_ *Dive List* panel.
2013-12-02 06:46:38 +00:00
2013-12-09 20:04:41 +00:00
image::images/Divelogs1.jpg["FIGURE:Download from Divelogs.de",align="center"]
2013-12-02 06:46:38 +00:00
2013-12-08 15:48:27 +00:00
2013-12-25 11:59:56 +00:00
[[S_ImportingCSV]]
==== Importing dives in CSV format
Sometimes dive computers export dive information as files with
2014-01-25 07:49:25 +00:00
_comma-separated values_ (.CSV). For example, the APD Inspiration and Evolution
2014-03-23 06:34:54 +00:00
closed circuit rebreather (CCR) systems export dive information in a CSV
formatted file that normally contains information for a single dive only. These
2014-02-13 19:30:05 +00:00
files can easily be imported into _Subsurface_.
CSV files are normally organised into
a single line that provides the headers of the data columns, followed by the
data, one record per line. CSV files can be opened with a normal text editor.
Following is a highly simplified and shortened example of a CSV file from an
APD rebreather:
2014-06-22 14:41:44 +00:00
Dive Time (s) Depth (m) pO₂ - Setpoint (Bar) pO₂ - C1 Cell
2014-02-13 19:30:05 +00:00
1 (Bar) Ambient temp. (Celsius)
2013-12-25 11:59:56 +00:00
0 0.0 0.70 0.81 13.1
0 1.2 0.70 0.71 13.1
0 0.0 0.70 0.71 13.1
0 1.2 0.70 0.71 13.2
0 1.2 0.70 0.71 13.1
10 1.6 0.70 0.72 12.7
20 1.6 0.70 0.71 12.6
30 1.7 0.70 0.71 12.6
40 1.8 0.70 0.68 12.5
50 1.6 0.70 0.68 12.5
60 2.4 0.70 0.69 12.5
70 3.5 0.70 0.69 12.4
80 4.2 0.70 0.72 12.5
90 4.0 0.70 0.71 12.4
2014-02-13 19:30:05 +00:00
Note that each title may comprise more than one word; for instance
'Dive Time (s)' in the above data example. Before being able to import the data
to _Subsurface_ one first needs to know:
2013-12-25 11:59:56 +00:00
2014-02-13 19:30:05 +00:00
a. Which character separates the different columns within a single line of
data? This field separator should be either a comma (,) or a TAB character.
This can be determined by opening the file with a text editor. If it is
comma-delimited, then the comma
characters between the values are clearly visible. If no commas are evident and
2014-03-23 06:34:54 +00:00
the numbers are aligned in columns,
2014-02-13 19:30:05 +00:00
the file is probably TAB-delimited (i.e. it uses a TAB as a field separator, as
in the above example).
2013-12-25 11:59:56 +00:00
2014-03-25 04:27:30 +00:00
b. Which data columns need to be imported into _Subsurface_? The Dive Time and
2014-02-13 19:30:05 +00:00
Depth columns are always required. Open the file using a text editor and note
the titles of the columns to be imported and their column positions. For
instance for the above example:
2013-12-25 11:59:56 +00:00
Time: column 1
Depth: column 2
Temperature: column 5
2014-06-22 14:41:44 +00:00
pO₂: column 4
2013-12-25 11:59:56 +00:00
2014-02-18 09:26:54 +00:00
Armed with this information, importing the data into _Subsurface_ is
straightforward. Select
_Import->Import Log Files_ from the main menu. In the resulting file
2014-03-23 06:34:54 +00:00
selection menu, select _CSV files_, after which a common configuration dialog
2014-02-18 09:26:54 +00:00
appears for all the
files with a CSV extension:
2013-12-25 11:59:56 +00:00
2014-01-29 06:04:49 +00:00
image::images/Import_CSV1.jpg["FIGURE: CSV download dialogue",align="center"]
2013-12-25 11:59:56 +00:00
2014-02-18 09:26:54 +00:00
2013-12-25 11:59:56 +00:00
There are pre-configured definitions for some dive computers, e.g. the APD
2014-02-13 19:30:05 +00:00
rebreathers. If the user's dive computer is on this list, it should be selected
using the dropdown
2014-03-23 06:34:54 +00:00
box labeled _Pre-configured imports_. Finally _OK_ should be clicked and
2014-02-13 19:30:05 +00:00
the dive will be imported and listed in the *Dive List* tab of _Subsurface_.
If the dive computer is not on the pre-configured list, the user must
select the _Field
Separator_ (TAB or comma) for the particular CSV file, using the appropriate
dropdown list. and indicate which columns in the CSV file
contain which data
variables. For each data column used for import, the user must check the
appropriate check box
2013-12-25 11:59:56 +00:00
and indicate in which column these data are found. For instance, the image above
corresponds to the dialogue that would apply to the CSV data set described above
2014-03-23 06:34:54 +00:00
the image. After completing the column specification, select the _OK_ button
2014-02-13 19:30:05 +00:00
and the dive will be imported and listed in the *Dive List* tab of _Subsurface_.
2013-12-25 11:59:56 +00:00
2014-01-25 07:49:27 +00:00
[[S_ImportingManualCSV]]
==== Importing dives from manually kept CSV file
2014-01-29 06:04:49 +00:00
If one keeps dive logs in a spreadsheet, there is an option to import
those dives as well. Spreadsheet data, exported as a CSV file, can
be imported to _Subsurface_. When importing manually
2014-01-25 07:49:27 +00:00
kept log files, the information needed is quite different as we are
importing only metadata, not profile samples.
2014-01-29 06:04:49 +00:00
Similarly to importing dives in CSV format (see above), one needs to
know the internal format
of the CSV data to import.
2014-02-13 19:30:05 +00:00
a. Which character separates the different columns within a single line of
data? This
2014-01-29 06:04:49 +00:00
should be either a comma (,), semicolon (;) or a TAB
character, and could be determined by opening the file with a text
2014-01-25 07:49:28 +00:00
editor. If it is comma-delimited, then the comma
2014-02-13 19:30:05 +00:00
characters between the values are clearly visible. If no commas are evident and
the data
2014-01-29 06:04:49 +00:00
are in clear columns, the file
2014-02-13 19:30:05 +00:00
is probably TAB-delimited (i.e. it uses a TAB as a field separator, as in the
above example).
2014-03-23 06:34:54 +00:00
A recommended field separator for the export is tab, as commas might be part of
2014-02-13 19:30:05 +00:00
the
2014-03-23 06:34:54 +00:00
field values themselves. Therefore the use of an appropriate field separator
in very important.
2014-01-25 07:49:27 +00:00
2014-03-25 04:27:30 +00:00
b. Which columns need to be imported into _Subsurface_? We do not
2014-01-29 06:04:49 +00:00
currently have any mandatory input fields, but some, e.g. dive duration
are crucial for the log file to make any sense. Possible options
can be seen in the image below and one should include all the
2014-03-25 04:27:30 +00:00
fields available in both your log file and in the _Subsurface_
2014-01-25 07:49:27 +00:00
import.
2014-01-29 06:04:49 +00:00
c. Units used for depth, weight and temperature. We consider depth to be
2014-01-25 07:49:27 +00:00
either feet or meters, weight kilograms or pounds and temperature either
2014-03-23 06:34:54 +00:00
Celsius or Fahrenheit. However, the users can select _Metric_ or
_Imperial_ in the _Preferences_ tab of _Subsurface_. No mixture of unit
systems is allowed for the different fields.
2014-01-25 07:49:27 +00:00
2014-02-07 08:47:16 +00:00
Importing manually kept CSV log files is quite straight forward, but
2014-01-25 07:49:27 +00:00
there might be many fields and counting the field numbers is error
2014-01-29 06:04:49 +00:00
prone. Therefore validation of the data to be imported is critical.
2014-01-25 07:49:27 +00:00
2014-03-23 06:34:54 +00:00
To import the dives, select _Import->Import Log Files_ from the menu
2014-01-29 06:04:49 +00:00
bar. If the CSV option in the dropdown list is selected and the file list
includes file names ending with .CSV, one can select the
_Manual dives_ tab that will bring up the following configuration dialog:
2014-01-25 07:49:27 +00:00
2014-01-29 06:04:49 +00:00
image::images/Import_CSV2.jpg["FIGURE: Download dialog for Manual CSV logs",align="center"]
2014-01-25 07:49:27 +00:00
2014-02-13 19:30:05 +00:00
The input fields can be configured as appropriate, and when everything is done
the _OK_ button should be selected to perform the import. New dives should
appear in the *Dive List* area of _Subsurface_.
2014-01-25 07:49:27 +00:00
2013-12-08 15:48:27 +00:00
[[S_Companion]]
2014-04-29 08:22:31 +00:00
=== Importing GPS coordinates with the _Subsurface Companion App_ for mobile phones
2014-03-23 06:34:54 +00:00
2014-04-29 08:22:31 +00:00
Using the *Subsurface Companion App* on an Android device with a GPS, the coordinates
for the diving
location can be automatically passed to the _Subsurface_
divelog. The Companion App stores the dive locations on
2014-03-23 06:34:54 +00:00
a dedicated Internet-based file server. _Subsurface_, in turn, can collect
the localities from the file server.
2014-04-29 08:22:31 +00:00
To do this:
2013-12-08 15:48:27 +00:00
2014-05-07 19:47:43 +00:00
==== Create a Companion App account
2014-04-29 08:22:31 +00:00
- Register on the http://api.hohndel.org/login/[_Subsurface companion web page_].
2014-05-07 12:44:37 +00:00
A confirmation email with instructions and a personal *DIVERID* will be sent,
2014-03-23 06:34:54 +00:00
a long number that gives access to the file server and Companion App capabilities.
2013-12-08 15:48:27 +00:00
2013-12-19 08:39:08 +00:00
- Download the app from
2014-02-13 19:30:05 +00:00
https://play.google.com/store/apps/details?id=org.subsurface[Google Play Store]
2014-05-07 12:44:37 +00:00
or from
2014-02-13 19:30:05 +00:00
http://f-droid.org/repository/browse/?fdfilter=subsurface&fdid=org.subsurface[F-Droid].
2013-12-08 15:48:27 +00:00
2014-02-13 19:30:05 +00:00
==== Using the Subsurface companion app on a smartphone
2013-12-08 15:48:27 +00:00
On first use the app has three options:
2014-02-13 19:30:05 +00:00
* _Create a new account._ Equivalent to registering in _Subsurface_ companion
2014-05-07 12:44:37 +00:00
page using an Internet browser. One can request a *DIVERID* using this option,
but this is supplied via email and followed up by interaction with the
http://api.hohndel.org/login/[_Subsurface companion web page_] in order to
activate the account.
2013-12-08 15:48:27 +00:00
2014-05-07 12:44:37 +00:00
* _Retrieve an account._ If users forgot their *DIVERID* they will receive an email
2013-12-19 08:39:08 +00:00
to recover the number.
2013-12-08 15:48:27 +00:00
2014-05-07 12:44:37 +00:00
* _Use an existing account._ Users are prompted for their *DIVERID*. The app saves
this *DIVERID* and does not ask for it again unless one uses the _Disconnect_ menu
2013-12-19 08:39:08 +00:00
option (see below).
2013-12-08 15:48:27 +00:00
2014-05-07 12:44:37 +00:00
[icon="images/icons/important.png"]
[IMPORTANT]
In the _Subsurface_ main program, the *DIVERID* should also be entered on the
Default Preferences
panel, obtained by selecting _File->Preferences->Defaults_ from the main menu
in _Subsurface_ itself.
This facilitates synchronisation between _Subsurface_ and the Companion App.
2014-05-07 19:47:43 +00:00
===== Creating new dive locations
Now one is ready to get a dive position and
send it to the server. The Android
2014-03-23 06:34:54 +00:00
display will look like the left hand image (*A*) below, but without any dive.
2013-12-08 15:48:27 +00:00
2014-05-07 12:44:37 +00:00
Touch the "+" icon on the top right to add a new dive site, a menu will be
showed with 3 options:
2014-05-03 09:06:16 +00:00
* Current: A prompt for a place name (or a request to activate the GPS if it is turned
2014-05-07 12:44:37 +00:00
off) will be displayed, after which the current location is saved.
* Use Map: This option allows the user to fix a position by searching a world map. A
2014-05-07 19:47:43 +00:00
world map is shown (see *B* below) on which one should indicate the desired position
with a _long press_ on the touch
2014-05-07 12:44:37 +00:00
sensitive screen (if the marked location is erroneous, simply indicate a new location)
2014-05-07 19:47:43 +00:00
and select the check symbol in the upper right. A dialog is shown allowing to enter the
name of the dive location and the date-time of the dive (see *C* below). In order to import this
2014-05-07 12:44:37 +00:00
dive location in _Subsurface_ it's advisable to set the time to agree with the time of
that dive on the dive computer.
2014-05-07 19:47:43 +00:00
image::images/Companion_5.jpg["FIGURE: Companion App, add location using map",align="center"]
2014-05-07 12:44:37 +00:00
* Import local GPX file: The android device searches for .gpx files and located
archives will be shown. The selected .gpx file is opened and the stored
locations shown. Now one needs to select the appropriate locations, then select the
tab in the upper right, after which the locations will be sent to the web service
and added to the list on the Android device.
2014-05-03 09:06:16 +00:00
2014-05-07 19:47:43 +00:00
===== Lists of dive locations
2014-02-13 19:30:05 +00:00
The main screen shows a list of dive locations, each with a name, date and
2014-05-07 19:47:43 +00:00
time (see *A* below). Some locations may have an arrow-up icon over the selection box to the left
indicating that they require upload to the server. One
2014-05-07 12:44:37 +00:00
can select individual dive locations from the list. A selected location has a
2014-05-07 19:47:43 +00:00
check mark in the selection box on the left. Group operations (such as _Delete_ or _Send_)
2014-05-07 12:44:37 +00:00
are performed on several locations that are selected.
2013-12-08 15:48:27 +00:00
2014-05-07 19:47:43 +00:00
Dive locations in this list can be viewed in two ways: a list of locations or a
2014-05-07 12:44:37 +00:00
map indicating the dive locations. The display mode (List or Map) is changed by
selecting _Dives_ at the top left of the screen (see *A* below) and then selecting
2014-05-07 19:47:43 +00:00
the display mode. The display mode can be changed either from the list
2014-05-07 12:44:37 +00:00
of locations or from the map (see *B* below). If one selects a location (on the list
or on the map), an editing
panel opens (see *C* below) where the dive description or other details may be changed.
2014-05-03 09:06:16 +00:00
2014-05-07 12:44:37 +00:00
image::images/Companion_4.jpg["FIGURE: Companion App, add location using map",align="center"]
2013-12-08 15:48:27 +00:00
2014-05-07 19:47:43 +00:00
When one clicks on a dive (*not* selecting the check box), the
2014-05-07 12:44:37 +00:00
name given to it, date/time and GPS coordinates will be shown, with two options at the top
of the screen:
2014-05-07 19:47:43 +00:00
- Edit (pencil): Change the text name or other characteristics of the dive location.
2014-05-07 12:44:37 +00:00
- Maps: Display a map showing the dive location.
After editing and saving a dive location (see *C* above), one needs to upload it to the web
service, as explained above.
2014-05-07 19:47:43 +00:00
===== Uploading dive locations
There are several ways to send locations to the server.
The easiest is by simply
selecting the locations (See *A* below) and then touching the right arrow at the
2014-05-07 12:44:37 +00:00
top right of the screen.
2013-12-08 15:48:27 +00:00
[icon="images/icons/important.png"]
[IMPORTANT]
2014-05-07 12:44:37 +00:00
Users must be careful, as the trash icon on the right means exactly what it should:
it deletes the selected dive location(s).
2013-12-08 15:48:27 +00:00
2014-05-07 19:47:43 +00:00
image::images/Companion_1.jpg["FIGURE: Screen shots (A-B) of companion app",align="center"]
2014-04-23 21:26:18 +00:00
2014-05-07 12:44:37 +00:00
After a dive trip using the Companion App, all dive locations are ready to be
downloaded to a _Subsurface_ dive log (see below).
2014-04-23 21:26:18 +00:00
2013-12-08 15:48:27 +00:00
===== Settings on the Companion app
2014-05-07 19:47:43 +00:00
Selecting the _Settings_ menu option results in the right hand image above (*B*).
2013-12-08 15:48:27 +00:00
2013-12-19 08:39:08 +00:00
===== Server and account
2013-12-08 15:48:27 +00:00
- _Web-service URL._ This is predefined (http://api.hohndel.org/)
2014-04-29 08:22:31 +00:00
- _User ID._ The DIVERID obtained by registering as described above. The easiest way to
obtain it is simply to copy and paste from the confirmation email but, of
2014-02-13 19:30:05 +00:00
course, users can also type this information.
2013-12-08 15:48:27 +00:00
2013-12-19 08:39:08 +00:00
===== Synchronization
2013-12-08 15:48:27 +00:00
2014-04-29 08:22:31 +00:00
- _Synchronize on startup._ If selected, dive locations in the Android device and those
on the web service synchronize each time the app is started.
2013-12-08 15:48:27 +00:00
2014-04-29 08:22:31 +00:00
- _Upload new dives._ If selected, each time the user adds a dive location it is
automatically sent to the server.
2013-12-08 15:48:27 +00:00
===== Background service
2014-02-13 19:30:05 +00:00
Instead of entering a unique dive location, users can leave the service running
2014-04-29 08:22:31 +00:00
in the background of their Android device, allowing the continuous collection of GPS locations.
2013-12-08 15:48:27 +00:00
The settings below define the behaviour of the service:
2014-04-29 08:22:31 +00:00
- _Min duration._ In minutes. The app will try to get a location every X minutes
until stopped by the user.
2013-12-08 15:48:27 +00:00
2014-04-29 08:22:31 +00:00
- _Min distance._ In meters. Minimum distance between two locations.
2013-12-08 15:48:27 +00:00
2014-04-29 08:22:31 +00:00
- _Name template._ The name the app will use when saving the locations.
2013-12-08 15:48:27 +00:00
[icon="images/icons/info.jpg"]
[TIP]
2014-04-29 08:22:31 +00:00
_How does the background service work?_ Assuming the user sets 5 minutes and 50
meters in the settings above, the app will start by recording a location at the current
location, followed by another one at every 5 minutes *or* every time one moves 50m
from previous location.
2014-04-23 21:26:18 +00:00
If subsequent locations are within a radius of 50 meters from the previous one,
2014-04-29 08:22:31 +00:00
a new location is not saved. If the user is not moving, only one location is saved,
but if the user is moving, a trace of the route is obtained by saving a
location every 50 meters.
2013-12-08 15:48:27 +00:00
===== Other
2014-02-13 19:30:05 +00:00
- _Mailing List._ The mail box for _Subsurface_. Users can send an email to the
2013-12-19 08:39:08 +00:00
Subsurface mailing list.
2013-12-08 15:48:27 +00:00
- _Subsurface website._ A link to the URL of Subsurface web
2014-04-29 08:22:31 +00:00
- _Version._ Displays the current version of the Companion App.
2013-12-08 15:48:27 +00:00
===== Search
2014-04-29 08:22:31 +00:00
Search the saved dive locations by name or by date and time.
2013-12-08 15:48:27 +00:00
===== Start service
2014-04-29 08:22:31 +00:00
Initiates the _background service_ following the previously defined settings.
2013-12-08 15:48:27 +00:00
2013-12-14 00:25:17 +00:00
===== Disconnect
2013-12-08 15:48:27 +00:00
2014-04-29 08:22:31 +00:00
This is a badly named option that disconnects the app from the server by
2014-02-13 19:30:05 +00:00
resetting the user ID in the app, showing the first screen where an account
can be created, retrieve the ID for an existing account or use the users own
ID. The disconnect option
2014-04-29 08:22:31 +00:00
is useful if a user's Android device was used to download the dive locations
2014-02-13 19:30:05 +00:00
of another registered diver.
2013-12-08 15:48:27 +00:00
===== Send all locations
This option sends all locations stored in the Android device to the server.
2014-03-23 06:34:54 +00:00
==== Downloading dive locations to the _Subsurface_ divelog
2013-12-08 15:48:27 +00:00
2014-02-13 19:30:05 +00:00
Download dive(s) from a dive computer or enter them manually into
2013-12-19 08:39:08 +00:00
_Subsurface_ before obtaining the GPS coordinates from the server. The download
dialog can be reached via _Ctrl+G_ or from the _Subsurface_ Main Menu _Import
-> Import GPS data from Subsurface Service_, resulting in the image on the
2014-04-29 08:22:31 +00:00
left (*A*), below. On first use the DIVERID text box is blank. Provide a
DIVERID, then select the _Download_ button to initiate the download process, after
which the screen on the right (*B*) below appears:
2013-12-08 15:48:27 +00:00
2013-12-09 20:04:41 +00:00
image::images/DownloadGPS.jpg["FIGURE: Downloading Companion app GPS data",align="center"]
2013-12-08 15:48:27 +00:00
2014-02-13 19:30:05 +00:00
Note that the _Apply_ button is now active. By clicking on it, users can update the locations
2013-12-19 08:39:08 +00:00
of the newly entered or uploaded dives in _Subsurface_ which applies the
2014-02-13 19:30:05 +00:00
coordinates and names entered on the app for all the new dives that match the
2014-04-29 08:22:31 +00:00
date-times of the uploaded GPS localities. If one has entered the name of the dive
location in _Subsurface_ before downloading the GPS coordinates, this name will take
2014-04-23 21:26:18 +00:00
precedence over downloaded one.
Since _Subsurface_ matches GPS locations from the Android device and dive information from the
dive computer based on date-time data, automatic assignment of GPS data to dives is dependent
2014-04-29 08:22:31 +00:00
on agreement of the date-time information between these two devices. Although _Subsurface_ has
a wide range tolerance, it may be unable to identify the appropriate dive if there is
a large difference between the time in the dive computer and that of the Android device,
resulting in no updates.
2014-04-23 21:26:18 +00:00
2014-04-29 08:22:31 +00:00
Similar date-times may not always be possible and there may be many reasons for this (e.g. time zones), or
2014-04-23 21:26:18 +00:00
_Subsurface_ may be unable to decide which is the correct position for a dive (e.g. on repetitive
2014-04-29 08:22:31 +00:00
dives while running _background service_ there may be several locations that would be
included in the time range that fit not only the first dive, but one or more subsequent dives as well).
A workaround for this situation to manually edit the date-time of a dive in the _Subsurface_
Dive List *before* downloading the GPS data and then to change the date-time back again *after*
2014-04-23 21:26:18 +00:00
downloading GPS data.
2013-12-08 15:48:27 +00:00
[icon="images/icons/info.jpg"]
[NOTE]
2014-04-23 21:26:18 +00:00
TIPS:
2014-04-29 08:22:31 +00:00
- _Background service_, being a very powerful tool, may fill the location list with
many unnecessary locations not corresponding to the exact dive point but reflecting the boat's route.
2014-05-11 00:26:08 +00:00
Currently these locations are difficult to delete from the server. In some situations it
2014-04-29 08:22:31 +00:00
is therefore prudent to clean up the list on the Android device before sending the dive points to the web
2014-05-11 00:26:08 +00:00
server by simply deleting the inappropriate locations. This might be necessary, for
2014-04-29 08:22:31 +00:00
instance, if one wants to keep the location list clear to see dives in the web service map display (see above).
- It may also make sense to give informative names to the locations sent to the web server, or at least
to use an informative name in the _Name Template_ setting while running the _background service_,
especially on a dive trip with many dives and dive locations.
2013-12-08 15:48:27 +00:00
2013-12-05 18:52:33 +00:00
== Obtaining more information about dives entered into the logbook
2013-11-19 12:12:15 +00:00
2013-12-02 06:46:38 +00:00
=== The *Dive Info* tab (for individual dives)
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
The Dive Info tab gives some summary information about a particular dive that
has been selected in the *Dive List*. Useful information here includes the
surface interval before the dive, the maximum and mean depths of the dive, the
2014-02-13 19:30:05 +00:00
gas volume consumed, the surface air consumption (SAC) and the number of oxygen
2013-12-19 08:39:08 +00:00
toxicity units (OTU) incurred.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
[icon="images/icons/info.jpg"]
[NOTE]
Gas consumption and SAC calculations:
_Subsurface_ calculates SAC and Gas consumption taking in account gas
incompressibility, particularly at tank pressures above 200 bar, making them more accurate.
Users should refer to xref:SAC_CALCULATION[Appendix D] for more information.
2013-12-02 06:46:38 +00:00
=== The *Stats* tab (for groups of dives)
2013-11-19 12:12:15 +00:00
2013-12-19 08:39:08 +00:00
The Stats tab gives summary statistics for more than one dive, assuming that
2014-02-13 19:30:05 +00:00
more than one dive have been selected in the *Dive List* using the standard
Ctrl-click or Shift-click of the mouse. If only one
2013-12-19 08:39:08 +00:00
dive has been selected, figures pertaining to only that dive are given. This tab
2014-02-13 19:30:05 +00:00
shows the number of dives selected, the total amount of dive time in these
dives,
2013-12-19 08:39:08 +00:00
as well as the minimum, maximum and mean for the dive duration, dive depth,
water temperature and surface air consumption (SAC).
2013-12-04 19:18:23 +00:00
[[S_DiveProfile]]
2013-12-02 06:46:38 +00:00
=== The *Dive Profile*
2013-11-19 12:12:15 +00:00
2014-04-21 13:06:28 +00:00
image::images/Profile2.jpg["Typical dive profile",align="center"]
2013-12-02 06:46:38 +00:00
2013-12-19 08:39:08 +00:00
Of all the panels in _Subsurface_, the Dive Profile contains the most detailed
2014-03-16 04:34:35 +00:00
information about each dive. The Dive Profile has a *button bar* on the left hand side
2014-03-14 22:31:37 +00:00
that allows control over several display options. The functions of these
buttons are described below. The main item in the Dive
Profile is the graph of
2013-12-19 08:39:08 +00:00
dive depth as a function of time. In addition to the obvious information of
2014-02-13 19:30:05 +00:00
the depth it also shows the ascent and descent rates compared to the recommended
2013-12-19 08:39:08 +00:00
speed of going up or down in the water column. This information is given using
different colours:
2013-12-02 06:46:38 +00:00
|====================
2013-12-12 18:53:55 +00:00
|*Colour*|*Descent speed (m/min)*|*Ascent speed (m/min)*
2013-12-02 06:46:38 +00:00
|Red|> 30|> 18
|Orange|18 - 30|9 - 18
|Yellow|9 - 18|4 - 9
|Light green|1.5 - 9|1.5 - 4
|Dark green|< 1.5|< 1.5
|=====================
2013-12-19 08:39:08 +00:00
The profile also includes depth readings for the peaks and troughs in the graph.
2014-02-13 19:30:05 +00:00
Thus, users should see the depth of the deepest point and other peaks. Mean depth
2013-12-19 08:39:08 +00:00
is marked with a horizontal red line.
2014-03-14 22:31:37 +00:00
[icon="images/icons/scale.jpg"]
[NOTE]
In some cases the dive profile does not fill the whole area of the *Dive Profile*
panel. Clicking the *Scale* button in the toolbar on the left of the dive profile
frequently increases the size of the dive profile to fill the area of the panel efficiently.
*Water temperature* is displayed with its own blue line with temperature values
placed adjacent to significant changes.
The dive profile can include graphs of the *partial pressures*
of O2, N2, and He during the dive (see figure above) as well as a calculated and dive computer
reported deco ceilings (only visible for deep, long, or repetitive dives). Partial pressures of oxygen are indicated in green, those of nitrogen in black, and those of helium in dark red. These
partial pressure graphs are shown below the profile data.
[icon="images/icons/O2.jpg"]
[NOTE]
Clicking this button allows display of the partial pressure of *oxygen* during the
dive. This is depicted below the dive depth and water temperature graphs.
[icon="images/icons/N2.jpg"]
[NOTE]
Clicking this button allows display of the partial pressure of *nitrogen* during the dive.
[icon="images/icons/He.jpg"]
[NOTE]
Clicking this button allows display of the partial pressure of *helium* during the dive.
This is only of importance to divers using Trimix, Helitrox or similar breathing gasses.
2013-12-19 08:39:08 +00:00
The *air consumption* graph displays the tank pressure and its change during the
dive. The air consumption takes depth into account so that even when manually
entering the start and end pressures the graph is not a straight line.
2014-02-13 19:30:05 +00:00
Similarly to the depth graph the slope of the tank pressure gives the user information
about the
momentary SAC rate (Surface Air Consumption) when using an air integrated dive computer.
Here the colour
2013-12-19 08:39:08 +00:00
coding is not relative to some absolute values but relative to the average
2014-02-13 19:30:05 +00:00
normalised air consumption during the dive. So areas that are red or orange
indicate
2013-12-19 08:39:08 +00:00
times of increased normalized air consumption while dark green reflects times
2014-04-21 13:06:28 +00:00
when the diver was using less gas than average.
[icon="images/icons/Heartbutton.png"]
[NOTE]
Clicking on the heartrate button will allow the display of heart rate information
during the dive if the dive computer was attached to a heart rate sensor.
2013-12-19 08:39:08 +00:00
It is possible to *zoom* into the profile graph. This is done either by using
the scroll wheel / scroll gesture of your mouse or trackpad. By default
2014-02-13 19:30:05 +00:00
_Subsurface_ always shows a profile area large enough for at least 30 minutes
and 30m
(100ft) – this way short or shallow dives are intuitively recognizable;
something
2013-12-19 08:39:08 +00:00
that free divers clearly won’ t care about.
2013-12-02 06:46:38 +00:00
2013-12-09 20:04:41 +00:00
image::images/MeasuringBar.png["FIGURE: Measuring Bar",align="center"]
2013-12-02 06:46:38 +00:00
2014-03-14 22:31:37 +00:00
[icon="images/icons/ruler.jpg"]
[NOTE]
Measurements of *depth or time differences* can be achieved by using the
*ruler button* on the left of the dive profile panel.
The measurement is done by dragging the red dots to the two points
2014-02-13 19:30:05 +00:00
on the dive profile that the user wishes to measure. Information is then given
2014-03-14 22:31:37 +00:00
in the horizontal white area underneath the
2013-12-19 08:39:08 +00:00
two red dots.
2014-03-14 22:31:37 +00:00
The profile can also include the dive computer reported *ceiling* (more
2014-04-21 13:06:28 +00:00
precisely, the deepest deco stop that the dive computer calculated for each
particular moment in time) as a red overlay on the dive profile. Ascent ceilings
arise when a direct ascent to the surface increases
the risk of a diver suffering from decompression sickness (DCS) and it is necessary
to either ascend
2014-03-14 22:31:37 +00:00
slower or to perform decompression stop(s) before ascending to the surface. Not
2013-12-19 08:39:08 +00:00
all dive computers record this information and make it available for download;
for example all of the Suunto dive computers fail to make this very useful data
2014-03-14 22:31:37 +00:00
available to divelog software. _Subsurface_ also calculates ceilings independently,
shown as a green overlay on the dive profile.
Because of the differences in algorithms used
and amount of data available (and other factors taken into consideration at the time
2014-04-21 13:06:28 +00:00
of the calculation) it is unlikely that ceilings from dive computers and from _Subsurface_
are the same, even if the same algorithm and _gradient factors_ (see below) are used.
2013-12-19 08:39:08 +00:00
It is also quite common that _Subsurface_ calculates a ceiling for
non-decompression dives when the dive computer stayed in non-deco mode during
the whole dive (represented by the [green]#dark green# section in the profile
2014-02-13 19:30:05 +00:00
at the beginning of this section). This is caused by the fact that
_Subsurface’ s_
2014-03-14 22:31:37 +00:00
calculations describe the deco obligation at each moment during a dive,
2013-12-19 08:39:08 +00:00
while dive computers usually take the upcoming ascent into account. During the
2014-03-14 22:31:37 +00:00
ascent some excess nitrogen (and possibly helium) are already breathed off so
2014-02-13 19:30:05 +00:00
even
2013-12-19 08:39:08 +00:00
though the diver technically encountered a ceiling at depth, the dive still does
not require an explicit deco stop. This feature allows dive computers to offer
2014-03-14 22:31:37 +00:00
longer non-stop bottom times.
2013-12-03 19:52:08 +00:00
2014-03-14 22:31:37 +00:00
[icon="images/icons/cceiling.jpg"]
[NOTE]
If the dive computer itself calculates a ceiling and makes it available to
_Subsurface_ during upload of dives, this can be
shown as a red area by checking *Dive computer reported ceiling* button on the Profile Panel.
2013-12-03 19:52:08 +00:00
2014-03-14 22:31:37 +00:00
[icon="images/icons/ceiling1.jpg"]
[NOTE]
2014-04-21 13:06:28 +00:00
If the *Calculated ceiling* button on the Profile Panel is clicked, then a ceiling,
calculated by _Subsurface_, is shown in green if it exists for
2014-03-14 22:31:37 +00:00
a particular dive (*A* in figure below). This setting can be modified in two ways:
[icon="images/icons/ceiling2.jpg"]
[NOTE]
If, in addition, the *show all tissues* button on the Profile Panel is clicked, the ceiling is shown for the tissue
compartments following the Bühlmann model (*B* in figure below).
[icon="images/icons/ceiling3.jpg"]
[NOTE]
If, in addition, the *3m increments* button on the Profile Panel is clicked, then the ceiling is indicated in 3 m increments
(*C* in figure below).
image::images/Ceilings2.jpg["Figure: Ceiling with 3m resolution",align="center"]
Gradient Factor settings strongly affect the calculated ceilings and their depths.
For more information about Gradient factors, see the section on xref:S_GradientFactors[Gradient Factor Preference settings]. The
currently used gradient factors (e.g. GF 35/75) are shown above the depth profile if the appropriate toolbar buttons are activated.
*N.B.:* The indicated gradient factors are NOT the gradient factors in use by the dive computer,
but those used by _Subsurface_ to calculate deco obligations
during the dive. For more information external to this manual see:
** http://www.tek-dive.com/portal/upload/M-Values.pdf[Understanding M-values by Erik Baker, _Immersed_ Vol. 3, No. 3.]
** link:http://www.rebreatherworld.com/general-and-new-to-rebreather-articles/5037-gradient-factors-for-dummies.html[Gradient factors for dummies, by Kevin Watts]
2013-12-04 19:18:23 +00:00
2013-12-03 19:52:08 +00:00
2013-12-13 17:51:18 +00:00
=== The Dive Profile context menu
2013-12-12 00:09:04 +00:00
2013-12-19 08:39:08 +00:00
The context menu for the Dive Profile is accessed by right-clicking while the
mouse cursor is over the Dive Profile panel. The menu allows the creation of
Bookmarks or Gas Change Event markers other than the ones that might have been
imported from a Dive Computer. Markers are placed against the depth profile line
and with the time of the event set by where the mouse cursor was when the right
mouse button was initially clicked to bring up the menu. Gas Change events
open a further selection of which gas is being switched to, the list based on
the available gases defined in the Equipment Tab. By right-clicking while over
an existing marker, the menu extends adding options to allow deletion of the
marker or to allow all markers of that type to be hidden. Hidden events can be
2014-01-25 07:49:28 +00:00
restored to view by selecting Unhide all events from the context menu.
2013-12-12 00:09:04 +00:00
2013-12-05 18:52:33 +00:00
=== The *Information Box*
2013-12-19 08:39:08 +00:00
The Information box displays a large range of information pertaining to the dive
profile. Normally the Information Box is located to the top left of the *Dive
Profile* panel. If the mouse points outside of the *Dive Profile* panel, then
only the top line of the Information Box is visible (see left-hand part of
2014-03-14 22:31:37 +00:00
figure (*A*) below). The Information Box can be moved around in the *Dive Profile*
2013-12-19 08:39:08 +00:00
panel by click-dragging it with the mouse so that it is not obstructing
important detail. The position of the Information Box is saved and used again
during subsequent dive analyses.
2013-12-05 18:52:33 +00:00
2013-12-09 20:04:41 +00:00
image::images/InfoBox2.jpg["Figure: Information Box",align="center"]
2013-12-02 06:46:38 +00:00
2014-03-14 22:31:37 +00:00
The moment the mouse points inside the *Dive Profile* panel, the information box expands and
2013-12-19 08:39:08 +00:00
shows many data items. In this situation, the data reflect the time point along
2014-03-14 22:31:37 +00:00
the dive profile indicated by the mouse cursor (see right-hand part of figure (*B*) above
2013-12-19 08:39:08 +00:00
where the Information Box reflects the situation at the position of the cursor
[arrow] in that image). Therefore, moving the cursor in the horizontal
direction allows the Information Box to show information for any point along the
dive profile.
In this mode, the Information Box gives extensive statistics about depth, gas
and ceiling characteristics of the particular dive. These include: Time period
into the dive (indicated by a @), depth, cylinder pressure (P), temperature,
ascent/descent rate, surface air consumption (SAC), oxygen partial pressure,
2014-03-31 18:46:56 +00:00
maximum operating depth, equivalent air depth (EAD), equivalent narcotic depth
2013-12-19 08:39:08 +00:00
(END), equivalent air density depth (EADD), decompression requirements at that
instant in time (Deco), time to surface (TTS), the calculated ceiling, as well
as the calculated ceiling for several Bühlmann tissue compartments.
2013-12-05 18:52:33 +00:00
2014-05-11 00:26:08 +00:00
The user has control over the display of several statistics, represented as four
2014-03-14 22:31:37 +00:00
buttons on the left of the profile panel. These are:
[icon="images/icons/MOD.jpg"]
[NOTE]
Clicking this button causes the Information Box to display the *Maximum Operating Depth
(MOD)* of the dive, given the
gas mixture used. MOD is dependent on the oxygen concentration in the breathing gas.
For air (21% oxygen) it is around 57 m. Below the MOD there is a markedly increased
risk of exposure to the dangers associated with oxygen toxicity.
[icon="images/icons/NDL.jpg"]
[NOTE]
Clicking this button causes the Information Box to display the *No-deco Limit (NDL)* or the
*Total Time to Surface (TTS)*. NDL is the time duration that a diver can continue with a
dive, given the present depth, that does not require decompression (that is, before an
ascent ceiling appears). Once one has exceeded the NDL and decompression is required (that
is, there is an ascent ceiling above the diver, then TTS gives the number of minutes
required before the diver can surface. TTS includes ascent time as well as decompression
time.
[icon="images/icons/SAC.jpg"]
[NOTE]
Clicking this button causes the Information Box to display the *Surface Air Consumption (SAC)*.
SAC is an indication of the surface-normalised respiration rate of a diver. The value of SAC
is less than the real
respiration rate because a diver at 10m uses breathing gas at a rate roughly double that of
the equivalent rate at the surface. SAC gives an indication of breathing gas consumption rate
independent of the depth of the dive so that the respiratory rates of different dives
can be compared. The units for SAC is litres/min or cub ft/min.
[icon="images/icons/EAD.jpg"]
[NOTE]
2014-03-31 18:46:56 +00:00
Clicking this button displays the *Equivalent Air Depth (EAD)* for
nitrox dives as well as the *Equivalent
Narcotic Depth (END)* for trimix dives. These are numbers of
importance to divers who use breathing gases other than air. Their
values are dependent on the composition of the breathing gas. The EAD
is the depth of a hypothetical air dive that has the same partial
pressure of nitrogen as the current depth of the nitrox dive at
hand. A nitrox dive leads to the same decompression obligation as an
air dive to the depth equalling the EAD. The END is the depth of a
hypothetical air dive that has the same sum of partial pressures of
the narcotic gases nitrogen and oxygen as the current trimix dive. A
trimix diver can expect the same narcotic effect as a diver breathing
air diving at a depth equalling the END.
2014-03-14 22:31:37 +00:00
Figure (*B*) above shows an information box with a nearly complete set of data.
2013-12-05 18:52:33 +00:00
== Organising the logbook (Manipulating groups of dives)
2013-12-02 06:46:38 +00:00
2013-12-13 17:51:18 +00:00
=== The Dive List context menu
2013-12-02 06:46:38 +00:00
2014-02-13 19:30:05 +00:00
Many actions within _Subsurface_ are dependent on a context menu used
2013-12-19 08:39:08 +00:00
mostly to manipulate groups of dives. The context menu is found by selecting
a dive or a group of dives and then right-clicking.
2013-12-02 06:46:38 +00:00
2014-02-05 10:05:15 +00:00
image::images/ContextMenu.jpg["Figure: Context Menu",align="center"]
2013-12-02 06:46:38 +00:00
The context menu is used in many manipulations described below.
2013-12-09 20:04:41 +00:00
[[S_Renumber]]
2013-12-02 06:46:38 +00:00
=== Renumbering the dives
2013-12-19 08:39:08 +00:00
Dives are normally numbered incrementally from non-recent dives (low sequence
numbers) to recent dives (having the highest sequence numbers). The numbering
of the dives is not always consistent. For instance, when non-recent dives are
added to the dive list the numbering does not automatically follow on because
2014-03-16 04:34:35 +00:00
of the dives that are more recent in date/time than the newly-added dive with
an older date/time. Therefore, one may sometimes need to renumber the dives.
2014-02-13 19:30:05 +00:00
This is performed by selecting (from the Main Menu) _Log -> Renumber_. Users are
2013-12-19 08:39:08 +00:00
given a choice with respect to the lowest sequence number to be used.
Completing this operation results in new sequence numbers (based on date/time)
for the dives in the *Dive List* panel.
2013-12-02 06:46:38 +00:00
2013-12-09 20:04:41 +00:00
[[S_Group]]
2013-12-05 12:02:24 +00:00
=== Grouping dives into trips and manipulating trips
2013-12-02 06:46:38 +00:00
2014-02-13 19:30:05 +00:00
For regular divers, the dive list can rapidly become very long. _Subsurface_
2013-12-19 08:39:08 +00:00
can group dives into _trips_. It performs this by grouping dives that have
date/times that are not separated in time by more than two days, thus creating
a single heading for each diving trip represented in the dive log. Below is an
2014-02-11 18:51:20 +00:00
ungrouped dive list (*A*, on the left) as well as the corresponding grouped dive
list comprising five dive trips (*B*, on the right):
2013-12-02 06:46:38 +00:00
2013-12-08 15:48:27 +00:00
image::images/Group2.jpg["Figure: Grouping dives",align="center"]
2013-12-02 06:46:38 +00:00
2013-12-19 08:39:08 +00:00
Grouping into trips allows a rapid way of accessing individual dives without
2014-03-16 04:34:35 +00:00
having to scan a long lists of dives. In order to group the dives in a dive list,
(from the Main Menu) users must select _Log -> Autogroup_. The *Dive List* panel
now shows only the titles for the trips.
2013-12-02 06:46:38 +00:00
==== Editing the title and associated information for a particular trip
2013-12-19 08:39:08 +00:00
Normally, in the dive list, minimal information is included in the trip title.
2014-02-13 19:30:05 +00:00
More information about a trip can be added by selecting its trip title from
2014-03-16 04:34:35 +00:00
the *Dive list*. This shows a *Trip Notes* tab in the *Dive Notes* panel. Here
2014-02-13 19:30:05 +00:00
users can add or edit information about the date/time, the trip location and any
other general comments about the trip as a whole (e.g. the dive company that was
2014-03-16 04:34:35 +00:00
dived with, the general weather and surface conditions during the trip, etc.).
After entering this
information, users should select *Save* from the buttons at the top right
of the *Trip Notes*
2013-12-19 08:39:08 +00:00
tab. The trip title in the *Dive List* panel should now reflect some of the
edited information.
2013-12-02 06:46:38 +00:00
2014-03-16 04:34:35 +00:00
==== Viewing the dives during a particular trip
Once when the dives have been grouped into trips, users can expand one or more
trips by clicking the arrow-head on the left of each trip title. This expands
the selected trip, revealing the individual dives performed during the trip.
2013-12-02 06:46:38 +00:00
==== Collapsing or expanding dive information for different trips
2014-02-13 19:30:05 +00:00
If a user right-clicks after selecting a particular trip in the dive list, the
2013-12-19 08:39:08 +00:00
resulting context menu allows several possibilities to expand or collapse dives
within trips. This includes expanding all trips, collapsing all trips and
collapsing all trips except the selected one.
2013-12-02 06:46:38 +00:00
==== Merging dives from more than one trip into a single trip
2014-02-13 19:30:05 +00:00
By right-clicking on a selected trip title in the *Dive List* panel, a
context menu shows up that allows the merging of trips by either merging of the selected trip
2013-12-19 08:39:08 +00:00
with the trip below or with the trip above.
2013-12-02 06:46:38 +00:00
==== Splitting a single trip into more than one trip
2014-02-13 19:30:05 +00:00
If a trip includes five dives, the user can split this trip into two trips (trip 1:
2013-12-19 08:39:08 +00:00
top 3 dives; trip 2: bottom 2 dives) by selecting and right-clicking the top
2014-02-13 19:30:05 +00:00
three dives. The resulting context menu allows the user to create a new trip by
choosing the option *Create new trip above*. The top three dives are then
grouped
2014-03-16 04:34:35 +00:00
into a separate trip. The figures bellow shows the selection and context menu
on the left (A) and
2013-12-19 08:39:08 +00:00
the completed action on the right (B):
2013-12-02 06:46:38 +00:00
2013-12-08 15:48:27 +00:00
image::images/SplitDive3a.jpg["FIGURE: Split a trip into 2 trips",align="center"]
2013-12-02 06:46:38 +00:00
2013-12-25 11:59:56 +00:00
=== Manipulating single dives
2013-12-02 06:46:38 +00:00
2013-12-25 11:59:56 +00:00
==== Delete a dive from the dive log
2013-12-02 06:46:38 +00:00
2013-12-19 08:39:08 +00:00
Dives can be permanently deleted from the dive log by selecting and
right-clicking them to bring up the context menu, and then selecting *Delete
2014-02-13 19:30:05 +00:00
dive(s)*. Typically this would apply to a case where a user wishes to delete
workshop
2013-12-19 08:39:08 +00:00
calibration dives of the dive computer or dives of extremely short duration.
2013-12-02 06:46:38 +00:00
2013-12-25 11:59:56 +00:00
==== Unlink a dive from a trip
2013-12-02 06:46:38 +00:00
2014-02-13 19:30:05 +00:00
Users can unlink dives from the trip to which they belong. In order to do this,
2014-03-16 04:34:35 +00:00
select and right-click
the relevant dives to bring up the context menu. Then select the option *Remove dive(s)
from trip*. The dive(s) now appear immediately above the trip to
2013-12-19 08:39:08 +00:00
which they belonged.
2013-12-02 06:46:38 +00:00
2013-12-25 11:59:56 +00:00
==== Add a dive to the trip immediately above
2013-12-02 06:46:38 +00:00
2013-12-19 08:39:08 +00:00
Selected dives can be moved from the trip to which they belong and placed within
2014-03-16 04:34:35 +00:00
the trip immediately above the currently active trip. To do this, select
2014-02-13 19:30:05 +00:00
and right-click
2014-03-16 04:34:35 +00:00
the dive(s) to bring up the context menu, and then select *Add dive(s) to trip
2013-12-19 08:39:08 +00:00
immediately above*.
2013-12-02 06:46:38 +00:00
2013-12-25 11:59:56 +00:00
==== Shift the start time of dive(s)
2013-12-02 06:46:38 +00:00
2013-12-19 08:39:08 +00:00
Sometimes it is necessary to adjust the start time of a dive. This may apply to
situations where dives are performed in different time zones or when the dive
2014-02-13 19:30:05 +00:00
computer has an erroneous time. In order to do this, user must select and right-click
the dive(s) to be
adjusted. This action brings up the context menu on which the *Shift times*
option should be selected. User must then specify the
time
2013-12-19 08:39:08 +00:00
(in hours and minutes) by which the dives should be adjusted and click on the
option indicating whether the time adjustment should be forwards or backwards.
2013-12-02 06:46:38 +00:00
2013-12-25 11:59:56 +00:00
==== Merge dives into a single dive
2013-12-02 06:46:38 +00:00
2013-12-19 08:39:08 +00:00
Sometimes a dive is briefly interrupted, e.g. if a diver returns to the surface
for a few minutes, resulting in two or more dives being recorded by the dive
2014-02-13 19:30:05 +00:00
computer and appearing as different dives in the *Dive List* panel. Users can
merge these dives onto a single dive by selecting the appropriate dives,
right-clicking them to bring up the context menu and then selecting *Merge selected
2013-12-19 08:39:08 +00:00
dives*. It may be necessary to edit the dive information in the *Dive Notes*
2014-01-25 07:49:28 +00:00
panel to reflect events or conditions that apply to the merged dive. The figure
2013-12-19 08:39:08 +00:00
below shows the depth profile two such dives that were merged:
2013-12-02 06:46:38 +00:00
image::images/MergedDive.png["Example: Merged dive",align="center"]
2013-12-09 20:04:41 +00:00
[[S_ExportLog]]
2013-12-02 06:46:38 +00:00
== Exporting the dive log or parts of the dive log
2014-04-30 16:08:27 +00:00
A dive log can be saved in three formats:
2013-12-02 06:46:38 +00:00
2013-12-06 19:50:35 +00:00
* _Subsurface_ XML format. This is the native format used by _Subsurface_.
2013-12-02 06:46:38 +00:00
2014-03-16 04:34:35 +00:00
* Universal Dive Data format (UDDF). Refer to http://uddf.org for more information.
2013-12-19 08:39:08 +00:00
UDDF is a generic format that enables communication among many dive computers
and computer programs.
2013-12-02 06:46:38 +00:00
2014-04-30 16:08:27 +00:00
* CSV format, that includes the most critical information of the dive
profile. Included information of a dive is: number, date, time,
duration, depth, temperature and pressure.
2014-03-26 09:37:49 +00:00
In order to save the WHOLE dive log (i.e. all trips and dives), select *File*
from the Main menu. To save in _Subsurface_ XML format, select _File -> Save as_.
2014-04-30 16:08:27 +00:00
To save in UDDF format, select _File -> Export UDDF_ and to save in CSV
format, select _File -> Export CSV_.
2013-12-02 06:46:38 +00:00
2014-03-26 09:37:49 +00:00
In order to save only one or more dives or one or two trips, select the
2014-02-13 19:30:05 +00:00
appropriate dives or trips in the *Dive List* panel and then right-click the
2013-12-19 08:39:08 +00:00
selected dives to bring up the context menu. To save in _Subsurface_ XML
2014-04-30 16:08:27 +00:00
format, select _Save as_ from the context menu. To save in UDDF or CSV
format, select _Export as UDDF_ or _Export as CSV_ from the context menu
respectively.
2013-11-19 12:12:15 +00:00
2014-03-26 09:37:49 +00:00
Export to other formats can be achieved through third party facilities, for
instance _www.divelogs.de_.
2013-12-10 09:05:35 +00:00
[[S_PrintDivelog]]
2014-02-13 19:30:05 +00:00
== Printing a dive log
2013-12-10 09:05:35 +00:00
2014-02-13 19:30:05 +00:00
_Subsurface_ provides a simple interface to print a whole dive log or only a
2013-12-19 08:39:08 +00:00
few selected dives, including dive profiles and other contextual information.
2013-12-10 09:05:35 +00:00
2013-12-13 17:51:18 +00:00
Before printing, two decisions are required:
2013-12-10 09:05:35 +00:00
2013-12-19 08:39:08 +00:00
- Should the whole dive log be printed or only part of it? If only part of the
2014-02-13 19:30:05 +00:00
dive log is required, then the user must select the required dives from the *Dive List* panel.
- What gas partial pressure information is required on the dive profile? Users should select
2013-12-19 08:39:08 +00:00
the appropriate information from the Main Menu: _File->Preferences->Graph_.
2013-12-10 09:05:35 +00:00
2014-02-13 19:30:05 +00:00
Now the print options should be selected to match the user's needs. To do this, user should select _File->Print_ from
2013-12-19 08:39:08 +00:00
the Main menu. The following dialogue appears (see the image on the left [A],
2014-01-29 06:04:49 +00:00
below).
2013-12-10 09:05:35 +00:00
2014-02-13 19:30:05 +00:00
Under _Print type_ users need to select one of three options:
2013-12-10 09:05:35 +00:00
2014-02-13 19:30:05 +00:00
- Print the Dive List: to do this, _Table Print_ should be selected.
2013-12-19 08:39:08 +00:00
- Print the full dive records (dive profiles and all other information) at 6
2014-02-13 19:30:05 +00:00
dives per printed page: to do this, users should select _6 dives per page_.
2013-12-19 08:39:08 +00:00
- Print the full dive records (dive profiles and all other information) at 2
2014-02-13 19:30:05 +00:00
dives per printed page: to do this, users should select _2 dives per page_.
2013-12-10 09:05:35 +00:00
2014-02-13 19:30:05 +00:00
Under _Print options_ users need to select:
2013-12-10 09:05:35 +00:00
2013-12-19 08:39:08 +00:00
- Printing only the dives that have been selected from the dive list prior to
activating the print dialogue, achieved by checking the box _Print only
selected dives_.
2013-12-10 09:05:35 +00:00
- Printing in colour, achieved by checking the box with _Print in color_.
2013-12-19 08:39:08 +00:00
The _Ordering_ affects the layout of the page (or part of it) for each dive.
The dive profile could be printed at the top of each dive, with the textual
information underneath, or it could be printed with the textual information at
2014-02-13 19:30:05 +00:00
the top with the dive profile underneath. Users should select the appropriate option in the
print dialogue. See the image on the right (*B*), above which has a layout with
2013-12-19 08:39:08 +00:00
text above the dive profile.
2013-12-10 09:05:35 +00:00
2014-02-13 19:30:05 +00:00
Users can _Preview_ the printed page by selecting the _Preview_ button on the
dialogue. After preview, changes to the options in the print dialogue can be
made, resulting in a layout that fits personal taste.
2013-12-10 09:05:35 +00:00
2014-01-29 06:04:49 +00:00
image::images/PrintDiveLog.jpg["FIGURE: Print dialogue",align="center"]
2014-02-13 19:30:05 +00:00
Next, select the _Print_ button in the dialogue. This activates the regular print
dialogue used by the user operating system (image [*B*] in the middle, above),
allowing them to choose a printer and to set its properties (image [*C*] on the right,
above).
It is important to set the print resolution of the printer to an appropriate value by
changing
the printer properties. Finally, users can print their dives. Below is a (rather small)
example of
2014-01-29 06:04:49 +00:00
the output for one particular page.
image::images/Printpreview.jpg["FIGURE: Print preview page",align="center"]
2013-12-10 09:05:35 +00:00
2013-12-09 20:04:41 +00:00
[[S_Preferences]]
2014-03-23 06:34:54 +00:00
== Setting user _Preferences_ for _Subsurface_
2013-12-04 19:18:23 +00:00
2014-02-13 19:30:05 +00:00
There are several settings within _Subsurface_ that the users can specify. These
2013-12-19 08:39:08 +00:00
are found when selecting _File->Preferences_. The settings are performed in
four groups: *Defaults*, *Units*, *Graph* and *Language*. All four sections
2014-02-13 19:30:05 +00:00
operate on the same principles: the user must specify the settings the are to be changed, then
these changes are saved using the *Apply* button. After applying all the new settings users can then
2013-12-19 08:39:08 +00:00
leave the settings panel by selecting *OK*.
2013-12-04 19:18:23 +00:00
=== Defaults
There are four settings in the *Defaults* panel:
2014-01-29 06:04:49 +00:00
image::images/Preferences1.jpg["FIGURE: Preferences defaults page",align="center"]
2014-02-13 19:30:05 +00:00
** *Lists and tables*: Here one can specify the font type and font size of the
Dive Table panel. By decreasing the font size of the Dive table, users can see more dives on a screen.
2013-12-04 19:18:23 +00:00
2014-04-05 13:54:53 +00:00
** *Dives*: For the _Default Dive File_ one need to specify the directory and
file name of one's
electronic dive log book. This is a file with filename extension .xml. When
2014-02-13 19:30:05 +00:00
launched, _Subsurface_ will then automatically load the specified dive log book.
2013-12-04 19:18:23 +00:00
2014-02-13 19:30:05 +00:00
** *Display invalid*: Dives can be marked as invalid (when a user wishes to hide
dives that he/she don't consider valid dives, e.g. pool dives, but still want to
2013-12-19 08:39:08 +00:00
keep them in the dive log). This controls whether those dives are displayed in
the dive list.
2013-12-04 19:18:23 +00:00
2014-02-13 19:30:05 +00:00
** *Use Default cylinder*: Here users can specify the default cylinder listed in
2013-12-19 08:39:08 +00:00
the *Equipment* tab of the *Dive Notes* panel.
2013-12-04 19:18:23 +00:00
2014-04-05 13:54:53 +00:00
** *Animations*: Some actions in showing the dive profile are performed using
animations. For instance, the axis values for depth and time change from dive to
dive. When viewing a different dive, these changes in axis characteristics do not
happen instantaneously, but are animated. The _Speed_ of animations can be controlled
by setting this slider
with faster animation speed to the left, with a 0 value representing no animation
at all.
2013-12-04 19:18:23 +00:00
=== Units
2014-01-29 06:04:49 +00:00
image::images/Preferences2.jpg["FIGURE: Preferences Units page",align="center"]
2014-02-13 19:30:05 +00:00
Here user can choose between metric and imperial units of depth, pressure,
2013-12-19 08:39:08 +00:00
volume, temperature and mass. By selecting the Metric or Imperial radio button
2014-02-13 19:30:05 +00:00
at the top, users can specify that all units are in the chosen measurement system.
Alternatively, if one selects the *Personalise* radio button, units can be selected
independently, with some units in the metric system and other in the imperial.
2013-12-04 19:18:23 +00:00
=== Graph
2014-01-29 06:04:49 +00:00
image::images/Preferences3.jpg["FIGURE: Preferences Graph page",align="center"]
2014-03-14 22:31:37 +00:00
[[S_GradientFactors]]
2013-12-04 19:18:23 +00:00
This panel allows two type of selections:
2014-02-13 19:30:05 +00:00
* *Show*: Here users can specify the amount of information shown as part of
2013-12-19 08:39:08 +00:00
the dive profile:
2014-02-13 19:30:05 +00:00
** Gas pressure graphs: _Subsurface_ can display the nitrogen, oxygen and the helium partial pressures during
2014-04-05 13:54:53 +00:00
the dive. These are enabled using the toolbar on the left hand side of the *Dive Profile*
panel. For each of these graphs users can specify a threshold value on the right-hand side of the
Preferences panel. If any of the graphs go above this threshold level, the graph is
highlighted in red, indicating that the threshold has been exceeded.
** _draw dive computer reported ceiling red_: This checkbox allows exactly what it says.
Not all dive computers report ceiling values. If the dive computer does report it, it may differ
from the ceilings calculated by Subsurface. This is because of the different algorithms and gradient factors available for calculating ceilings, as well as the dynamic way that a
dive computer can calculate ceilings during a dive.
2013-12-19 08:39:08 +00:00
2014-04-09 06:27:06 +00:00
** _Show non-used cylinders in Equipment Tab_: This checkbox allows display of information about non-used cylinders when viewing the *Equipment Tab*. Conversely, if this box is un-checked, and any cylinders entered using the *Equipment Tab* are not used (e.g. there was no gas switch to such a cylinder), then these cylinders are omitted from that list.
2013-12-19 08:39:08 +00:00
2014-04-05 13:54:53 +00:00
** _show average depth_: Activating this checkbox causes Subsurface to draw a red line across
the dive profile, indicating the mean depth of the dive.
2013-12-04 19:18:23 +00:00
2014-03-14 22:31:37 +00:00
* *Misc*: *Gradient Factors:* Here users can set the _gradient factors_ used while diving. GF_Low is
2014-04-05 13:54:53 +00:00
the gradient factor at depth and GF_High is used just below the surface.
2013-12-19 08:39:08 +00:00
At intermediate depths gradient factors between GF_Low and GF_High are used.
Gradient factors add conservatism to the nitrogen exposure during a dive, in a
similar way that many dive computers have a conservatism setting. The lower
the value of a gradient factor, the more conservative the calculations are with
respect to nitrogen loading and the deeper the ascent ceilings are. Gradient
2014-04-05 13:54:53 +00:00
factors of 20/60 are considered conservative and values of 60/90 are considered
2013-12-19 08:39:08 +00:00
harsh. Checking *GFLow at max depth* box causes GF_Low to be used at the
deepest depth of a dive. For more information see:
2013-12-04 19:18:23 +00:00
2014-04-05 13:54:53 +00:00
** http://www.tek-dive.com/portal/upload/M-Values.pdf[Understanding M-values by Erik Baker, _Immersed_ Vol. 3, No. 3.]
2013-12-04 19:18:23 +00:00
2014-02-13 19:30:05 +00:00
** link:http://www.rebreatherworld.com/general-and-new-to-rebreather-articles/5037-gradient-factors-for-dummies.html[Gradient factors for dummies, by Kevin Watts]
2013-12-09 20:04:41 +00:00
2013-12-12 00:07:51 +00:00
=== Languages
2013-12-19 08:39:08 +00:00
A checkbox allows one to use the _System Default_ language which in most cases
will be the correct setting; with this _Subsurface_ simply runs in the same
language / country settings as the underlying OS. If this is for some reason
2014-02-13 19:30:05 +00:00
undesirable users can uncheck this checkbox and pick a language / country
2013-12-19 08:39:08 +00:00
combination from the list of included localizations.
2013-12-12 00:07:51 +00:00
2014-06-28 16:32:44 +00:00
[[S_LoadImage]]
== The _Subsurface_ Photograph loader
Many (if not most) divers take a camera with them and take photographs
during a dive. One would like to associate each photograph with a specific
dive. _Subsurface_ allows one to load photos into a dive. Photos are superimposed
on the dive profile, from where they can be viewed.
=== Loading photos and getting syncronisation between dive computer and camera
Click on a dive or on a group of dives on the dive list. Then right-click on this
dive or group of dives and choose the option _Load Images_:
image::images/LoadImage1.jpg["FIGURE: Load images option",align="center"]
The system file browser appears. Select the folder and photographs that need
to be loaded into _Subsurface_ and click the _Open_ button.
image::images/LoadImage2.jpg["FIGURE: Load images option",align="center"]
This brings one to the time synchronisation dialog, shown below. The
critical problem is that the time
synchronisation is not perfect between the dive computer used during a dive,
and the camera used during that same dive. These two devices
often differ by several minutes. If _Subsurface_ can achieve synchronisation,
then the exact times of photographs can be used to position photographs on
the dive profile.
_Subsurface_ achieves this synchronisation in two ways:
- *Manually*: If the user wrote down the exact camera time at the start of a dive, the
difference in time between the two devices can be achieved. Actually, as long as the device
settings for time has not been changed in either device, one could write down the times of
both devices after the dive or even at the end of the day. One can then manually set the time
difference in the _Time shift_ dialog. Towards the top of the dialog is a time setting tool
immediately under the heading _Shift times of image(s) by_, evident in figure *A* below.
If the camera time is 7 munutes later than that of the dive computer, set the time setting
tool to a value of 00:07. Ignore any "AM" or "PM" suffix in that tool. Click the _OK_ button
and synchronisation will be achieved. Select either the _earlier_ or _later_ radio button.
In the above example, the _earlier_ option is appropriate, since the photos need to be shifted
7 minutes earlier (camera is 7 minutes ahead of dive computer).
image::images/LoadImage3b.jpg["FIGURE: Synchronisation dialog",align="center"]
- *By photograph*: There is a very slick way of achieving synchronisation. If one takes a
photograph of the face of the dive computer showing the time, then _Subsurface_ can obtain
the exact time the photograph was taken, using the metadata that the camera stores within
each photo. In order to do this, use the bottom half of the Time shift_ dialog. If one uses
the bottom part, the top part of the dialog is ignored. Click on
the horizontal bar entitled "_Select image of divecomputer showing time_. This brings up
a file browser with which one can select the photograph of the dive computer. Select the
photograph using the file browser and click on _OK_. This photograph of the dive computer
appears in the bottom panel of the _Shift times_ dialog. Now _Subsurface_ knows exactly
when the photograph has been taken. Now set the date-time dialog to the left of the photo
so that this tool reflects the date and time of the dive computer in the photo. When the
date-time tool has been set, _Subsurface_ knows axactly what the time difference between
camera and dive computer is, and synchronisation is achieved. The image nelow shows a
photograph with the face of the dive computer and with the date-time tool set to the
date-time on image *B above.
=== Viewing the images
After the images have been loaded, they appear in the _Photos_ tab of the *Dive Notes* panel.
They also appear as tiny icons on the dive profile at the appropriate
positions reflecting the time each photograph was taken. See below:
image::images/LoadImage4.jpg["FIGURE: Photos on dive profile",align="center"]
If one hovers with the mouse over any of the photo icons, then a thumbnail photo
is shown of the appropriate photo. See the image below:
image::images/LoadImage5.jpg["FIGURE:Thumbnail photo on dive profile",align="center"]
If one clicks on the thumbnail, then a full size
photo is shown overlaid onto the _Subsurface_ window. This allows good viewing of
the photographs that have been imported. See below:
image::images/LoadImage6.jpg["FIGURE: Full-screen photo on dive profile",align="center"]
2014-04-05 13:54:53 +00:00
[[S_DivePlanner]]
2014-06-28 16:32:44 +00:00
== The _Subsurface_ dive planner
2014-06-28 07:21:07 +00:00
Dive planning is an advanced feature of _Subsurface_, accessible by selecting _Log -> Plan Dive_ from the main menu. It allows calulation of
nitrogen load during a dive by using the Bühlmann ZH-L16 algorithm with the addition of gradient factors as
implemented by Erik Baker.
****
[icon="images/icons/warning2.png"]
[WARNING]
The _Subsurface_ dive planner IS CURRENTLY EXPERIMENTAL
and assumes the user is already familiar with the _Subsurface_
2014-04-05 13:54:53 +00:00
user interface. It is explicitly used under the following conditions:
- The user is conversant with dive planning and has the necessary training to perform
dive planning.
- The user plans dives within his/her certification limits.
- Dive planning makes large assumptions about the characteristics of the _average person_
and cannot compensate for individual physiology or health or personal history or
life style characteristics.
- The safety of a dive plan depends heavily on the way in which the planner is used.
2014-06-28 07:21:07 +00:00
- The user is familiar with the user interface of _Subsurface_.
2014-04-05 13:54:53 +00:00
- A user who is not absolutely sure about any of the above requirements should not use
this feature.
2014-06-28 07:21:07 +00:00
****
=== The _Subsurface_ dive planner screen
Like the _Subsurface_ dive log, the planner screen is divided into several sections (see image below). The *setup*
parameters for a dive are entered into the several sections on the left hand side of the screen.
The setup is divided into several sections: Available Gases, Rates, Planning, Gas Options and Dive Notes.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
At the top right hand is a green *design panel* upon which the profile of the dive can be
manipulated directly by dragging and clicking as explained below. This feature makes the
_Subsurface_ dive planner unique in ease of use.
At the bottom right is a text panel with a heading of _Dive Plan Deails_. This is where the details of
the dive plan are provided in a way that can easily be copied to other software. This is also where
any warning messages about the dive plan are printed.
image::images/PlannerWindow1.jpg["FIGURE: Dive planner startup window",align="center"]
=== Initiating dive planning
The dive planner comprises two parts: *constructing a dive plan* and *evaluating*
that dive plan. To perform dive planning, perform these steps:
2014-04-05 13:54:53 +00:00
- Clear the existing dive log by creating a new planning log. This achieved by selecting
_File -> New logbook_ from the main menu. This way, dive plans are kept totally separate
from the existing dive log of completed dives.
2014-06-28 07:21:07 +00:00
- In the top left-hand area of the screen, ensure that the constant dive parameters are
appropriate. These are: Start time of the dive, Atmospheric Pressure and Altitude above sea
level of the dive site.
2014-04-05 13:54:53 +00:00
- In the table labeled _Available Gases_, add the information of the cylinders to be used
as well as the gas composition within that cylinder. This is done in a similar way as for
2014-06-28 07:21:07 +00:00
<<S_CylinderData,providing cylinder data for dive logs>>. Choose the cylinder type by
double clicking the cylinder type and using the dropdown list, then specify the work
pressure of this cylinder. By leaving the oxygen concentration (O2%) filed empty,
the dive gas is assumed to be air. Otherwise enter the oxygen and/or helium
concentration in the boxes provided in this dialogue. Add additional cylinders by using the
"+" icon to the top righthand of the dialogue.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
- The dialogue indicating _Dive Planner Points_ is usually not used at this stage of the dive
planning.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
=== Managing nitrogen, oxygen and gas consumption
- The planning is performed in three stages:
** *a) Nitrogen management*: This is performed by specifying the rates for descent and ascent,
as well as the gradient factors (GFLow and GFHigh) under the headings _Rates_ and _Planning_
to the bottom left of the planning screen. Gradient Factor settings strongly affect the calculated ceilings and their depths.
For more information about Gradient factors, see the section on xref:S_GradientFactors[Gradient Factor Preference settings].
For more information external to this manual see:
** link:http://www.tek-dive.com/portal/upload/M-Values.pdf[Understanding M-values by Erik Baker, _Immersed_ Vol. 3, No. 3.]
** link:http://www.rebreatherworld.com/general-and-new-to-rebreather-articles/5037-gradient-factors-for-dummies.html[Gradient factors for dummies, by Kevin Watts]
** link:http://www.amazon.com/Deco-Divers-Decompression-Theory-Physiology/dp/1905492073/ref=sr_1_1?s=books&ie=UTF8&qid=1403932320&sr=1-1&keywords=deco+for+divers[_Deco for Divers_, by Mark Powell (2008). Aquapress, Southend-on-Sea, UK. ISBN 10: 1-905492-07-3.
An excellent non-technical review.]
** The ascent rate is critical for nitrogen off-gassing at the end of the dive and is specified
for several depth ranges, utilising the average (or mean) depth as a yardstick. The mean depth
of the dive plan is indicated on the dive profile in the green panel of the dive planner. Ascent rates
at deeper levels are often in the range of 8-12 m/min, while ascent rates near the surface are
often in the range of 4-9 m/min. The descent rate is also specified. If the option _Drop to first depth_
is actvated, then the descent phase of the planned dive will be at the maximal descent rate specified
in the _Rates_ section of the dive setup.
** *b) Oxygen management*: In the *Gas Options* part of the dive specification, the maximum partial
pressure for oxygen needs to be specified for the
bottom part of the dive (bottom po2) as well as for the decompression part of the dive (deco po2).
The most commonly
used values are 1.4 bar for the bottom part of the dive and 1.5 b ar for any decompression
stages. Normally, a partial pressure of 1.5 bar is not exceeded.
** *c) Gas management*: One needs keep within the limits of the amount of gas contained in the dive
cylinder(s), allowing for an appropriate margin for safe return to the surface, possibly
sharing with a buddy. Undr the _Gas Options_ heading, specify the best (but conservative) estimate
of your surface-equivalent air consumption (SAC, also termed RMV) in litres/min (or cft/min,
determined by the settings of the _Preferences_ tab of _Subsurface_. Specify the SAC during the
bottom part of the dive (bottom SAC) as well as during the decompression or safety stops of the
dive (deco SAC). Values of 20-30 l/min are common. For good gas management, a thumbsuck guess
is not sufficient and one needs to
monitor one's gas consumption on a regular basis, dependent on different dive conditions and/or equipment.
The planner will calculate the total volume of gas used during the dive and will issue a warning
if one exceeds the total amount of gas available. Good practice demands that one does not dive to
the limit of the gas supply but that an appropriate reserve is kept for unforeseen surcumstances.
For technical diving, this reserve can be up to 66% of the total available gas.
- Now (at last) one can start the detailed time-depth planning of the dive. _Subsurface_ offers a unique
graphical interface for performing this part of the planning. The mechanics of doing this is
similar to hand-entering a dive profile in the dive log part of _Subsurface_. Upon activating the
planner, a default dive of depth 15 m for 40 min is offered in the green design surface to the top
right hand of the screen. The white dots (waypoints) on the
profile can be dragged with a mouse. Create more waypoints by double-clicking on the profile
line and ensuring that the profile reflects the intended dive. Drag the waypoints to represent
the depth and duration of the dive.
If any of the management limits (for nitrogen, oxygen or gas) is exceeded, the surface
above the dive profile changes from BLUE to RED.
2014-04-05 13:54:53 +00:00
- Each waypoint on the dive profile creates a _Dive Planner Point_ in the table on the
2014-06-28 07:21:07 +00:00
left of the dive planner panel. Ensure that the _Used Gas_ value in each row
2014-04-05 13:54:53 +00:00
of that table corresponds to one of the gas mixtures specified in the table with
2014-06-28 07:21:07 +00:00
_Available Gases_ immediately above the Dive Planner Points. Add new waypoints
until the main features of the dive have been completed, e.g. the
2014-04-05 13:54:53 +00:00
bottom time segment and deep stops (if these are implemented). Leave the remaining
waypoints on the ascent to _Subsurface_. In most cases _Subsurface_
computes additional way points in order to fulfill decompression requirements for that
2014-06-28 07:21:07 +00:00
dive.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
- Indicate any changes in gas cylinder used by indicating gas changes as explained
in the section <<S_CreateProfile,hand-creating a dive profile>>. These changes should
reflect the cylinders and gas compositions defined in the table with _Available Gases_.
If two or more gases are used, automatic gas switces will be suggested during the ascent to
the surface. However, these changes can be deleted by right-clicking the gas change and by
manually creating a gas change by right-clicking on the appropriate waypoint.
- The waypoints listed in the _Dive Planner Points_ dialogue can be edited by hand in
order to obtain a precise presentation of the dive plan.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
Below is an example of a dive plan to 45m using EAN26, followed by an ascent using EAN50
and using the settings as described above.
image::images/DivePlanner2.jpg["FIGURE: Planning a dive: setup",align="center"]
2014-04-05 13:54:53 +00:00
Once the above has been completed, one can save it by clicking the _Save_ button
2014-06-28 07:21:07 +00:00
towards the bottom left of the green design panel. The saved dive plan will appear
in the *Dive List* panel of _Subsurface_.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
=== The dive plan details
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
On the bottom right of the dive planner, under _Dive Plan Details_, the exact details
of the dive plan are indicated. These details may be modified by checking any of the
options under the _Dive Notes_ section of the dive planner, immediately to the left
of the _Dive Plan Details_. If a _Verbatim diveplan_
is requested, a detailed sentence-level explanation of the dive plan is given. If any
of the management specifications have been exceeded during the planning, a warning
message is printed underneath the dive plan information.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
=== Evaluating the dive plan
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
The dive plan can be evaluated by doing the following:
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
*Nitrogen management*: The dive profile is shown in conjunction with the relevant dive
ceiling. The dive profile
should not come more shallow than the calculated ceiling. This normally taken care of
automatically by the planner and can only be an issue if one made manual modifications
to the dive plan. The partial gas pressures selected for
display are indicated as graphs below the dive profile.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
*Oxygen management*: If
any of the gases exceed the specified oxygen partial pressures, the appropriate segments of the
dive profile are highlighted in red. Ensure that the oxygen partial pressures in the graph below
the profile do not exceed the values specified in the settings under _Gas Options_. Normally,
there must be good motivation for exceeding an oxygen partial pressure of 1.5.
2014-04-05 13:54:53 +00:00
2014-06-28 07:21:07 +00:00
*Gas management*: The _Dive Plan Details_ text provides the amount of gas required to fulfill
the envisaged dive plan. The foreseen gas pressures in the cylinder(s) are indicated in the graph
over the dive profile. Ensure that the gas cylinders defined in the _Available Gases_ dialog
can hold enough gas for the dive plan. Moreover, ENSURE SUFFICIENT RESERVE GAS.
2014-04-05 13:54:53 +00:00
2014-05-11 00:26:08 +00:00
Below is the dive plan completed in the previous figure which can now be evaluated
2014-04-05 13:54:53 +00:00
against the ceiling (determined by the gradient factors) as well as against the
maximum gas partial pressures. Notice the plan is deficient in terms of gas planning:
there is no provision for any reserve gas.
image::images/Planner2.jpg["FIGURE: Planning a dive: evaluation",align="center"]
2014-06-28 16:32:44 +00:00
=== Planning for repetitive dives
Repetitive dives can easily be planned if the start times of the repetitive dive set
is specified appropriately in the top left-hand _Start Time_ field. _Subsurface_
calculates the gas loading figures correctly and the effect of the first dive is
evaluated on later dives.
2013-12-09 20:04:41 +00:00
== Description of the Subsurface Main Menu items
2013-12-19 08:39:08 +00:00
This section describes the functions and operation of the items in the Main Menu
of Subsurface. Several of the items below are links to sections of this manual
dealing with the appropriate operations.
2013-12-09 20:04:41 +00:00
=== File
2013-12-19 08:39:08 +00:00
- <<S_NewLogbook,_New Logbook_>> - Close the currently open dive logbook and
clear all dive information.
- _Open logbook_ - This opens the file manager in order to select a dive
logbook to open.
2013-12-09 20:04:41 +00:00
- _Save_ - Save the dive logbook that is currently open.
2013-12-19 08:39:08 +00:00
- _Save as_: - Save the current logbook or the currently selected dives within
the present logbook under a different filename.
2013-12-14 00:25:17 +00:00
- _Close_ - Close the dive logbook that is currently open.
2013-12-19 08:39:08 +00:00
- <<S_ExportLog,_Export UDDF_>> - Export the currently open dive logbook (or
the selected dives in the logbook) in UDDF format.
2014-04-05 13:54:53 +00:00
- _Export HTML World Map_ - Export the currently open dive logbook locations
2014-04-09 06:27:06 +00:00
in HTML format and draw these on a world map. The dive notes and some other information
about each dive can be viewed by hovering over each dive location.
2013-12-10 09:05:35 +00:00
- <<S_PrintDivelog,_Print_>> - Print the currently open logbook.
2013-12-09 20:04:41 +00:00
- <<S_Preferences,_Preferences_>> - Set the _Subsurface_ preferences.
- _Quit_ - Quit _Subsurface_.
=== Import
2013-12-19 08:39:08 +00:00
- <<S_ImportDiveComputer,_Import from dive computer_>> - Import dive information
from a dive computer.
2014-04-05 13:54:53 +00:00
- <<Unified_import,_Import Log Files_>> - Import dive information from a file in
2014-02-11 18:51:20 +00:00
in a _Subsurface_-compatible format.
2013-12-19 08:39:08 +00:00
- <<S_Companion,_Import GPS data from Subsurface Service_>> - Load GPS
coordinates from the _Subsurface_ mobile phone app.
- <<S_ImportingDivelogsDe,_Import from Divelogs.de_>> - Import dive information
from _www.Divelogs.de_.
2013-12-09 20:04:41 +00:00
=== Log
2013-12-10 09:05:35 +00:00
- <<S_EnterData,_Add Dive_>> - Manually add a new dive to the *Dive List* panel.
2014-02-13 19:30:05 +00:00
- <<S_Renumber,_Renumber_>> - Renumber the dives listed in the *Dive List*
panel.
2014-04-05 13:54:53 +00:00
-_Plan Dive_ - This experimental feature allows planning of simple dives.
2013-12-19 08:39:08 +00:00
- <<S_Group,_Auto Group_>> - Group the dives in the *Dive List* panel into dive
trips.
2013-12-09 20:04:41 +00:00
- _Edit Device Names_ - Edit the names of dive computers.
=== View
2013-12-19 08:39:08 +00:00
- <<S_ViewPanels,_All_>> - View the four main _Subsurface_ panels
simmultaneously.
2013-12-09 20:04:41 +00:00
- <<S_ViewPanels,_Dive List_>> - View only the *Dive List* panel.
- <<S_ViewPanels,_Profile_>> - View only the *Dive Profile* panel.
- <<S_ViewPanels,_Info_>> - View only the *Dive Notes* panel.
- <<S_ViewPanels,_Globe_>> - View only the *World Map* panel.
2013-12-19 08:39:08 +00:00
- _Yearly Statistics_ - Display summary statistics about dives during the last
year.
2013-12-09 20:04:41 +00:00
- _Prev DC_ - Switch to next dive computer.
- _Next DC_ - Switch to previous dive computer.
2014-01-15 08:00:29 +00:00
- _Full Screen_ - Toggles Full Screen mode.
2013-12-09 20:04:41 +00:00
=== Filter
- _Select Events_ - This option is not implemented yet.
=== Help
2013-12-19 08:39:08 +00:00
- _About Subsurface_ - Show a panel with the version number of _Subsurface_ as
well as licensing information.
2014-04-05 13:54:53 +00:00
- _Check for updates_ - Find out whether a newer version of Subsurface is available
on the http://subsurface.hohndel.org/[_Subsurface_ web site].
2013-12-09 20:04:41 +00:00
- _User Manual_ - Open a window showing this user manual.
2013-12-08 11:35:37 +00:00
2013-12-06 18:09:55 +00:00
== APPENDIX A: Operating system specific information for importing dive information from a dive computer.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
=== Make sure that the OS has the required drivers installed
2013-12-02 06:46:38 +00:00
[icon="images/icons/drivers.jpg"]
[NOTE]
2014-02-13 19:30:05 +00:00
The operating system of the desktop computer needs the appropriate drivers in
order to communicate with the dive computer in whichever way the dive
2013-12-19 08:39:08 +00:00
computer prefers (e.g. bluetooth, USB, infrared).
2013-11-19 12:12:15 +00:00
2014-03-26 09:37:49 +00:00
* On Linux users need to have the correct kernel
module loaded. Most distributions will do this automatically, so the
2014-04-05 13:54:53 +00:00
user does not need to load kernel modules. However, some communication
protocols require an additional driver, especially for rarely used
technology such as infrared.
2013-11-19 12:12:15 +00:00
* On Windows, the OS should offer to download the correct
2014-03-26 09:37:49 +00:00
driver once the user connects the dive computer to the USB port and
operating system sees the equipment for the first time.
2013-11-19 12:12:15 +00:00
2014-02-13 19:30:05 +00:00
* On a Mac users sometimes have to manually hunt for the correct
2013-11-19 12:12:15 +00:00
driver. For example the correct driver for the Mares Puck
2014-03-26 09:37:49 +00:00
devices or any other dive computer using a USB-to-serial interface
based on the Silicon Labs CP2101 or similar chip can be found as
_Mac_OSX_VCP_Driver.zip_ at the
http://www.silabs.com/support/pages/document-library.aspx?p=Interface&f=USB%20Bridges&pn=CP2101[Silicon Labs document and software repository].
2013-02-18 20:27:25 +00:00
[[S_HowFindDeviceName]]
2014-01-29 06:04:49 +00:00
=== How to Find the Device Name for USB devices and set its write permission
2013-12-02 06:46:38 +00:00
[icon="images/icons/usb.jpg"]
[NOTE]
2014-02-13 19:30:05 +00:00
When a user connects the dive computer by using a USB connector, usually
2013-12-13 17:51:18 +00:00
_Subsurface_ will either propose a drop down list that contains the
2013-05-14 23:52:55 +00:00
correct device name (or mount point for the Uemis Zurich), or it will
2013-11-19 12:12:15 +00:00
disable the device select drop down if no device name is needed at
2014-02-13 19:30:05 +00:00
all. In the rare cases where this doesn't work, here are some
instructions on ways to find out what the device name is:
2013-02-18 20:27:25 +00:00
2013-02-26 20:30:45 +00:00
.On Windows:
2013-12-19 08:39:08 +00:00
Simply try COM1, COM2, etc. The drop down list should contain all connected COM
devices.
2013-02-26 20:30:45 +00:00
.On MacOS:
The drop down box should find all connected dive computers.
2013-02-18 20:27:25 +00:00
.On Linux:
2014-03-26 09:37:49 +00:00
There is a definitive way to find the port:
2013-05-13 18:22:41 +00:00
2014-02-13 19:30:05 +00:00
- Disconnect the USB cable from the dive computer
2013-02-18 20:27:25 +00:00
- Open a terminal
- Type the command: 'dmesg' and press enter
2014-02-13 19:30:05 +00:00
- Plug in the USB cable of the dive computer
2013-02-18 20:27:25 +00:00
- Type the command: 'dmesg' and press enter
2014-03-26 09:37:49 +00:00
A message similar to this one should appear:
2013-02-18 20:27:25 +00:00
usb 2-1.1: new full speed USB device number 14 using ehci_hcd
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected
usb 2-1.1: Detected FT232BM
usb 2-1.1: Number of endpoints 2
usb 2-1.1: Endpoint 1 MaxPacketSize 64
usb 2-1.1: Endpoint 2 MaxPacketSize 64
usb 2-1.1: Setting MaxPacketSize 64
usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB3
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
2014-03-26 09:37:49 +00:00
The third line from the bottom shows that the FTDI USB adapter is
detected and connected to +ttyUSB3+. This information can now be used in
the import settings as +/dev/ttyUSB3+ which directs Subsurface to the correct
2014-02-13 19:30:05 +00:00
USB port.
2014-01-29 06:04:49 +00:00
2014-03-26 09:37:49 +00:00
Ensuring that the user has write permission to the USB serial port:
2014-01-29 06:04:49 +00:00
2014-02-13 19:30:05 +00:00
On Unix-like operating systems the USB ports can only be accessed by users who
are members
of the +dialout+ group. If one is not root, one may not be a member of
that group and
will not be able to use the USB port. Let us assume one's username is 'johnB'.
2014-01-29 06:04:49 +00:00
2014-03-26 09:37:49 +00:00
- As root, type: +usermod -a -G dialout johnB+ (Ubuntu users: +sudo usermod
-a -G dialout johnB+)
2014-01-29 06:04:49 +00:00
This makes johnB a member of the +dialout+ group.
2014-02-13 19:30:05 +00:00
- Type: +id johnB+ This lists all the groups that johnB belongs to and
verifies that
the appropriate group membership has been created. The +dialout+ group should
be listed
2014-01-29 06:04:49 +00:00
among the different IDs.
2014-02-13 19:30:05 +00:00
With the appropriate device name (e.g. +dev/ttyUSB3+) and with write permission
to the USB
port, the dive computer interface can connect and one should be able to import
dives.
2013-02-18 20:27:25 +00:00
2013-02-26 18:04:09 +00:00
[[S_HowFindBluetoothDeviceName]]
2013-11-19 12:12:15 +00:00
=== Setting up bluetooth enabled devices
2013-12-02 06:46:38 +00:00
[icon="images/icons/bluetooth.jpg"]
[NOTE]
2013-02-26 18:04:09 +00:00
For dive computers communicating through bluetooth like the Heinrichs
Weikamp Frog or the Shearwater Predator and Petrel there is a
different procedure to get the devices name to communicate with
2014-03-26 09:37:49 +00:00
_Subsurface_. Follow these steps:
* *For the dive computer, after enabling Bluetooth, ensure it is in Upload mode.*
2013-02-26 18:04:09 +00:00
2014-03-26 09:37:49 +00:00
For Bluetooth pairing of the dive computer, refer to the
manufacturer's user guide. When using a Shearwater Predator/Petrel, select
_Dive Log -> Upload Log_ and wait for the _Wait PC_ message.
2013-02-26 18:04:09 +00:00
2014-03-26 09:37:49 +00:00
* *Pair the _Subsurface_ computer with the dive computer.*
2013-02-26 20:30:45 +00:00
.On Windows:
2014-03-26 09:37:49 +00:00
Bluetooth is most likely already enabled. For pairing with the dive computer choose
_Control Panel->Bluetooth Devices->Add Wireless Device_.
2013-02-26 20:30:45 +00:00
This should bring up a dialog showing your dive computer (in Bluetooth mode) and
2014-03-26 09:37:49 +00:00
allowing pairing. Right click on it and choose _Properties->COM
Ports_ to identify the port used for your dive computer. If there are several
2013-12-19 08:39:08 +00:00
ports listed, use the one saying "Outgoing" instead of "Incoming".
2013-02-26 20:50:39 +00:00
2014-03-26 09:37:49 +00:00
For downloading to _Subsurface_, the _Subsurface_ drop-down list should contain
this COM port already. If not, enter it manually.
2013-02-26 20:30:45 +00:00
2014-03-26 09:37:49 +00:00
Note: If there are issues afterwards downloading from the dive computer using
other software, remove the existing pairing with the dive computer.
2013-02-26 20:30:45 +00:00
.On MacOS:
2014-03-26 09:37:49 +00:00
Click on the Bluetooth symbol in the menu bar and select _Set up
Bluetooth Device..._. The dive computer should then show up in the list of devices. Select it and go
2013-02-28 15:43:31 +00:00
through the pairing process. This step should only be needed once for
initial setup.
2014-03-26 09:37:49 +00:00
Once the pairing is completed the correct device is shown in the
'Device or Mount Point' drop-down in the _Subsurface_ *Import* dialog.
2013-02-26 20:30:45 +00:00
.On Linux
2014-03-26 09:37:49 +00:00
Ensure Bluetooth is enabled on the _Subsurface_ computer.
On most common distributions this should be true out of the box and
pairing should be straight forward. For instance, Gnome3 shows a
Bluetooth icon in the upper right corner of the desktop where one selects 'Set
2014-02-13 19:30:05 +00:00
up New Device'. This should show a dialog where one can select the
2014-03-26 09:37:49 +00:00
dive computer (which already should be in Bluetooth mode) and pair it.
If a PIN is required, try manually setting '0000'.
In the rare cases where the above is not true, then
depending on your system, try +initd+ or +systemd+. This might be different
and also involve loading modules specific to your hardware. In case your system
is running +systemd+, manually run +systemctl start bluetooth.service+ to
enable it, in case of +initd+, run something like +rc.config start bluetoothd+ or
+/etc/init.d/bluetooth start+.
2013-02-26 18:04:09 +00:00
2014-02-13 19:30:05 +00:00
One may also use a manual approach by using such commands:
2013-02-26 18:04:09 +00:00
2014-03-26 09:37:49 +00:00
* +hciconfig+ shows the Bluetooth devices available on your
2014-02-13 19:30:05 +00:00
computer (not dive computer), most likely one will see a hci0, if not
2014-03-26 09:37:49 +00:00
try +hcitool -a+ to see inactive devices and run +sudo
hciconfig hci0 up+ to bring them up.
2013-02-26 18:04:09 +00:00
2014-03-26 09:37:49 +00:00
* +hcitool scanning+ gets a list of bluetooth enabled
2014-02-13 19:30:05 +00:00
client devices, look for the dive computer and remember the MAC
2014-03-26 09:37:49 +00:00
address are shown there
2013-02-26 18:04:09 +00:00
2014-03-26 09:37:49 +00:00
* +bluez-simple-agent hci0 10:00:E8:C4:BE:C4+ pairs
2014-02-13 19:30:05 +00:00
the dive computer with the bluetooth stack of the _Subsurface_ computer, copy/paste
2013-02-26 18:04:09 +00:00
the MAC address from the output of 'hcitool scanning'
2013-12-05 12:02:24 +00:00
Unfortunately on Linux binding to a communication device has to be done
2013-02-26 20:30:45 +00:00
manually by running:
2013-02-26 18:04:09 +00:00
2014-03-26 09:37:49 +00:00
* +rfcomm bind /dev/rfcomm0 10:00:E8:C4:BE:C4+ binds the dive
2014-02-13 19:30:05 +00:00
computer to a communication device in the desktop computer, in case rfcomm is
2014-03-26 09:37:49 +00:00
already taken use rfcomm1 or up. IMPORTANT: Copy/paste the MAC address
from the output of +hcitool scanning+, the MAC address shown above will not
2014-02-13 19:30:05 +00:00
work.
2013-02-26 18:04:09 +00:00
2014-03-26 09:37:49 +00:00
For downloading dives in _Subsurface_ specify the device name connected to the MAC
address in the last step above, e.g. _/dev/rfcomm0_.
First try at converting user-manual to AsciiDoc
You can do "make doc" in the main directory to create the html version,
and if you want to play around with it, do "make show" in the
Documentation subdirectory to start firefox on the end result.
It's by no means perfect, but it gives somewhat reasonable results, and
this is enough initial work for people to play around with, I think.
NOTE! You need "asciidoc" installed to do this: it's a python program,
so it should be pretty easy even on non-Linux platforms. And on Linux,
most distributions package it, so you just have to do something like
yum install asciidoc
to get it (replace with apt-get/zypper/whatever).
Asciidoc can generate other output too (man-pages, LaTeX, etc), maybe
people want to play with that part too.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-01 23:12:28 +00:00
2014-03-26 09:37:49 +00:00
== APPENDIX B: Dive Computer specific information for importing dive information.
2013-02-16 21:48:56 +00:00
2013-11-19 12:12:15 +00:00
[[S_ImportUemis]]
=== Import from a Uemis Zurich
2013-02-25 17:23:39 +00:00
2013-12-02 06:46:38 +00:00
[icon="images/icons/iumis.jpg"]
[NOTE]
2014-03-26 09:37:49 +00:00
_Subsurface_ downloads the information
stored on the SDA (the built-in file system of the Uemis) including
information about dive spots and
equipment. Buddy information is not yet downloadable.
Things are very similar to a normal USB-connected dive computer
(the Uemis is one of those that recharge when connected to the USB port).
The main difference is that one does not enter a
2013-11-19 12:12:15 +00:00
device name, but instead the location where the UEMISSDA file system is
2014-03-26 09:37:49 +00:00
mounted once connected to the dive computer. On Windows this is a drive letter (
2013-12-19 08:39:08 +00:00
often 'E:' or 'F:'), on a Mac this is
2013-11-19 12:12:15 +00:00
'/Volumes/UEMISSDA' and on Linux systems this differs depending on the
2014-02-13 19:30:05 +00:00
distribution. On Fedora it usually is
2013-12-13 17:51:18 +00:00
'/var/run/media/<your_username>/UEMISSDA'. In all cases _Subsurface_
2013-11-19 12:12:15 +00:00
should suggest the correct location in the drop down list.
2013-03-03 23:56:52 +00:00
2014-03-26 09:37:49 +00:00
After selecting the above device name, download the
2013-11-19 12:12:15 +00:00
dives from the Uemis Zurich. One technical issue with the Uemis Zurich
2014-03-26 09:37:49 +00:00
download implementation (this is a Uemis firmware limitation, not a
2014-02-13 19:30:05 +00:00
_Subsurface_ issue) is that one cannot download more than about 40-50
2013-11-19 12:12:15 +00:00
dives without running out of memory on the SDA. This will usually only
2014-03-26 09:37:49 +00:00
happen the very first time one downloads dives from the Uemis Zurich.
Normally when downloading at the end of a day or even after a dive
2013-12-13 17:51:18 +00:00
trip, the capacity is sufficient. If _Subsurface_ displays an error
2013-11-19 12:12:15 +00:00
that the dive computer ran out of space the solution is straight
forward. Disconnect the SDA, turn it off and on again, and reconnect
it. You can now retry (or start a new download session) and the
2014-02-13 19:30:05 +00:00
download will continue where it stopped previously. One
may have to do this more than once, depending on how many dives are
stored on the dive computer.
2013-03-03 23:56:52 +00:00
2014-04-05 13:54:53 +00:00
[[S_ImportingGalileo]]
=== Importing dives from the Uwatec Galileo
[icon="images/icons/Galileo.jpg"]
[NOTE]
The Uwatec Galileo dive computers use infra red (IrDA) communication
between the dive computer and Subsurface. The Uwatec hardware uses
a USB dongle based on the serial infra-red (SIR) protocol and the
MSC7780 IrDA controller manufactured by MosChip
and marketed by Scubapro and some electronics companies.
Under Linux, the kernel
already provides for communication using the IrDA protocol. However,
the user additionally needs to load a driver for the IrDA interface
with the dive computer. The easiest way is to load the *irda-tools*
package from the http://irda.sourceforge.net/docs/startirda.html[Linux IrDA Project].
2014-04-21 13:06:28 +00:00
After the installation of the irda-tools, the *root user* can specify a device name
2014-04-05 13:54:53 +00:00
from the console as follows:
+irattach irda0+
After executing this command, Subsurface will recognise the Galileo
dive computer and download dive information.
Under Windows, a similar situation exists. Drivers for the MCS7780 are
available from some Internet web sites e.g.
http://www.drivers-download.com/Drv/MosChip/MCS7780/[www.drivers-download.com].
For the Apple Mac, IrDA communication via the MCS7780 link is not
available for OSX 10.6 or higher.
2013-12-13 17:51:18 +00:00
[[S_ImportingDR5]]
=== Importing dives from Heinrichs Weikamp DR5
[icon="images/icons/HW_DR5.jpg"]
[NOTE]
2013-12-19 08:39:08 +00:00
When mounted as a USB drive the Heinrichs Weikamp DR5 saves a single UDDF file
for every dive.
2013-12-13 17:51:18 +00:00
Mark all the dives you'd like to import or open.
2013-12-19 08:39:08 +00:00
Note: The DR5 does not seem to store gradient factors nor deco information, so
for _Subsurface_ it is not possible to display them. Adjust the gradient
2014-03-26 09:37:49 +00:00
factors in the _Tec Settings_ in _Subsurface_ to generate a deco overlay in the
_Subsurface_ *Dive Profile* panel but please note that the deco calculated by
_Subsurface_ will most likely differ from the one displayed on the DR5.
2013-12-13 17:51:18 +00:00
2014-03-26 09:37:49 +00:00
=== Import from Shearwater Predator using Bluetooth
2013-03-03 23:56:52 +00:00
2013-12-02 06:46:38 +00:00
[icon="images/icons/predator.jpg"]
[NOTE]
2014-03-26 09:37:49 +00:00
Using a Shearwater Predator one may be able to pair Bluetooth but then encounter
2014-02-13 19:30:05 +00:00
issues when downloading, showing errors like _Slip RX: unexp. SLIP END_ on the
Predator.
2014-03-26 09:37:49 +00:00
This might also arise when using other dive log software and operating
systems other than Linux. We have no detailed idea about the source and how to fix
2013-11-19 12:12:15 +00:00
this, but it is reported to be solved sometimes by one of these steps:
2013-03-03 23:56:52 +00:00
2014-03-26 09:37:49 +00:00
* use the Bluetooth dongle which came with the Shearwater Predator instead of
the built-in one of the _Subsurface_ computer
* switch to different Bluetooth drivers for the same hardware
2013-11-19 12:12:15 +00:00
* switch off WiFi while using Bluetooth
2014-02-07 08:47:16 +00:00
== APPENDIX C: Exporting Dive log information from external dive log software.
2014-02-13 19:30:05 +00:00
The import of dive log data from external dive log software is mostly performed
using
2014-02-07 08:47:16 +00:00
the dialogue found by selecting _Import_ from the Main Menu, then clicking on
2014-02-13 19:30:05 +00:00
_Import Log Files_. This is a single-step process, more information about which
can be found
2014-02-07 08:47:16 +00:00
xref:Unified_import[here.]
However, in some cases, a two-step process may be required:
2014-05-11 00:26:08 +00:00
1. Export the foreign dive log data to format that is accessible from
2014-02-13 19:30:05 +00:00
_Subsurface_.
2014-04-29 10:40:59 +00:00
2. Import the accessible dive log data into _Subsurface_.
2014-02-07 08:47:16 +00:00
2014-02-13 19:30:05 +00:00
This appendix provides some information about approaches to export dive log
data from foreign
2014-02-07 08:47:16 +00:00
dive log software. The procedures below mostly apply to Linux and/or Windows.
[[S_ImportingDivesSuunto]]
2014-02-11 18:51:20 +00:00
=== Exporting dives from *Suunto Divemanager (DM3 and DM4)*
[icon="images/icons/suuntologo.jpg"]
[NOTE]
Divemanager 3 (DM3) is an older version of the Suunto software. More recent
Suunto dive computers use Divemanager 4 (DM4). The
two versions of Divemanager use different methods and different file naming
conventions to export dive log data.
*Divemanager 3 (DM3):*
2014-02-07 08:47:16 +00:00
2014-04-29 10:40:59 +00:00
1. Start 'Suunto Divemanager 3' and log in with the name containing the logs
2. Do not start the import wizard to import dives from the dive computer.
3. In the navigation tree on the left side of the program-window, select the appropriate
2014-02-07 08:47:16 +00:00
dives.
2014-04-29 10:40:59 +00:00
4. Within the list of dives, select the dives you would like to import later:
2014-02-07 08:47:16 +00:00
* To select certain dives: hold 'ctrl' and click the dive
2014-02-13 19:30:05 +00:00
* To select all dives: Select the first dive, hold down shift and
select the
2014-02-07 08:47:16 +00:00
last dive
2014-04-29 10:40:59 +00:00
5. With the dives marked, use the program menu _File -> Export_
6. The export pop-up will show. Within this pop-up, there is one field called 'Export Path'.
2014-02-07 08:47:16 +00:00
* Click the browse button next to the field Export Path
** A file-manager like window pops up
2014-02-13 19:30:05 +00:00
** Navigate to the directory or storing the
Divelog.SDE file
** Optionally change the name of the file for saving
2014-02-07 08:47:16 +00:00
** Click 'Save'
2014-02-13 19:30:05 +00:00
* Back in the Export pop-up, press the button 'Export'
2014-04-29 10:40:59 +00:00
7. The dives are now exported to the file Divelogs.SDE.
2014-02-07 08:47:16 +00:00
2014-02-11 18:51:20 +00:00
*Divemanager 4 (DM4):*
2014-02-07 08:47:16 +00:00
2014-03-26 09:37:49 +00:00
To export divelog from 'Suunto DM4', one needs to locate the DM4 database
2014-02-13 19:30:05 +00:00
where the dives are stored. the user can either look for the original
2014-03-26 09:37:49 +00:00
database or make a backup of the dives. Both methods are described here.
2014-02-07 08:47:16 +00:00
Locating the Suunto DM4 database:
2014-04-29 10:40:59 +00:00
1. Start Suunto DM4
2. Select 'Help -> About'
3. Click 'Copy' after text 'Copy log folder path to clipboard'
4. Now open Windows Explorer
5. Paste the address to the path box at the top of the File Explorer
6. The database is called DM4.db
2014-02-07 08:47:16 +00:00
Backing up Suunto DM4:
2014-04-29 10:40:59 +00:00
1. Start Suunto DM4
2. Select 'File - Create backup'
3. From the file menu select the location and name for the backup, we'll
2014-02-07 08:47:16 +00:00
use DM4 in here with the default extension .bak
2014-04-29 10:40:59 +00:00
4. Click 'Save'
5. The dives are now exported to the file DM4.bak
2014-02-07 08:47:16 +00:00
=== Exporting from Mares Dive Organiser V2.1
[[Mares_Export]]
2014-02-11 18:51:20 +00:00
[icon="images/icons/mareslogo.jpg"]
[NOTE]
Mares Dive Organiser is a Microsoft application. The dive log is kept as a
2014-03-26 09:37:49 +00:00
Microsoft SQL Compact Edition data base with a '.sdf' filename extension. The
2014-02-07 08:47:16 +00:00
data base includes all Dive Organiser-registered divers on the particular
2014-02-11 18:51:20 +00:00
computer and all Mares dive computers used. The safest way to obtain a copy
2014-02-13 19:30:05 +00:00
of the dive data base is to export the information to another compatible format
2014-02-07 08:47:16 +00:00
which can be imported into _Subsurface_.
2014-04-29 10:40:59 +00:00
1. Within Dive Organiser, select
2014-02-13 19:30:05 +00:00
_Database -> Backup_ from the main menu and back up the data base to the desk
top.
2014-02-07 08:47:16 +00:00
This creates a zipped file DiveOrganiserxxxxx.dbf.
2014-04-29 10:40:59 +00:00
2. Rename the file to
2014-02-13 19:30:05 +00:00
DiveOrganiserxxxxx.zip. Inside the zipped directory is a file
_DiveOrganiser.sdf_.
2014-04-29 10:40:59 +00:00
3. Extract the _.sdf_ file from the zipped folder to your Desktop.
2014-02-07 08:47:16 +00:00
[[S_ImportingDivinglog]]
=== Exporting dives from *DivingLog 5.0*
2014-02-11 18:51:20 +00:00
[icon="images/icons/divingloglogo.jpg"]
[NOTE]
2014-02-07 08:47:16 +00:00
Unfortunately DivingLog XML files give us no
2014-02-13 19:30:05 +00:00
indication on the preferences set on one's system. So in order for
2014-02-07 08:47:16 +00:00
_Subsurface_ to be able to successfully import XML files from DivingLog
2014-02-13 19:30:05 +00:00
one first needs to ensure that DivingLog is configured
2014-03-26 09:37:49 +00:00
to use the Metric system (one can easily change this within Diving Log by
selecting 'File -> Preferences -> Units and Language' by clicking the 'Metric'
2014-02-07 08:47:16 +00:00
button). Then do the following:
2014-04-29 10:40:59 +00:00
1. In Divinglog open the 'File -> Export -> XML' menu
2. Select the dives to export
3. Click on the export button and select the filename
2014-02-13 19:30:05 +00:00
== APPENDIX D: FAQs.
=== Subsurface appears to miscalculate gas consumption and SAC
[[SAC_CALCULATION]]
2014-03-26 09:37:49 +00:00
'Question': I dived with a 12.2 l tank, starting with 220 bar and ending with 100 bar, and I calculate a different SAC compared what _Subsurface_ calculates. Is _Subsurface_
miscalculating?
'Answer': Not really. What happens is that _Subsurface_ actually calculates gas
2014-02-13 19:30:05 +00:00
consumption differently - and better - than you expect.
In particular, it takes the incompressibility of the gas into account.
Traditionally, Gas consumption and SAC should be:
+consumption = tank size x (start pressure - end pressure)+
and that's true for an ideal gas, and it's what you get taught in dive theory.
But an "ideal gas" doesn't actually exist, and real gases actually don't compress
linearly with pressure. Also, you are missing the fact that one atmosphere of
pressure isn't actually one bar.
So the *real* calculation is:
+consumption = (amount_of_air_at_beginning - amount_of_air_at_end)+
where the amount of air is *not* just "tank size times pressure in bar".
It's a combination of: "take compressibility into account" (which is a fairly
small issue under 220 bar - you'll see more differences when you do high-pressure
tanks with 300bar) and "convert bar to atm" (which is the majority of your discrepancy).
Remember: one ATM is ~1.013 bar, so without the compressibility, your gas use is:
+12.2*((220-100)/1.013)+
which is about 1445, not 1464. So there was 19 l too much in your simple
calculation that ignored the difference between 1 bar and one ATM.
The compressibility does show up above 200 bar, and takes that 1445 down
about eight liters more, so you really did use only about 1437 l of air at surface pressure.
So be happy: your SAC really is better than your calculations indicated.
Or be sad: your cylinder contains less air than you thought it did.
And as mentioned, the "contains less air than you thought it did" really
starts becoming much more noticeable at high pressure. A 400 bar really does not
contain twice as much air as a 200 bar one. At lower pressures, air acts pretty much like an ideal gas.
2014-05-11 00:26:08 +00:00
=== Some dive profiles have time discrepancies with the recorded samples from my dive computer...
2014-02-13 19:30:05 +00:00
_Subsurface_ ends up ignoring surface time for many things (average depth, divetime, SAC, etc).
For example, if you end up doing a weight check (deep enough to trigger the "dive started")
but then come back up and wait five minutes for your buddies, your dive computer may say
that your dive is 50 minutes long - because you have fifty minutes worth of samples - but
subsurface will say it's 45 minutes - because you were actually diving for 45 minutes.
It's even more noticeable if you do things like divemastering the initial OW dives, when
you may stay in the water for a long time, but spend most of it at the surface. And then
you don't want that to count as some kind of long dive”.