![]() |
sending/Reading the Eathernet port
I have our robot done thanks to previous help with creating the class. I hope it works. I wasn't able to test it before we sent it off but we will find out on thrusday morning. What i need to get done now is creating the functions and applications that will pack the data, send the data, unpack the data and read the data. I am sure i can pack the data and send it based on reading the information provided by us first in packing the data. I need help on the other end...unpacking. I don't know how to read the eathernet port. I am going to use VB.net because i know that language. I know I need to use the imports functions before my class declearation, but i dont know what type of imports or how to unpack the data. Help please. we compete this thursday and although not necessary, i would like to have it up and running by then.
Thanks, ~Xtreamp~ |
Re: sending/Reading the Eathernet port
You will probably want to use the System.Net.UdpClient class to receive data from the cRio.
Here is the receive code from my code: Code:
Sub BeginGetDataAsync() Implements IDashboardClient.BeginGetDataAsync |
Re: sending/Reading the Eathernet port
I downloaded the latest project that you uploaded but i wasn't able to get the crc32 or a few other folders/solutions to load. what am i missing.
|
Re: sending/Reading the Eathernet port
1 Attachment(s)
Quote:
If there is anything else missing let me know. EDIT: I confirmed I can compile a clean checkout on another machine. If you have issues all of the non-source-included dependencies are in the .\src\libs folder. |
Re: sending/Reading the Eathernet port
Here is some code I just wrote. I haven't tested it, but it should display any printed or error strings which are written to the dashboard from the robot.
I've committed this to the Codeplex repo if you want the project file. Hopefully you find it useful. Code:
Imports EHaskins.Frc.Dashboard |
| All times are GMT -5. The time now is 01:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi