Go to Post If you want to use the don't ask, don't tell logic about asking then you know it is wrong. - Steve W [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2005, 15:11
patTeam241 patTeam241 is offline
College Student
AKA: Pat Cleary
no team
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Boston, MA
Posts: 54
patTeam241 will become famous soon enoughpatTeam241 will become famous soon enough
Send a message via AIM to patTeam241
Dashboard port question

Ok, I'm writing my own data capture program for the OI, which would run from the Dashboard port. The goal is to have a more versatile recorder. However, I don't know the Baud rate, Parity, number of data bits, and the stop bit. Anyone have this information? Thanks
  #2   Spotlight this post!  
Unread 09-02-2005, 15:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,904
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Dashboard port question

Quote:
Originally Posted by patTeam241
I don't know the Baud rate, Parity, number of data bits, and the stop bit. Anyone have this information? Thanks
From the Dashboard Spec (dashboard-specification.pdf) in the IFI Robotics zip download.

19200 baud, No Parity, 8 data, 1 stop
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 09-02-2005, 17:16
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Dashboard port question

Here's another one: How can a program tell if it is recieving OI or RC packets? My best guess so far is that there are specific channels for each.
  #4   Spotlight this post!  
Unread 13-02-2005, 21:12
patTeam241 patTeam241 is offline
College Student
AKA: Pat Cleary
no team
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Boston, MA
Posts: 54
patTeam241 will become famous soon enoughpatTeam241 will become famous soon enough
Send a message via AIM to patTeam241
Re: Dashboard port question

For the OI/RC difference, there is a jumper right under one of the ports, I think it's the dashboard port.
  #5   Spotlight this post!  
Unread 14-02-2005, 09:21
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Dashboard port question

Quote:
Originally Posted by Astronouth7303
Here's another one: How can a program tell if it is recieving OI or RC packets? My best guess so far is that there are specific channels for each.
From what I've seen there isn't a way to differentiate between an OI frame and an RC frame. The control bytes in the OI frame are the same as a type-2 data frame. I guess you could check for the frame type and assume its OI data if you're only receiving type-2 data frames.
  #6   Spotlight this post!  
Unread 16-02-2005, 02:23
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,613
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: Dashboard port question

Quote:
Originally Posted by seanwitte
From what I've seen there isn't a way to differentiate between an OI frame and an RC frame. The control bytes in the OI frame are the same as a type-2 data frame. I guess you could check for the frame type and assume its OI data if you're only receiving type-2 data frames.
There is a way to rewrite the RC/OI dashboard progam in which you can implement a custom packet structure. This is probably way too much work with the current FRC system. I believe Innovation FIRST should consider making the dashboard progam more expandable. These changes could be adding more/less packets or different timing baud and protocol options.

For instance, You could implement a timestamp function on the RC which relays timing infromation through one of the dashboard ports to get a more real time control feedback.

~Andrew Lynch
Closed Thread


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
Updated: Serial Port Driver Code Kevin Watson Programming 4 05-02-2005 18:39
New Serial Port Driver Kevin Watson Programming 16 09-01-2005 01:56
Weird Output from Dashboard Port Ian W. Programming 9 06-03-2004 21:33
Dashreader.dll: A Visual Basic .NET user control to read the dashboard port Ameya Programming 4 12-01-2003 23:40
Dashboard Output Question jnossen Technical Discussion 5 02-02-2002 19:52


All times are GMT -5. The time now is 17:50.

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