Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 08, 2016, 04:07:37 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Porting VeloAce to the PC  (Read 4048 times)

Uncle John

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
IDEA: Porting VeloAce to the PC
« on: May 20, 2007, 09:21:18 AM »
VeloAce is an open source bicycle computer for the Palm PDA.
I had a go at porting Veloace (http://veloace.sourceforge.net/) to the XP environment so that I could use it on a PC when training indoors on my stationary bike.
I downloaded Visual C++ Express and tried compiling the code but immediately encountered difficulties.
I'll continue grappling with this project when I get the time but in the meantime I thought there might be others more competent than myself that may be interested in giving this a go.
I figure this project would be of particular interest to people that are interested in projects which interact with the physical world.

Chao,

Uncle John 
« Last Edit: May 20, 2007, 08:24:05 PM by Uncle John »

hwtan

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: IDEA: Porting VeloAce to the PC
« Reply #1 on: May 21, 2007, 06:24:11 AM »
Porting of Palm App to Windows is non-trivial. I would suggest a complete rewrite of the program in .NET or MFC, which could be potentially faster.
Attached is  a simple .NET 2.0 tester program for the hardware interface which calculates the RPM.
Please let me know if it works with the Vaif hardware.

Uncle John

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: IDEA: Porting VeloAce to the PC
« Reply #2 on: May 21, 2007, 10:11:16 PM »
Hi ethan,

Thanks so much for you advice. I suspected that a rewrite of the program would be required. I think I'll have a go at doing it in MFC.

I've found a short video that will at least get me started at http://go.microsoft.com/?linkid=5681587

I really appreciate your tester program. Testing the RS232 connection is really be the best place to start. However I'm travelling O/S on holidays with my wife for the next six weeks and won't be in a position to do this test till I get home again. I'm typing this message from a hotel computer in Toronto at the moment. Although it would not be too difficult to rig up reed switch I suspect the hotel staff would not appreciate it. Given prevailing attitutudes nowadays I might even be at risk of being detained for suspicious behaviour. :D

However if someone else would like to try the tester program, VAIF details can be found at: http://veloace.sourc...ge.net/vaif/vaif.pdf. There is also useful information to be gleaned at: http://home.swipnet....358/pilot/cables.htm

 
« Last Edit: May 22, 2007, 09:42:25 AM by Uncle John »

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 727
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: IDEA: Porting VeloAce to the PC
« Reply #3 on: May 22, 2007, 01:12:00 PM »
what abut windows ce? it is a palm os emulator, just run the program from that.
[Insert really cool signature here]

Uncle John

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: IDEA: Porting VeloAce to the PC
« Reply #4 on: May 27, 2007, 04:44:35 AM »
The idea is to watch a video/TV/Internet etc while running VeloAce with a small speedometer window (no border, transparent background, always on top) in the corner. :)

Looks like I can run VeloAce in a VMWare Player Window (http://www.access-co...com/cgi/garnetvm.cgi). But the Internet Cafe PC I'm using here in Paris won't let me download the software so I can find out whether I can use AutoHotKey to will enable me to achieve the remainder of the abovementioned objectives. :(

Maybe someone else can try this and let us know whether it works.

« Last Edit: May 28, 2007, 04:37:19 AM by Uncle John »

Uncle John

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: IDEA: Porting VeloAce to the PC
« Reply #5 on: June 11, 2007, 06:56:23 AM »
Anyone tried VeloAce in VMWare Player yet?