Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   How to UDP (http://www.chiefdelphi.com/forums/showthread.php?t=112964)

Schnyde 07-02-2013 13:08

How to UDP
 
My team (2856) wants to send process aiming data on the driverstation/dashboard and then send it back to the robot's cRIO (which runs java) using UDP. Everything I see involving this in threads seems to imply that UDP is a common way of sending data back to the cRIO; however, there doesn't seem to be anything that really says how to do this. I tried using the javadoc to learn, but when I did what it says to do I get a "'datagram' protocol not found" exception. Does anybody know how to UDP in java?

Joe Ross 07-02-2013 13:56

Re: How to UDP
 
As you've found, UDP is not supported in the squawk JVM that we use. You can either use TCP, or use NetworkTables.

Schnyde 07-02-2013 16:44

Re: How to UDP
 
Ok, thanks. I looked into Network Tables; do you know if that is supported by labview? I haven't seen anything on that...

Joe Ross 07-02-2013 16:58

Re: How to UDP
 
NetworkTables support was added this year to LabVIEW.

Schnyde 07-02-2013 17:09

Re: How to UDP
 
Ok, thanks


All times are GMT -5. The time now is 09:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi