Go to Post ...next years game will hopefully make my head hurt, this years did. - Michael Leicht [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
  #31   Spotlight this post!  
Unread 01-03-2004, 10:14
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,919
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

Quote:
Originally Posted by Ian W.
It may be able to read TCP ports though, in which case you can (I think) easily pipe the data through an obscure TCP port that no one else would be using. I'll look into that over the next few days.
Have you looked into using sockets? That's what I'd use for inter-process communication.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #32   Spotlight this post!  
Unread 01-03-2004, 13:39
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

Quote:
Originally Posted by jacob_dilles
does anyone know anything about accesing ram in flash? i know you can do it in C++... so like instead of writing to a file which has got to be bad; i dont know why its just badl; you just share a couple of bytes in ram. the flash could call the c++.

trying to thing of a way to get around the file I/O
Why??? Creating a file then deleting it doesn't take long; Even in VB, Open a file, writting to it, and closing it doesn't take long.
  #33   Spotlight this post!  
Unread 01-03-2004, 15:14
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

its the princaple of the thing. at least use scrachpad ram or something. it works, but that doesnt meen its the right way to do it.

Quote:
Originally Posted by Astronouth7303
Why??? Creating a file then deleting it doesn't take long; Even in VB, Open a file, writting to it, and closing it doesn't take long.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #34   Spotlight this post!  
Unread 01-03-2004, 15:17
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: Dashboard

I wrote a small dashboard interface program in QBASIC, which read the data from the serial port, mangled (processed) it, and stored the output in text files.

Then I wrote a program in Java, which read those text files and displayed the data on screen in a fancily-formatted window. I used the AWT for graphics, 'cause I don't know how to program Swing yet.

Btw, to improve the speed of text-files for communication, I created a RAM disk. The output files are outputted from BASIC into the RAM disk. I find the speed to be no problem.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #35   Spotlight this post!  
Unread 01-03-2004, 15:21
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

Quote:
Originally Posted by Venkatesh
I created a RAM disk.
lol exactly. thats what im talking about. except theres a way to do it WITHOUT a ramdisk... its called direct access...

but anyway have an old OI and RC (yes i know its diffrent but the princaple is the same) and i have a program in c++ that gets the data realy well. there is an obscure class that lets me write to ram, but getting it from anythign else was a problem.

i may have it use a ramdisk if i cant figure out anything else before richmond.

btw if you wana post your QBASIC it may help some people that dont know the language and need somewhere to start.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #36   Spotlight this post!  
Unread 01-03-2004, 16:25
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: Dashboard

Quote:
Originally Posted by jacob_dilles
btw if you wana post your QBASIC it may help some people that dont know the language and need somewhere to start.
I would post both my BASIC code and the Java code if I still had it. However, it is currently in a location where I won't have access to it for approximately a month. So its not of much use to anybody...
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #37   Spotlight this post!  
Unread 01-03-2004, 20:07
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: Dashboard

Quote:
Originally Posted by Mark McLeod
Have you looked into using sockets? That's what I'd use for inter-process communication.
Perhaps that's what I was told we could use last year, I'm not sure.

I've been looking into how easy it'd be to change the dashboard from file I/O to sockets (which is the right term for what I want, I think). I think it should be easy, but I'm still looking for a nice class to do all the hard socket work for me .
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #38   Spotlight this post!  
Unread 01-03-2004, 20:10
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: Dashboard

Did you create a ramdisk under Windows or Linux?

I know how to do it under Linux (well, not exactly, but I know where to look to find out), but I have no idea how to do it under Windows. And for the dashboard program I'm using Windows to appease the rest of my team .
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #39   Spotlight this post!  
Unread 01-03-2004, 20:49
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: Dashboard

My Ramdisk is running under Windows.

The easiest way (for Windows 95/98) is to place a line for RAMDRIVE.SYS in your config.sys files. PM me if you need help doing what I am talking about.

Under Windows NT, 2000, and XP, you must download a driver from Microsoft. The driver is a sample driver, demo-ing NT-based drivers. It is neither stable nor debugged, but it works for what I am doing.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #40   Spotlight this post!  
Unread 01-03-2004, 21:05
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: Dashboard

Incase anyone was wondering, Im currently porting the reciever code into a visual basic control (ocx) so anyone can just slap it into their own dashboard nice and easy, with this you could make a dashboard interface and a skilled coder could have it up and running in an hour or so. Im still testing and optomizing it and I would like to have a first release by next week. I will release pre-compiled binarys, the source for them, as well as an example app that shows how it would be used. It will differ from other dashbord control moduals in that I WILL be releasing the source and I WILL be parsing all of the data frames allowing for every single bit of usable data to be utilized.
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #41   Spotlight this post!  
Unread 01-03-2004, 21:27
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

Quote:
Originally Posted by Kevin Karan
Incase anyone was wondering, Im currently porting the reciever code into a visual basic control (ocx) so anyone can just slap it into their own dashboard nice and easy, with this you could make a dashboard interface and a skilled coder could have it up and running in an hour or so. Im still testing and optomizing it and I would like to have a first release by next week. I will release pre-compiled binarys, the source for them, as well as an example app that shows how it would be used. It will differ from other dashbord control moduals in that I WILL be releasing the source and I WILL be parsing all of the data frames allowing for every single bit of usable data to be utilized.
*big hug*
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #42   Spotlight this post!  
Unread 02-03-2004, 07:30
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

Quote:
Originally Posted by Kevin Karan
Incase anyone was wondering, Im currently porting the reciever code into a visual basic control (ocx) so anyone can just slap it into their own dashboard nice and easy, with this you could make a dashboard interface and a skilled coder could have it up and running in an hour or so. Im still testing and optomizing it and I would like to have a first release by next week. I will release pre-compiled binarys, the source for them, as well as an example app that shows how it would be used. It will differ from other dashbord control moduals in that I WILL be releasing the source and I WILL be parsing all of the data frames allowing for every single bit of usable data to be utilized.
I LIKE YOU!!!!
  #43   Spotlight this post!  
Unread 04-03-2004, 15:16
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Dashboard

Thanks a lot. That will be a lot of fun to play around with, not to mention a great time saver.
__________________

  #44   Spotlight this post!  
Unread 04-03-2004, 15:31
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
Question Re: Dashboard

Is there a way to tell (in code) what year's dashboard stuff your getting? Especially post-season, I'm sure we're going to be playing with both (may be in the same thing!), so 1 program would be nice.
  #45   Spotlight this post!  
Unread 05-03-2004, 08:15
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: Dashboard

Quote:
Originally Posted by Astronouth7303
Is there a way to tell (in code) what year's dashboard stuff your getting? Especially post-season, I'm sure we're going to be playing with both (may be in the same thing!), so 1 program would be nice.
This year isnt compatable with previous years, the packet format is different
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
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
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
Dashboard Decoder Release Version 1.0 Now Available! archiver 2000 1 23-06-2002 22:50
New Innovation FIRST control system and the dashboard archiver 2000 0 23-06-2002 22:15
Dashboard Viewer Khalicl13 Technical Discussion 8 15-06-2001 23:36


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

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