|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Connecting two java programs with a Ethernet cord
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. ![]() |
|
#2
|
||||
|
||||
|
Re: Connecting two java programs with a Ethernet cord
Quote:
What are you doing with the data at either end? |
|
#3
|
||||
|
||||
|
Re: Connecting two java programs with a Ethernet cord
Well i would most likely be transferring Variables and Numbers from the Laptop to the cRIO.
|
|
#4
|
||||
|
||||
|
Re: Connecting two java programs with a Ethernet cord
I would definitely recommend saving yourself a lot of trouble and use the SmartDashboard. It can do that without a problem.
|
|
#5
|
||||
|
||||
|
Re: Connecting two java programs with a Ethernet cord
Quote:
|
|
#6
|
||||
|
||||
|
Thank You,
I have never used SmartDashboard before so i will look into that and see what i can do. |
|
#7
|
||||
|
||||
|
Re: Connecting two java programs with a Ethernet cord
Does SmartDashboard have a API??
|
|
#8
|
|||
|
|||
|
Re: Connecting two java programs with a Ethernet cord
|
|
#9
|
||||
|
||||
|
Re: Connecting two java programs with a Ethernet cord
Quote:
|
|
#10
|
|||||
|
|||||
|
Re: Connecting two java programs with a Ethernet cord
Note: SmartDasboard 2/NetworkTables 2 will be coming out for the 2013 season. Make sure to upgrade when it arrives!
|
|
#11
|
||||
|
||||
|
Re: Connecting two java programs with a Ethernet cord
Quote:
![]() Has anybody managed to figure out how NT2 works, exactly? I'm sure it's much more efficient than NT1 but it also seems a whole lot more complicated. We don't have a robot to test on atm so I really couldn't mess with it much even if I wanted to. Last edited by F22Rapture : 11-12-2012 at 17:40. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|