<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 29, 2014 at 11:38 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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    <div>On 26/10/2014 15:24, Miika Turkia
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>Here is a patch to import Poseidon MK6 logs to Subsurface.
          If you need a log file for testing, there is one available on
          a post from Willem with subject: "Import of Poseidon CCR dive
          logs". This requires both the .txt and .csv files and they
          need to be under same directory. When importing, you must
          select the MkVI filetype from the file selector (and choose
          the MK6.txt).<br>
          <br>
          The patch exposes a bug in setpoint handling, but I do not
          know what is the intended behavior, so fixing will require
          input from the more knowledgeable people. The setpoint value
          is "compressed" when dive samples are added, meaning that
          repeating values are set to zero. However, upon saving the XML
          log file, this means that we are writing the real setpoint
          value and on next sample we write setpoint value of 0. Should
          the real setpoint value be stored on samples, or should the
          XML saving ignore setpoint values of 0?<br>
          <br>
        </div>
        <div>There also seems to be quite a few values related to
          rebreather that are not actually stored on the XML output. I
          suppose that just shows that CCR support is in progress.<br>
        </div>
        <div><br>
        </div>
        miika<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><span class=""><pre>_______________________________________________
subsurface mailing list
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.org</a>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a>
</pre>
    </span></blockquote>
    <br>
    Miika,<br>
    Please recap how to do the import using the current master? <br>
    If I selected Main_menu -> Import -> Import_log_files and then
    clicked the appropriate .csv file, it shows the CSV options window,
    but does not list Poseidon under pre-configured imports.<br>
    I think I am looking in the wrong place.<br><br></div></blockquote><div>You have to select the .txt file instead. (Currently you need to select MkVI from the filetype filter first.) The UI will need some tweaking before this makes sense, I'll take a look at that later.<br><br>miika <br></div></div><br></div></div>