On 10 Nov 2023, 22:41, Hartley Horwitz via subsurface wrote:

[HH] I dive the same sidemount configuration, Shearwater Teric and Perdix AI set in tech mode, Sidemount AI feature enabled (you didn't mention if that's the case for you). I also dive with a 3rd cylinder (deco) without a transmitter. I define 2 gases for dives with 3 cylinders, so 2 gases are "ON", 1 gas is "ACTIVE".


I've got no idea what you mean between "ON" and "ACTIVE" - as far as I can tell, the Perdix only allows a gas mix to be "on" or "off".

To clarify my configuration:

* my Shearwater AI is configured in Tec mode. AI is set to "SM1+2" (the new sidemount mode added a firmware update or two back).

* OC Gases configured (I dive a variety of configurations, sometimes on the same day, so I don't really feel like constantly deleting/changing gases. I just toggle the ones I dive with to "on" and the remaining ones to "off":
   1. (off) 99/00
   2. (off) 51/00
   3. (ON) 32/00
   4. (off) 21/00
5. (off) 0/0 (never configured a fifth mix, so this is still the original default)

During my most recent sidemount dives, I have 2 transmitters, T1 (left), and T2 (right), attached to a tank each of EAN32. I just dive the dive, switching between tanks as necessary during the dive, but I never manually add a gaschange event on the computer (during tec dives I obviously would..).

Following the dive, I import using -either- Subsurface on Android, or Subsurface on Linux; the result is the same. I can provide an import log and libdivelog log file (dump didn't work).

The resulting imported dives show 3 cylinders in the UI (there are more in the actual log):
1. EAN99 (with T1 data attached)
2. EAN51 (with T2 data attached)
3. EAN32 (attached to an initial invisible-in-the-UI "gaschange" event which is in the Subsurface computer dive log at time 0:10, the same time as the first log event from the dive computer).

[HH] I do not get unexpected gas switches like you've described when only dive 2 tanks or choose not to switch to my deco bottle. I import my dives into Subsurface using an iPhone. This leads me to guess that the difference between your experience and mine is either the setup in your Shearwater, or the difference in the app you use to download into Subsurface (android for iOS).

Do you manually inspect the log files, or only use the UI? Because the UI does NOT show the initial gas change event..



Like you, I can easily fix the incorrect gas-mixes attached to the transmitters using the UI, but the third cylinder cannot be deleted as it's marked "in-use" by Subsurface. Funnily enough, Cylinders 1 & 2 which actually have transmitter data attached to them can be deleted...

The overall result in Subsurface is that it's not displaying gas usage properly - the pressure the graphs are coloured in red instead of by SAC rate, and no SAC overall SAC is calculated or displayed.

If I manually edit the dive log and delete the first gas-change event, everything works as expected in Subsurface. Alternatively if I modify the original gas-change event to point to either of my real cylinders, again, it all works as expected.

Hence my proposals on how to implement a quick fix and asking which is the preferred approach.

Option 4 : Figure out why Subsurface is importing a "gaschange" event to a third cylinder instead of assigning it to one of the cylinders with transmitter values attached.


Of course, if I've done something wrong with configuring Subsurface or my Dive Computer, I'd be more than happy to fix the errors of my ways, but long previous discussions have led me to believe it's an issue with the way Subsurface and libdivecomputer import dives and assign gas mixes to tanks, in combination with the Shearwater protocol not supplying information as to which gas mixes are active and which are inactive.

Here is a snippet from an imported log file (not modified) for illustrative purposes:


<dive number='28' cns='21%' date='2023-11-05' time='19:43:18' duration='4:30 min'> <cylinder size='10.0 l' description='10.0ℓ' o2='99.0%' end='101.077 bar' depth='6.026 m' /> <cylinder size='10.0 l' description='10.0ℓ' o2='51.0%' start='108.248 bar' end='108.248 bar' depth='21.227 m' /> <cylinder size='10.0 l' description='10.0ℓ' o2='32.0%' depth='39.845 m' />
  <cylinder size='10.0 l' description='10.0ℓ' depth='66.019 m' />
<cylinder size='10.0 l' description='10.0ℓ' o2='99.0%' depth='6.026 m' />
  <cylinder size='10.0 l' description='10.0ℓ' depth='66.019 m' />
<divecomputer model='Shearwater Perdix AI' deviceid='7e61e6c4' diveid='120b5b60'>
  <depth max='2.2 m' mean='1.315 m' />
  <temperature water='25.0 C' />
  <surface pressure='1.013 bar' />
  <water salinity='1020 g/l' />
  <extradata key='Logversion' value='14(PNF)' />
  <extradata key='Serial' value='3341d252' />
  <extradata key='FW Version' value='93' />
  <extradata key='Deco model' value='GF 50/85' />
  <extradata key='Battery type' value='1.2V NiMH' />
  <extradata key='Battery at end' value='1.3 V' />
  <extradata key='T1 battery' value='normal' />
  <extradata key='T2 battery' value='normal' />
<event time='0:10 min' type='25' flags='3' name='gaschange' cylinder='2' o2='32.0%' /> <sample time='0:10 min' depth='0.9 m' temp='25.0 C' pressure='109.627 bar' ndl='99:00 min' cns='21%' />
  <sample time='0:20 min' depth='1.9 m' pressure='108.523 bar' />
  <sample time='0:30 min' depth='1.8 m' pressure='108.248 bar' />
  <sample time='0:40 min' depth='1.3 m' pressure='108.11 bar' />
  <sample time='0:50 min' depth='1.4 m' />
  <sample time='1:00 min' depth='1.8 m' />
<<<<



Date: Sun, 12 Nov 2023 15:09:14 +0000
From: Willem Ferguson <willemfergu...@proton.me>
On the Shearwater the cylinders/gases are defined in a specific order
using the System Setup panel. In the equipment tab of Subsurface I
define my cylinders in the same order. I have never encountered the

The gases configured in the Shearwater can't be ordered; they are always ordered by oxygen percentage. When importing in Subsurface, you can't pre-define cylinders; cylinders are defined by Subsurface during the import process, following which you can do certain modifications on them such as adding, deleting (some), changing their mixes and sizes, etc.

So I'm sorry, but I fail to understand what you're getting at here.

Wbr,
 - Micha.

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to