Go to Post I wouldn't want to replay Lunacy -- the Moon is a harsh mistress! - Richard Wallace [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
  #46   Spotlight this post!  
Unread 05-03-2004, 13:36
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

I know, thtat's why I asked. The port is the same, packet is different. So if there are any 'signature' signs, knowing one from the other prevents stuff like translating bytes.
  #47   Spotlight this post!  
Unread 15-03-2004, 11:37
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

Update: The last two weeks were very, very bad weeks. The week I announced this, my laptop that I made this on just died. Plus I was very sick. First it was the motherboard, I got a new one in a day or so. Then the hard drive died, causing me to loose the code that I had done... I still dont have the new hard drive in yet. The warrentee center didnt even get in my old one till last thurdsday and I dont know when Im getting my new one back... The good news, I recoded the whole thing yesterday and Im fairly confident that its done and working. I wont get to test it till tomarrow night, so hold on a few more days. The example is done and working so ... blah. Im not making any promices, but I will probably release it wensday or thursday.
__________________
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
  #48   Spotlight this post!  
Unread 17-03-2004, 10:41
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

Alright, The test last night went very well. Im going to add it the the whitepapers later tonight or in the morning
__________________
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
  #49   Spotlight this post!  
Unread 17-03-2004, 14:10
scitobor 617's Avatar
scitobor 617 scitobor 617 is offline
More nerd than you can handle!
AKA: Alan Meekins
FRC #0617 (HSHS 617 "DUKE")
Team Role: Programmer
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Richmond, VA
Posts: 153
scitobor 617 will become famous soon enoughscitobor 617 will become famous soon enough
Send a message via AIM to scitobor 617
Re: Dashboard

Where can I get the source for your program, it looks awsome. If you don't want to give away the source then can you just explain how to recieve data from a serial port.
  #50   Spotlight this post!  
Unread 17-03-2004, 14:21
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

Im just about to put it in the white papers. Its a visual basic control that you can just slap into your own dashboard. I included the source and an example with it so hold on a few more minutes.
__________________
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
  #51   Spotlight this post!  
Unread 17-03-2004, 15:04
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
Im just about to put it in the white papers. Its a visual basic control that you can just slap into your own dashboard. I included the source and an example with it so hold on a few more minutes.
What's the programic interface?

I'm hopping for properties for each of the items, plus an event when one changes.
  #52   Spotlight this post!  
Unread 17-03-2004, 16:10
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
Thumbs down Re: Dashboard

Quote:
Originally Posted by Kevin Karan
Im just about to put it in the white papers. Its a visual basic control that you can just slap into your own dashboard. I included the source and an example with it so hold on a few more minutes.
¡Ay caramba, señor! Yikes, ouch, whoa.

After looking at that w/VBA, I'm thinking "Whose going to use that?" I'm glad some one did it, but programic interface needs work. Not to mention: No prop pages (like you need it), no com stuff (properties), Bad graphics (not necessary), Bad naming, no toolbox icon, no properties.

I'll e-mail you a revised version when I get time.

Last edited by Astronouth7303 : 17-03-2004 at 16:18.
  #53   Spotlight this post!  
Unread 18-03-2004, 09:15
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

Quote:
Originally Posted by Astronouth7303
¡Ay caramba, señor! Yikes, ouch, whoa.

After looking at that w/VBA, I'm thinking "Whose going to use that?" I'm glad some one did it, but programic interface needs work. Not to mention: No prop pages (like you need it), no com stuff (properties), Bad graphics (not necessary), Bad naming, no toolbox icon, no properties.

I'll e-mail you a revised version when I get time.
When someone provides a service free of charge and shares their hard work its customary to say thank you. Be constructive or keep your comments to yourself. Even if you submit a revised version he still did it first and deserves that respect.
  #54   Spotlight this post!  
Unread 18-03-2004, 09:31
Nick Fury Nick Fury is offline
Registered User
#0900
 
Join Date: Feb 2004
Location: Durham, North Carolina
Posts: 31
Nick Fury has a spectacular aura aboutNick Fury has a spectacular aura about
Re: Dashboard

Seriously man. That is what open source is all about, you give the other guy credit for writing it first and then you improve it. You don't yell at the guy for writing the program and tell him how lame he is just because you think you can do it better. For one, it's not "gracious professionalism" and for two it just makes you look like an ungreatful arse. I hate to say it man but that crap is irritating, it is the sort of stuff that I see happening with Microsoft employees who have to patch each others code. This sort of stuff doesn't need patching, it needs to be reworked and tweaked to get maximum performance which patching doesn't provide. Many thanks to the guy or gal who gave his code for the dashboard, I think it's great to see some FIRST robotics code being opened.
  #55   Spotlight this post!  
Unread 18-03-2004, 13:46
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
Red face Re: Dashboard

