Log in

View Full Version : Send Data to robot


MAldridge
14-03-2011, 16:12
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
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
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
DHCP is not used. It's all static IP addresses.
Each team plays on their own unique VPN.

MAldridge
14-03-2011, 22:08
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
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!