Go to Post Things go wrong; it happens to the best of us. You learn from it and move on. - Waynep [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
  #1   Spotlight this post!  
Unread 12-01-2003, 00:44
Ameya's Avatar
Ameya Ameya is offline
Freelance Goon
FRC #0293 (SPIKE Robotics)
Team Role: Alumni
 
Join Date: May 2001
Rookie Year: 2000
Location: Pennington, NJ
Posts: 67
Ameya is on a distinguished road
Send a message via ICQ to Ameya Send a message via AIM to Ameya
Dashreader.dll: A Visual Basic .NET user control to read the dashboard port

Go to http://www.first293.com/dashreader.html to download the dll so you can begin writing custom dashboard programs in VB .NET.

Here's how you use it:

1. Download dashreader.dll
2. In your VB .NET project, right click on "Windows Forms" in the Toolbox
3. Select "Customize Toolbox"
4. Click on the ".NET Framework Components" tab
5. Click "Browse"
6. Find and select "dashreader.dll"
7. Draw the dashreader anywhere on the form--it disappears at runtime.

The "Port" property determines which port it tries to connect to. Use the "start()" method to actually connect to that port. The "NewPacket()" event is raised whenever a new packet of data is read. There are methods that return values for all of the data sent to the dashboard port (except for mode variables--I don't know how to interpret them).

If I have time, I'm going to modify the control so it inherits from the Timer Class and doesn't take up any space on the form at design-time. For now I'm too lazy

If you have any questions, PM me, IM me at RenegadeOfMonks, or e-mail me at krodh293@yahoo.com. Do the same if you have bugs to report, or if you want the source code.
__________________
Ameya Agaskar
Team 293 alumnus
 


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
Visual Basic 6 Dashboard LBK Rules Programming 1 22-01-2003 13:06


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

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