Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Send Data to robot (http://www.chiefdelphi.com/forums/showthread.php?t=93595)

MAldridge 14-03-2011 16:12

Send Data to robot
 
I am trying as a last minute addition to have some data sent from the dashboard to the robot. I am going to use UDP port 1130 to send the data but I don't know what the net address is that I need to use. I am thinking that I should grab the address from where it is given on the dashboard, is this correct?

Alan Anderson 14-03-2011 16:39

Re: Send Data to robot
 
A robot cRIO's IP address is 10.te.am.2, so it would be 10.32.47.2 for team 3247.

MAldridge 14-03-2011 18:28

Re: Send Data to robot
 
so am I wrong in thinking that the FMS uses standard TCP/IP signaling to allocate addresses? If everyone is using their team number in their IP then shouldn't the robots be scattered across several different subnets? Maybe I'm wrong, but that was how I thought ipv4 worked.

Edit:

Now it's not letting me set the "net address" property of the "open UDP" VI

Mark McLeod 14-03-2011 18:50

Re: Send Data to robot
 
DHCP is not used. It's all static IP addresses.
Each team plays on their own unique VPN.

MAldridge 14-03-2011 22:08

Re: Send Data to robot
 
how do I make it set the net address property, I can't use a constant to set the IP.

Edit:
I just found the string to IP and I have used it to convert the IP displayed onscreen to a net address for the UDP VI's

WizenedEE 15-03-2011 01:48

Re: Send Data to robot
 
Let me know if this works, I'm interested in dashboard controls. We might even be able to use them to tune autonomous without a programming laptop!


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

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