Page 1 of 1

Strange default gas for #1 (255/0)

Posted: 23 Sep 2012, 20:41
by Tiburon
Hi All,

Today was my first dive with the OTSC 2N (V2.50).
Really not bad!

But while entering my gases I noticed that for the the first Gas the default value is 255/0. Wow, 255% O2!
Is there any chance to change this? I tried to find the parameter in the CF but with no luck!

Cheerio

Tiburon

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 09:05
by Tiburon
Also dieser 255/0 default macht Probleme! Ich kann den Computer über JDivelog nicht auslesen...

Eventuell verhindert der Wert auch, dass ich die Tauchgänge auf JDivelog laden kann. Das funktioniert nämlich auch nicht.

Ich wäre froh, wenn sich dem mal jemand von Heinrichs & Weikamp annehmen könnte.

Danke und

Cheerio

Tiburon


java.lang.IllegalArgumentException: oxygenPercent is not a valid Percentage value '255'
at net.sf.jdivelog.ci.ostc.OSTCMix.(Unknown Source)
at net.sf.jdivelog.ci.ostc.OSTCProtocol100801Mk2.parseSettings(Unknown Source)
at net.sf.jdivelog.ci.ostc.OSTCProtocol110615Mk2.parseSettings(Unknown Source)
at net.sf.jdivelog.ci.ostc.AbstractOSTCProtocol.downloadSettings(Unknown Source)
at net.sf.jdivelog.ci.ostc.OSTCProtocol081130.downloadSettings(Unknown Source)
at net.sf.jdivelog.ci.ostc.OSTCProtocol100801.downloadSettings(Unknown Source)
at net.sf.jdivelog.ci.ostc.OSTCProtocol100801Mk2.downloadSettings(Unknown Source)
at net.sf.jdivelog.ci.OSTCInterface.transferSettings(Unknown Source)
at net.sf.jdivelog.gui.ostc.OSTCSettingsPanel.load(Unknown Source)
at net.sf.jdivelog.gui.ostc.OSTCSettingsPanel.access$000(Unknown Source)
at net.sf.jdivelog.gui.ostc.OSTCSettingsPanel$1.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 10:04
by Rob
Hi,

was sagt denn der Gas Setup dialog im OSTC?
Stehen da auch 255%?

what are the numbers in the gas setup dialog in ostc?
Are there 255% too?

Grüße/regards
Rob

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 10:29
by Tiburon
Yes, exactly the default value is 255/0.
When I select the default value the OSTC is even calculating with 255% O2!

MOD is then 65532m, which I think is an integer overflow.

An it then also shows it in the gas list with O2 255. So I really could use this hyper O2 mix for diving (:P)

BTW as my computer is brand new, I have firmware V2.50 on it

Cheerio

Tiburon

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 10:48
by Rob
Hmmm - strange.

I would reinstall the firmware.
See read.php?2,9543
Then the problem should be solved.

regards
Rob

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 11:45
by Tiburon
Hi Rob,

Ok, done, but no change :S

What now?

Cheerio

Beat

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 14:50
by Tiburon
Solved!

The solution was to use OSTC Tools Config application. It was able to read, change and write back the default gas.

Cheerio

Tiburon

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 17:04
by Vortax
This bug was present in an old version of the 2N firmware (v. 2.0)

Youtube video:

http://www.youtube.com/watch?v=C2Bi7k_44vY

Re: Strange default gas for #1 (255/0)

Posted: 25 Sep 2012, 20:24
by Tiburon
Thanks Vortex,

So, not so strange and uncommon as first thought :D

Maybe this threat serves then as a solution for the next one

Cheerio

Tiburon