Go to Post Wow. Just wow. Never did I think the mentor built robot debate would make it on to a tv show. - ASD20 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 28-06-2006, 22:34
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Serial Communications

Quote:
Originally Posted by sciguy125
I was writing a replacement for IFI Loader awhile back.

http://www.chiefdelphi.com/forums/sh...ad.php?t=38853

It's written in Qt (Qt3, however) and should compile for both windows and linux. I used some compiler directives to detect the platform and use the appropriate pieces of code. Look for the files called serialio.cpp and serialio.h in the "loader" folder. It's a class with functions to send and recieve data via the serial port. You should be able to use it as a starting point.

I have to warn you though that I have yet to figure out why it doesn't work on Windows XP. As far as I can tell, my code is correct. When I compile it, I don't get any errors. Interestingly the same binary will run correctly on Windows 2000 and WINE, but it will freeze on Windows XP.
For one thing I am using Qt 4, which seems to be quite different for Qt 3 form everything I have read. I still have to figure out how to pull the data form the sliders so I can send it in a struct over the serial port. As you can see I am new to this stuff so I am going to try Visual C++ and .NET 2(hopefully they will make life easier) but thanks anyway.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How technology has impacted communications in your life =) Nhiem Chit-Chat 4 20-05-2005 22:36
Spotty Radio Communications! Mr. Lim Control System 12 22-02-2005 20:47
Timer 0/Serial Communications? steven114 Programming 2 13-02-2005 20:50
Communications via the Programming Port Larry Barello Technical Discussion 9 10-06-2003 23:33
Radio Communications... Dan 550 General Forum 9 29-12-2001 17:00


All times are GMT -5. The time now is 05:27.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi