<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 18/12/2014 07:21, Joshua Joseph
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKYNVbSDm3ktWuoUN5Zizka=Jm9yGfm=9-8bBSqEDuZZLJUsHw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Dec 18, 2014 at 7:23 AM,
            Willem Ferguson <span dir="ltr"><<a
                moz-do-not-send="true"
                href="mailto:willemferguson@zoology.up.ac.za"
                target="_blank">willemferguson@zoology.up.ac.za</a>></span>
            wrote:
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>On 18/12/2014 03:27, Tomaz Canabrava wrote:<br>
                </div>
                <br>
                <br>
                Tomaz, <br>
                <br>
                If it's possible at all, we need to complete the CCR UI.
                Would you be prepared to help, please? I have been
                messing around with private branches of the code that
                are rapidly ageing but my understanding of the Qt code
                is pathetic. We need:<br>
                a) Graph of setpoint data when the pO2 is shown on the
                profile.<br>
                b) A graph that displays all the data from the
                individual oxygen sensors with respect to the setpoint.<br>
                I would so much like to get this part of the development
                behind us in order to get on with the other CCR systems.<br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>I think I would be able to help with this.</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> Extension of the
                present code to accommodate APD logs will not be
                cosmetic, but very easy, now that a basic infrastructure
                exists: problem there is 2 parallel dive computers.<br>
                The APD development is not likely to have UI
                consequences, or, if at all, minor consequences in the
                manner of selecting APD logs in the import panel.<br>
                <br>
                Kind regards,<br>
                Willem<br>
              </div>
            </blockquote>
          </div>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>Thanks,</div>
              <div>Joshua</div>
              <div><b><br>
                </b></div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Joshua,<br>
    Thank you very much. The steps in UI development I foresee are as
    follows:<br>
    <br>
    1) Display a graph of the setpoint information on top of the (green)
    oxygen partial pressure graph. I attach a profile of a Poseidon
    dive, following an experimental and totally incomplete patch that I
    was working with. The setpoint graph is in red. Under separate cover
    I will send you correspondence about this, including the
    experimental patch for what it's worth. IMPORTANT: the setpoint
    graph should only be shown when the display of oxygen partial
    pressure in activated in the toolbar to the left of the dive
    profile, and obviously only for CCR dives. For CCR dives, the oxygen
    partial pressure is more or less the mean value of all the oxygen
    sensors in the system.<br>
    <br>
    2) An oxygen sensor analysis panel. This more complex. I attach a
    mockup diagram that I have used in previous correspondence: the use
    of black as a colour for the setpoint information here appears not
    to work well. This analysis uses the space on the dive profile
    normally used for gas partial pressures. It shows the information
    for each of the individual oxygen sensors in the system (usually 2
    or 3 sensors) with the setpoint data as a comparison. The idea is
    that one should be able to check visually whether any of the
    individual sensors is drifting upwards or downwards or whether any
    one of the sensors fluctuates more than it should. It is a
    qualitative assessment and is likely to be complemented with more
    statistical information (that will not be shown on the dive profile,
    but in the Extra Data tab). I will also forward to you previous
    correspondence on this matter.<br>
    <br>
    As an aside and so that you know this ahead of time, there is a
    catch in the above. A diver may switch from CCR to open circuit (or
    bailout) during the dive. The question is whether one should show
    the oxygen sensor data while the diver is on bailout. Probably not.
    During a dive, one can determine whether a diver is on CCR or
    bailout by looking at the ID of the cylinder that is currently in
    use, available in the plot_data structures. This probably does not
    need any immediate action yet, but it is useful to keep this in mind
    when writing UI code that may need some adaptation later on once
    when the bailout issues have been finalised in the underlying code
    and data storage structures.<br>
    <br>
    3) Specifically for the Poseidon (MkVI and Se7en) dive logs that
    record cylinder pressures throughout the dives, the positioning of
    the cylinder IDs and the positioning of text labels indicating
    start- and end-pressures on the dive profile can be improved. Again
    I will forward a hack on this code that may or may not be useful.
    For CCR, there are two cylinder pressure graphs  (oxygen and
    diluent). At the start of the dive, diluent may have a higher
    cylinder pressure than the oxygen, but at the end of the dive the
    dive it may be the other way round with oxygen having a higher
    cylinder pressure than diluent. So, the cylinder IDs and pressures
    need to be indicated in a way so that the text IDs and pressures are
    always clear and do not overlap with each other or with the graphs
    themselves. I attach an example of what it should look like.<br>
    <br>
    I hope this gives some indication of what may be required. What do
    you think?<br>
    Kind regards,<br>
    willem<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>