For my project I'm trying to control the starter kit 2.0 (sbRIO 9632) remotely from my laptop.
I want to connect my laptop wirelessly to a Linksys E2500 router wirelessly and have the robot connected to the same router via ethernet cable.
I have a working code for controlling the robot from my laptop if connected by cable.
I also have a working code to transfer data via TCP/IP between 2 devices. I used 2 computers connected to the router and was able to change a control on the server laptop and receive the changing data on the client laptop. This worked when both were connected wirelessly and when one was connected wirelessly and the other by ethernet to the router.
However I can't get the robot to respond to any control I send. I deployed the VI on the robot as startup and connect it to the router before turning it on.
I'm assuming the IP configuration is wrong somewhere but I can't figure it out.
Wireless LAN connection on my laptop:
IPv4 ................ 192.168.1.100
subnet mask .. 255.255.255.0
default gateway 192.168.1.1
On the TCP/IP VI I'm using 192.168.1.100 as that worked between the 2 laptops.
I changed the IP setting of the robot to be the same including the subnet mask on MAX and it shows the robot has access to it (pic provided)
Any suggestions would be greatly appreciated thanks
You have an IP conflict. Both your laptop and robot are requesting the same IP, leading to a conflict and dropped connection. It probably worked on the laptops because at least one was configured for DHCP. Use the same mask/gateway, but set different IPs. Also make sure DHCP is disabled on the router and/or the IPs you are setting are not in its lease pool. Generally everything after .200 is free for static IP usage, but the specifics are up to your router.
It really depends on which VIs you're using. Why not try both? Also, start a new thread if you're having a similar problem.
Sorry I didn't notice this when you first posted it.
Hope this is helpful to you.
Just Change the IP address of the robot from static IP to Dynamic IP in Max. It will work