The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
LinkBack Thread Tools Display Modes
Old 11-08-2007, 07:05 PM   #1
Newbie
 
terryking's Avatar
 
Join Date: Feb 2007
Location: Shekou-Shenzhen, China - Vermont, USA
Posts: 9
ReTread the Old Coder's Head ??

I would like your advice on how I should get started on writing some significant software that will run in the WIN-XP environment.

I've done a lot of coding and electronics design over many years, various assemblers, Pascal, 'C', BASIC. But I have never written anything in the new (to me) world of WIN-XP, .NET, XML and All That.

I have been working for some time on a collaborative project (on BoatDesign.Net) to define and prototype a "Multi-Purpose Onboard Computer System" for use on boats. This will be a Mini-ITX system with something like TinyXP, and quite a bit of external hardware. Take a look at:
http://www.boatdesign.net/forums/showthread.php?t=19458
if you're interested in the gory details. And there's a quick look at the proposed layout for the boat helmsman at the end of this post.

There are 2 parts here: The part inside the dashed line is a 19" LCD display, and the 3 sides are hardware panels. The NAV software is stock OziExplorer. I need to do the right side and lower sections in display software that is now non-existent! This will include interfacing to the boat sensors and controls via USB, and creating Meters and Dials etc.
The hardware panels have capacitive touch switches that end up coming in as USB keyboard keystrokes. I Think...

So, I AM confused. Where to start? Should I use VB.NET? Java?? Delphi? 'C' or 'C#' in another environment? What would support good graphics for dials and meters without coding it all myself? How do I force exact positioning of windows on the screen and not allow them to be covered up? Who's on First?

I just got VB Studio Express Edition. Could that work for this stuff?

I'm am willing and eager to spend the next 100 hours or more learning the software tools to do this. I've survived everything from System 7 Assembler on punch cards to OS/2 graphics, but it's time to retread the old head and get started.

What would you do? Where would you start?

Any suggestions, pointers to resources, comments appreciated!

Regards, Terry King ..On the South China Sea in Shekou
terry@terryking.us
(Originally and Finally from Vermont, USA)

Last edited by terryking; 11-09-2007 at 01:39 AM.
terryking is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 11-22-2007, 03:13 AM   #2
Low Bitrate
 
Join Date: Nov 2007
Posts: 105
I vote for C# over VB.Net, just because the syntax is aimed more toward people with a background in C (even more so C++) whereas VB.Net has its roots in a language that was designed to get non-programmers into programming. However it's true that both C# and VB.Net are equally expressive and capable.

A book or three on C# (the language), .Net (class library and virtual machine), WinForms (the UI library) will almost certainly be very helpful. You'll need to acquire a fair amount of 'background knowledge' before your productivity really ramps up but once you get moving I think you'll find that coding with C# and .Net is still just coding, only you have a really great infrastructure that helps you get more done in less time.

Also consider reading up on "unit testing" and "test driven development." They are just strategies for delivering higher-quality software with less effort. It takes discipline but once you get into the habit of developing with automated testing you'll see the rewards and you'll never want to go back. NUnit is a free tool to help with this, and the commercial versions of Visual Studio include test automation as well.
NSFW is offline   Reply With Quote
Old 11-25-2007, 05:44 PM   #3
Newbie
 
terryking's Avatar
 
Join Date: Feb 2007
Location: Shekou-Shenzhen, China - Vermont, USA
Posts: 9
Thanks!

Quote: Originally Posted by NSFW View Post
I vote for C# over VB.Net..(snip).. A book or three on C# (the language), .Net (class library and virtual machine), WinForms (the UI library) will almost certainly be very helpful. ..(snip).. Also consider reading up on "unit testing" and "test driven development."

Thanks for the perspectives. I'm leaning towards C / C# also, partly because I've written quite a lot in C and I am writing firmware for PIC 24F in C. I get confused a bit when switching languages every day. Then there's the English-Mandarin thing.

Any suggestions about the 'best' C# book? I see quite a few CS books in a big bookstore in Hong Kong, and I'll be back in the USA at Christmas for a while.

Thanks for the help thinking this through...
__________________
Regards, Terry King ..On the South China Sea in Shekou
terry@terryking.us
terryking is offline   Reply With Quote
Old 11-26-2007, 01:18 PM   #4
Constant Bitrate
 
thekl0wn's Avatar
 
Join Date: Apr 2005
Location: PoCo, Indiana
Posts: 114
Personally, I like the O'Reilly reference books. It may just be the way my warped mind works, but I seem to follow them better than the other programming books I've used.
__________________
Planning [-------X--] 70%
Programming [-X-------] 20%
Parts [-------X--] 75%
Install [-X-------] 10%

Why is my progress moving backwards?
thekl0wn is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
03Honda Accord-How Do I wire another head unit plus keep dual climate stock head unit Thormx037 Car Audio 6 05-11-2007 12:39 AM
Seat Ibiza Mk4 Alana Head Unit - need sound in! onlineamiga General Hardware Discussion 5 02-11-2007 05:02 AM
XM-Ready head unit software integration? TaZMaNiaK Software & Software Development 12 04-02-2005 05:23 PM
Remote Head unit Eject Problem FIxed! Sporttracguy Car Audio 0 10-02-2004 01:51 PM
New Sony head unit - botched wiring... SamDude Car Audio 4 09-09-2004 04:21 PM


All times are GMT -5. The time now is 01:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics