Page 1 of 1

status of computer in dive mode

Posted: 30 Jan 2009, 13:41
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

Re: status of computer in dive mode

Posted: 30 Jan 2009, 13:45
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

Re: status of computer in dive mode

Posted: 30 Jan 2009, 14:54
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

Re: status of computer in dive mode

Posted: 30 Jan 2009, 14:56
by heinrichsweikamp
Hello,

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

Matthias

Re: status of computer in dive mode

Posted: 01 Feb 2009, 11:20
by andersnasman
It's the same (89m depth) when starting a simulation from the Divinglog download utility.