status of computer in dive mode

Legacy OSTC's
Post Reply
wrobell
Posts: 105
Joined: 28 Jan 2009, 16:28

status of computer in dive mode

Post by wrobell »

hi,

i am playing a bit with ostc dive computer simulation
mode. i am using my own scripts to send data and read
data from the computer.

of course, the simulation is real time and real life
rules apply, so when one "surfaces", then one has
to wait until computer switches from dive mode to
surface mode.

if one wants to start simulation, then 0x63 ('c')
has to be sent to computer.

if i restart my script or want to make immediate
another _simulation_ dive and computer is
still in dive mode, then start of simulation is
interpreted as 89m depth (0x63 == 'c' == 99*100mBar :).

that would be not a problem if i could detect
programatically if ostc computer is in dive or in
surface mode. is it possible?

or maybe 'c' (start of simulation) shall be ignored
by firmware when computer is at 0m depth?

regards,

w
heinrichsweikamp
Posts: 4464
Joined: 13 May 2007, 18:07

Re: status of computer in dive mode

Post by heinrichsweikamp »

Hello,

No, without looking at the screen you can not detect the mode of the OSTC.

We can ignore the command or (better) decrease the end-dive delay for simulations to 10sec. Repeated descents are usually nothing for simulation, they only occur in the real world ;)

Cheers,
Matthias
wrobell
Posts: 105
Joined: 28 Jan 2009, 16:28

Re: status of computer in dive mode

Post by wrobell »

indeed ;)

but... (being bit courious) what happens if i connect
ostc dive computer to a laptop just after a real dive
(rarely possible, of course)?

does a computer knows that it is in real dive mode
and that any character sent shall not be interpreted
as depth? :]

regards,

w
heinrichsweikamp
Posts: 4464
Joined: 13 May 2007, 18:07

Re: status of computer in dive mode

Post by heinrichsweikamp »

Hello,

When not in simulation mode, the unit will not listen to the interface, of course.

Matthias
andersnasman
Posts: 27
Joined: 12 Dec 2008, 15:24

Re: status of computer in dive mode

Post by andersnasman »

It's the same (89m depth) when starting a simulation from the Divinglog download utility.
Post Reply