Attached are the xml dive  header and dive computer description of a pSCR dive, as well as the UI rendering of the dive profile. Obviously there there are significant differences between the xml and the graphic derived from that dive log. The two most obvious discrepancies are:

1) In the UI, the dive computer is indicated as OC (see lefthand of screenshot). However, in the xml dive log it is indicated as PSCR.

2) The xml event at 10 min 14 sec into the dive is a divemode transition from OC to PSCR. However, on the dive profile it is indicated as transition from PSCR to OC.

Now, the very real possibility exists that this results from Ferguson's own doings and code changes by him. However after all the bailout changes were performed the rendering of divemode changes worked perfectly. The latest changes pertain to the dive planner and code in planner.c, not affecting the dive log.

The obvious suspect are the changes to the names of divemodes, separating the displayed names from the internal divemode names.

Robert, Stefan, would it be possible to have a quick check to see if there is an obvious bug?

Kind regards,

willem




--
This message and attachments are subject to a disclaimer.

Please refer to 
http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf <http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf> for full details.
<dive number='419' tags='cave, nitrox, pSCR' divesiteid='9916702b' date='2018-02-04' time='09:11:32' duration='76:20 min'>
  <divemaster>Don Shirley IANTD 189</divemaster>
  <buddy>Don Shirley IANTD 189</buddy>
  <notes></notes>
  <suit>Drysuit, thinsulate, hoodie, gloves</suit>
  <cylinder description='unknown' o2='53.0%' />
  <cylinder description='unknown' o2='35.0%' />
  <cylinder description='unknown' o2='99.0%' />
  <divecomputer model='Shearwater Predator' deviceid='cf5d0314' diveid='2878b06c' dctype='PSCR' no_o2sensors='1'>
  <depth max='36.0 m' mean='19.733 m' />
  <temperature water='17.0 C' />
  <surface pressure='0.899 bar' />
  <extradata key='Serial' value='1194ebc2' />
  <extradata key='FW Version' value='37' />
  <extradata key='Deco model' value='GF 30/80' />
  <extradata key='Battery at end' value='3.4 V' />
  <event time='0:00 min' type='20' name='SP change' />
  <event time='0:10 min' type='25' flags='1' name='gaschange' cylinder='0' o2='53.0%' />
  <event time='0:26 min' type='11' value='53' name='gaschange' cylinder='0' o2='53.0%' />
  <event time='0:26 min' type='52' divemode='OC' name='modechange' />
  <event time='10:14 min' type='8' divemode='PSCR' name='modechange' />
  <event time='13:21 min' type='11' value='35' name='gaschange' cylinder='1' o2='35.0%' />
  <event time='43:51 min' type='11' value='53' name='gaschange' cylinder='0' o2='53.0%' />
  <event time='48:53 min' type='8' divemode='OC' name='modechange' />
  <event time='54:40 min' type='25' flags='2' name='gaschange' cylinder='1' o2='35.0%' />
  <event time='61:40 min' type='25' flags='3' name='gaschange' cylinder='2' o2='99.0%' />
  <sample time='0:10 min' depth='3.0 m' temp='26.0 C' sensor1='0.492 bar' po2='1.3 bar' />

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to