CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

What language do you use for PC-side programs?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

Best for hardware port interfacing?
PostPosted: Fri Oct 19, 2007 11:43 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Oct 21, 2007 3:26 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Oct 21, 2007 7:15 pm     Reply with quote

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

View user's profile Send private message Visit poster's website

PostPosted: Mon Oct 22, 2007 2:11 am     Reply with quote

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 Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group