View Single Post
  #2   Spotlight this post!  
Unread 06-12-2012, 16:53
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Connecting two java programs with a Ethernet cord

Quote:
Originally Posted by 279 EMPIE View Post
I was wondering if anyone has made any code that will send information in a Java Program on a laptop through a Ethernet cord to the Program in the cRIO.

I'm sure it is do able its just i haven't found much sample code to learn off of. I have no experiance with programming IP/TCP, Ports, or anything else that has to do with this subject.

I was just wondering if someone could help me out.
I'd recommend making a SmartDashboard plugin to serve your needs, and use Networktables/Networktables2 to pass the data. That way you really don't even need to bother with handling TCP/UDP directly.

What are you doing with the data at either end?
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote