Go to Post Our robot throws custom $5.50 FIRST Frisbees at a rate of 75 discs per minute and a speed of ~32 feet per second. It costs over $80 to feed our robot for 12 seconds. - Woolly [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
  #6   Spotlight this post!  
Unread 06-03-2004, 20:40
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: Weird Output from Dashboard Port

Quote:
Originally Posted by Astronouth7303
DID YOU READ THE DOC? The bytes aren't ASCII, That's for the Prog port on the bot. I would try outputting the bytes (Translate to Hex string) as which # in the packet. That may solve problems. And what language are you using?
Yes, I've read the documents, I've read all of them, actually, from 2000 to 2004, in hopes of finding answers. In fact, none of the ports on the OI or RC talk in ASCII, they all talk in hex. It'd make no sense for computers to talk using ASCII, as ASCII was made for displaying characters and such for humans to understand, not microprocessors.

I'm using C/C++ with VS.net.

As for the problems I was having, I actually found the solution by accident.

Apparently I had done something bad with the serial port, forgot to close it, I think, or closed the program incorrectly so it didn't get a chance to close. Due to this, I was unable to correctly reopen it, and that created garbage data. A simple reboot, while 5 minutes long (I'm using an old PII laptop trying to run Win2k), fixed the problem.

If anyone knows how to close an opened serial port after the program that opened it has aborted, can you please share? That would save me, and probably plenty of others, a bunch of time in the pits .

And, as a message of help to everyone, if you ever have strange problems with your serial port, just reboot, don't waste an entire day on it .
__________________
AIM --> Woloi
Email --> ian@woloschin.com
 


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
New dashboard packet spec Ameya Programming 2 08-01-2004 19:59
Dashreader.dll: A Visual Basic .NET user control to read the dashboard port Ameya Programming 4 12-01-2003 23:40
Change to Initializing Inputs and Outputs Jferrante Programming 4 07-01-2003 11:36
Dashboard Protocol Library archiver 2000 9 23-06-2002 22:24
New Innovation FIRST control system and the dashboard archiver 2000 0 23-06-2002 22:15


All times are GMT -5. The time now is 19:10.

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