It appears you have not yet registered with our community. To register for free click here
DIR Explorers
       

Specialist DIR Kit OK this is the home of the Gavin - but questions and observations about other scooters, lights, video housing, RB80 etc. can find a home here.

Reply
 
Thread Tools
Old January 19th, 2006, 11:10 AM   #1 (permalink)
olafb(Offline)
New Member
 
olafb's Avatar
 

Join Date: Jan 2006
Location: Trondheim, Norway
Posts: 8
olafb is on a distinguished road

Suunto interface library

To those who know programming.

Some time back I wrote some code to interface with Suunto dive computers. I wanted to have control of my data, and did not like the Dive manager software of Suunto. The result was a cross-platform library written in python. I only focus on relevant information, so the library do not care about information from the computer that are not relevant in DIR-terms (altitude settings, personal level, nitrox/gauge mode).

However, I have not had time to fiddle with a GUI. If anyone would like to experiment with this, they are free to use my code. The only precondition is that people try to keep it cross platform. I just hate it when people develop for Wintendo only.

Code can be found here: http://www.pvv.org/~olafb/software/vyperlink

Feel free to ask if you have any questions.

-Olaf
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 23rd, 2006, 07:33 PM   #2 (permalink)
Klatoo(Offline)
New Member
 
Klatoo's Avatar
 

Join Date: Dec 2005
Location: Spain
Posts: 23
Klatoo is on a distinguished road

Hi Olaf,

Have you tested your script with the USB port connection or with the serial port one?

I don't like the suunto software either, but my current approach is downloading data via suunto dive manager, which writes it into an access database, then export it to my own database.

Regards,

Enrique
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 23rd, 2006, 08:00 PM   #3 (permalink)
ppo2_diver(Offline)
DIR Practitioner
 
ppo2_diver's Avatar
 

Join Date: Nov 2005
Location: Naperville, IL USA (Chicago Suburb)
Posts: 105
ppo2_diver will become famous soon enough

Send a message via Yahoo to ppo2_diver
Quote: (Originally Posted by Klatoo)
Hi Olaf,

Have you tested your script with the USB port connection or with the serial port one?

I don't like the suunto software either, but my current approach is downloading data via suunto dive manager, which writes it into an access database, then export it to my own database.

Regards,

Enrique
In version 2.x, the MS Access database is password protected. Do you know the admin password? I haven't been able to open it up, even using my username/password for the application.

DJ
__________________
Duane A. Johnson
Precision Diving
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 23rd, 2006, 08:03 PM   #4 (permalink)
olafb(Offline)
New Member
 
olafb's Avatar
 

Join Date: Jan 2006
Location: Trondheim, Norway
Posts: 8
olafb is on a distinguished road

Quote: (Originally Posted by Klatoo)
Have you tested your script with the USB port connection or with the serial port one?
It was tested with an original Suunto serial port cable. As far as I know, the USB cable from Suunto has a usb to serial chip, so a USB cable should work just fine. For some OS'es, you might need to install drivers for the USB to serial UART chip.

-Olaf
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 24th, 2006, 09:37 AM   #5 (permalink)
Klatoo(Offline)
New Member
 
Klatoo's Avatar
 

Join Date: Dec 2005
Location: Spain
Posts: 23
Klatoo is on a distinguished road

Quote: (Originally Posted by ppo2_diver)
In version 2.x, the MS Access database is password protected.
I'm using SDM 2.1.4 and I can directly open the d9.mdb file without being asked for any password

Enrique
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 24th, 2006, 05:09 PM   #6 (permalink)
krautrob(Offline)
New Member
 
krautrob's Avatar
 

Join Date: Jan 2006
Location: Berlin/Munich
Posts: 60
krautrob is on a distinguished road

More free Suunto software

Last summer I wrote a software to extract data from my Suunto and print logbook pages from it. Check it out on
http://www.damtp.cam.ac.uk/user/rch47/LogVyper/

It's a perl script which runs on web server so it uses your browser as GUI. It outputs TeX to print the logbook pages.

The latest version also prints tissue data (according to plain vanilla Buehlmann) though the webpage does not mention it, yet. I found that rather than plotting partial pressures for each compartment the most useful way of presenting tissue data is to plot the ceiling for each compartment. What do you think?

BTW: As a perl script, it should run on nearly any platform. That said, I developed and tested it on GNU Linux.

Last edited by krautrob; January 24th, 2006 at 05:22 PM.
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 24th, 2006, 06:12 PM   #7 (permalink)
olafb(Offline)
New Member
 
olafb's Avatar
 

Join Date: Jan 2006
Location: Trondheim, Norway
Posts: 8
olafb is on a distinguished road

Quote: (Originally Posted by krautrob)
Last summer I wrote a software to extract data from my Suunto and print logbook pages from it. Check it out on
http://www.damtp.cam.ac.uk/user/rch47/LogVyper/
The output looks good. Only problem is that the c-program you use to communicate with the Suunto unit is not very cross platform.

-Olaf
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 24th, 2006, 06:38 PM   #8 (permalink)
krautrob(Offline)
New Member
 
krautrob's Avatar
 

Join Date: Jan 2006
Location: Berlin/Munich
Posts: 60
krautrob is on a distinguished road

Gotcha

OK, that C program (which I did not write) uses some termios which is probably not there under windows. Haven't tried but there might be a chance with cygwin.

So, who do you access the serial port (including timing) in a cross platform manner?
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 24th, 2006, 06:40 PM   #9 (permalink)
olafb(Offline)
New Member
 
olafb's Avatar
 

Join Date: Jan 2006
Location: Trondheim, Norway
Posts: 8
olafb is on a distinguished road

Quote: (Originally Posted by krautrob)
So, who do you access the serial port (including timing) in a cross platform manner?
By using the pyserial library: http://pyserial.sourceforge.net/
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old January 24th, 2006, 06:41 PM   #10 (permalink)
krautrob(Offline)
New Member
 
krautrob's Avatar
 

Join Date: Jan 2006
Location: Berlin/Munich
Posts: 60
krautrob is on a distinguished road

Maybe I should use your Python script instead of the C program? I used it in the first place, because I did not want to do the bit fidling in the perl script and the solution was readily available off the net.
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 02:15 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC4
DirExplorers.Com ©2005 - 2008
All rights reserved, no republishing of content without written permission.
By using this website you have agreed to our Terms & Conditions of Use

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48