Go to Post I guess the freshmen had to learn the hard way, never turn your back on a robot. - Bcahn836 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2013, 13:08
Schnyde Schnyde is offline
Registered User
FRC #2856
 
Join Date: Jan 2012
Location: Kentucky
Posts: 7
Schnyde is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2013, 13:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,590
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2013, 16:44
Schnyde Schnyde is offline
Registered User
FRC #2856
 
Join Date: Jan 2012
Location: Kentucky
Posts: 7
Schnyde is an unknown quantity at this point
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...
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2013, 16:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,590
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: How to UDP

NetworkTables support was added this year to LabVIEW.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2013, 17:09
Schnyde Schnyde is offline
Registered User
FRC #2856
 
Join Date: Jan 2012
Location: Kentucky
Posts: 7
Schnyde is an unknown quantity at this point
Re: How to UDP

Ok, thanks
Reply With Quote
Reply


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


All times are GMT -5. The time now is 12:48.

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