| View previous topic :: View next topic |
| Author |
Message |
bwhiten
Joined: 26 Nov 2003 Posts: 151 Location: Grayson, GA
|
| Best for hardware port interfacing? |
Posted: Fri Oct 19, 2007 11:43 am |
|
|
| Which of these mentioned packages would be best (easiest) for developing a user interface for USB or serial ports on a PC? |
|
 |
libor
Joined: 14 Dec 2004 Posts: 288 Location: Hungary
|
|
Posted: Sun Oct 21, 2007 3:26 am |
|
|
Let me add a vote to the .NET choice. (C#, VS2005)
Recently I was asked to make a handheld version of the user interface running on a PC (notebook) to be used on Pocket PCs (it is a paramter-setting / log-viewer application used with industrial control devices based upon a PIC18F, connected via serial link)
Because of the Compact .NET Framework in the Pocket PC being a powerful subset of the .NET, it was ready in less than an hour (the only thing I had to rearange were the controls on the form to fit the smaller screen) |
|
 |
jma_1
Joined: 08 Feb 2005 Posts: 147 Location: Wisconsin
|
|
Posted: Sun Oct 21, 2007 7:15 pm |
|
|
In my previous post I forgot to mention Qt by Trolltech. Qt can be compiled for Windows, Linux, and Mac. I've tried the serial port package one Qt user developed and it seemed to work very well. Additionally, Trolltech offers Qtopia and a "smartphone" for development.
A non-standard alternative could be to use a scripting device over the internet -> http://www.ezweblynx.com/ The device would be sort of "middleware" between the PC and embedded hardware. A simple HTML page could be created to query and command information (CGI HTTP post/get). I have not looked all that much at the details of the product, but perhaps one computer (application) could serve as a web server and application. If this is possible there are a tremendous amount of free web servers that are outstanding.
There is no simple answer to the question which is best for developing PC applications for USB/serial.
Questions to answer to help you determine this:
1)time availability / project timeline
2)complexity of the interface
3)deployment of the application (1..x; installation vs install package; etc)
4)expertise of the person(s) developing the application (learning curve can be a killer)
5)operating system of the PC (PC can run Linux, Windows, etc)
6)embedded hardware & software (protocol complexity; simple to complex -> multiple drop vs pt to pt; Ethernet?; CAN?)
User interfaces are notoriously simple upon first inspection, but become entirely to complex and incorporate "feature creep".
Cheers,
JMA |
|
 |
octal
Joined: 15 Jan 2007 Posts: 39
|
|
Posted: Mon Oct 22, 2007 2:11 am |
|
|
| jma_1 wrote: | In my previous post I forgot to mention Qt by Trolltech. Qt can be compiled for Windows, Linux, and Mac. I've tried the serial port package one Qt user developed and it seemed to work very well. Additionally, Trolltech offers Qtopia and a "smartphone" for development.
|
I learnt QT some times ago and I used it for some devs on Linux. It's very well done. But for having read the full licensing terms I'll for sure never use it. Theis distribution licenses (for non open source projects) are very expensive. They want to win money from Dev tools producers and from people using dev tools to procduce software. This is a crappy way of doing business.
regards
octal _________________ http://www.pocketmt.com the GLCD Font Creator home  |
|
 |
|