Out of water

 

Unknown

entry/ update Pmax and Pmin with P

Upcast

entry/ sets Pmin to P

entry/ begin upcast event

exit/ endcast event

Downcast

entry/ set Pmax to P

entry/ begin downcast event

exit/ endcast event

[Pmax - P > Ptrig]

[P - Pmin > Ptrig]

[C < Clow]

[C < Clow]

[C >= Clow]

[C < Clow]

[Pmax - Pmin > PTrig]

For every sample taken:

1) P is set to the measured pressure

2) C is set  to the current conductivity

3) Pmax is updated with P if P > Pmax

4) Pmin is updated with P if P < Pmin

5) The state machine is updated

 

tPmax and tPmin refers to the timestamp of Pmax and Pmin

 

Ptrig is set to the maximum of 3 dbar or 5% of Pmax-Pmin.

Clow is set to 0.05 mS/cm

 

[tPmin > tPmax]

[tPmax > tPmin]