Quote:
Originally Posted by seanwitte
When someone provides a service free of charge and shares their hard work its customary to say thank you. Be constructive or keep your comments to yourself. Even if you submit a revised version he still did it first and deserves that respect.
Quote:
Originally Posted by Nick Fury
Seriously man. That is what open source is all about, you give the other guy credit for writing it first and then you improve it. You don't yell at the guy for writing the program and tell him how lame he is just because you think you can do it better. For one, it's not "gracious professionalism" and for two it just makes you look like an ungreatful arse. I hate to say it man but that crap is irritating, it is the sort of stuff that I see happening with Microsoft employees who have to patch each others code. This sort of stuff doesn't need patching, it needs to be reworked and tweaked to get maximum performance which patching doesn't provide. Many thanks to the guy or gal who gave his code for the dashboard, I think it's great to see some FIRST robotics code being opened.
I am in the wrong.

But I must admit, some of the ways he implemented things was difficult. Several issues I fixed in an hour or 2. I'm glad someone did it, and maybe I should think of it as polishing it up. I suppose I had to do some work.
  #56   Spotlight this post!  
Unread 19-03-2004, 09:19
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

can I atleast see some of the mods you did to it...
__________________
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
  #57   Spotlight this post!  
Unread 19-03-2004, 18:57
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
Talking Re: Dashboard

Quote:
Originally Posted by Kevin Karan
can I atleast see some of the mods you did to it...
Sure! I still need to put in prop loading/saving, but it's mostly done. (MSDN: VB tutorial on saving prop values)

In addition to graphics (I reversed-engineered IFI's Icon and made a 48x48 for it), I renmed the controls, gave it a more descriptive image, and adjust the MSComm to work on IFI's settings and used binary made instead of string (It outputs an array of bytes). The code has been cleaded up, and I actually put in properties for Port and PortOpen. All the info is retrieved via functions, and events of been consolodated. The defult app, however, doesn't work so well (oops...), but that was second priority. Some prop pages are needed, but for the most part it's as good as any of Microsoft's.

Here's the new project group:
Attached Files
File Type: zip Dashboard2.zip (36.8 KB, 28 views)
  #58   Spotlight this post!  
Unread 19-03-2004, 21:32
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
Sure! I still need to put in prop loading/saving, but it's mostly done. (MSDN: VB tutorial on saving prop values)

In addition to graphics (I reversed-engineered IFI's Icon and made a 48x48 for it), I renmed the controls, gave it a more descriptive image, and adjust the MSComm to work on IFI's settings and used binary made instead of string (It outputs an array of bytes). The code has been cleaded up, and I actually put in properties for Port and PortOpen. All the info is retrieved via functions, and events of been consolodated. The defult app, however, doesn't work so well (oops...), but that was second priority. Some prop pages are needed, but for the most part it's as good as any of Microsoft's.

Here's the new project group:
I was origionaly going to do it in binary mode, but I couldent find a doc about its input buffer, so I stuck to a string since I have always done that (it works ). Im not sure its nessesary to put each value into its own function, but it works. The ifi icon works, but I would rather do somthing less... copywrited (j/k ) Why did you mess with the LED bytes? They worked fine as they were and now it will have to be parsed on the other end. Im not sure why you say the ex app doesnt work, it still does for me, but I did find a small bug when you open the port, but it doesnt realy matter.
__________________
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
  #59   Spotlight this post!  
Unread 19-03-2004, 21:44
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
I was origionaly going to do it in binary mode, but I couldent find a doc about its input buffer, so I stuck to a string since I have always done that (it works ).
Now you know.
it's just that the MSCOMM control has to convert it to a string and you convert it back to bytes (in vb, an array of bytes and a string are not the same thing), plus there is a possibility that the letters are confused for the unicode versions. Wouldn't want that.
Quote:
Originally Posted by Kevin Karan
Im not sure its nessesary to put each value into its own function, but it works.
It's easy (I think) for the developer, plus VB doesn't like strucs much. You could make variable public, but your not suposed to do that.
Quote:
Originally Posted by Kevin Karan
The ifi icon works, but I would rather do somthing less... copywrited (j/k )
It seemed appropriate. I thought about overlaying the windows COM icon (the cable). didn't get to it.
Quote:
Originally Posted by Kevin Karan
Why did you mess with the LED bytes?
Personal preference. I can add a sub to get a specific bit (it's as simple as "LED(1) And 2^Index").
Quote:
Originally Posted by Kevin Karan
They worked fine as they were and now it will have to be parsed on the other end. Im not sure why you say the ex app doesnt work, it still does for me, but I did find a small bug when you open the port, but it doesnt realy matter.
Yeah, that was it. but it is a little important, like saying there's a small bug in kernal32.dll.
  #60   Spotlight this post!  
Unread 19-03-2004, 21:50
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
Yeah, that was it. but it is a little important, like saying there's a small bug in kernal32.dll.
I was talking about the options being changed to port 4 afterwords, I never got an error but it doesnt sound good, lol
__________________
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