<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-text-html" lang="x-unicode">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Nov 3, 2014 at 9:18 AM,
Willem Ferguson <span dir="ltr"><<a
href="mailto:willemferguson@zoology.up.ac.za"
target="_blank">willemferguson@zoology.up.ac.za</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Tomaz,<br>
I suspect you are pretty busy with the filter mechanism,
especially with Dirk who is trying to beat you into
submission. This is a major new development (the filter,
not the beating).<br>
<br>
The data import and internal representation of cylinder
pressures are more or less complete now, so I am looking
at issues that deal more with the representation of CCR
dive logs.<br>
<br>
Is there any possibility of looking into the possibility
of plotting the sensor and setpoint information for these
dive logs? What do you think is realistically possible?<br>
</blockquote>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Kind regards,<br>
willem<br>
<br>
</blockquote>
<br>
<br>
Can you ellaborate a bit more?<br>
</div>
<div>1 - where the plotting should be taken place, the
profile widget or any other place?<br>
</div>
<div>2 - how it should look like?<br>
</div>
<div>3 - what it needs to be done?<br>
<br>
</div>
<br>
</div>
</div>
</div>
</div>
Hallo Tomaz,<br>
<br>
Here is a mail I sent to the subsurface mail list some 2 weeks ago.
I hope it gives some indication of what i am thinking about???<br>
<br>
Kind regards,<br>
willem <br>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>Subsurface UI for CCR dives</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Tue, 14 Oct 2014 09:35:48 +0200</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Willem Ferguson <a class="moz-txt-link-rfc2396E" href="mailto:willemferguson@zoology.up.ac.za"><willemferguson@zoology.up.ac.za></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
</th>
<td><a class="moz-txt-link-abbreviated" href="mailto:willemferguson@zoology.up.ac.za">willemferguson@zoology.up.ac.za</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Organization:
</th>
<td>University of Pretoria</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:subsurface@hohndel.org">subsurface@hohndel.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:subsurface@hohndel.org"><subsurface@hohndel.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>The code for implementing CCR dives has mostly been completed, barring a
few small issues. I think it is time that we start considering what the
UI should look like for CCR dives.
My proposal is that not much changes. As is, the gas pressure graphs
adequately show gas partial pressures during the dive. and the placing
of the gas pressure graphs is efficient.
Oxygen analysis:
I propose that we add another button to the profile tool bar, perhaps
something like the attached icon "o2icon.jpg", indicating "Oxygen
Analysis". When this button is activated, the normal gas partial
pressures are replaced with graphs for the setpoint as well as for the
po2 as measured by each of the sensors. In the case of the Poseidon
data, there should be three lines in the graph: setpoint (maybe in black
or in red) and the partial pressures as seen by each of the two o2
sensors. Ideally, the graphs for the o2 sensors should not have the same
colour. This is because if one particular sensor tends to give a high
reading or a low reading or a variable reading, one would like to know
which of the sensors it is. I have made a mockup, attached as
OxygenAnalysis.jpg, serving as a proposal for a situation for which the
o2 sensors show no abnormality. The setpoint graph is likely to be more
angular than on the figure. Careful attention needs to be given to the
colours of the lines. The black line on the mockup does not contrast
particularly well with the other two lines and red might have been better.
Sensor data are found in array plot_data.o2sensor[3] defined in profile.h.
Setpoint data are found in plot_data.o2setpoint.
To detect a CCR dive, check whether divecomputer.dctype has an enum
vaue of CCR.
The number of o2 sensors in the system is found in
divecomputer.no_o2sensors. There is provision for up to 3 oxygen sensors.
Cylinder gas pressures:
The Poseidon is possibly the only CCR system with gas integration on
both cylinders but the demand for gas integration is growing (e.g. for
the Shearwater Nerd which is basically a modified Petrel). With CCR
dives, cylinder 0 is assumed to be the oxygen cylinder and cylinder 1 is
assumed to hold the diluent gas. If baleout takes place, it would be to
cylinder 2. The oxygen pressures (mbar) are found in
plot_data.pressure[2], defined in profile.h. pressure[0] has the raw
sensor pressure data while pressure[1] contains the interpolated values
between measured data points. Similarly, the pressure of the diluent gas
is held in plot_data.diluentpressure[2] (raw measurements in
diluentpressure[0] and interpolations in diluentpressure[1]. Two lines,
indicating the pressures in the two cylinders need to be draw, as
opposed to the single line that has been the case to date.
These are my ideas. Do you think this is sensible? Any other ideas,
suggestions or proposals that are implementable with the existing
Subsurface dive information?
Kind regards,
willem
</pre>
<br>
</div>
<br>
</body>
</html>