04-28-2016 09:42 AM
Hi all,
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
MortZxD
05-01-2016 01:22 PM
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.
06-18-2016 11:03 AM
06-18-2016 11:47 AM
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.
06-18-2016 03:16 PM
@stha2232 wrote:Do we have to use only 192.168.1.1 or type http://192.168.1.1 ? Cause I am a new user?
Define what you mean by "use". Where exactly are you typing this?
06-19-2016 01:52 PM
Sorry I didn't notice this when you first posted it.
Hope this is helpful to you.
Bob Schor
06-19-2016 02:41 PM
(Bob, I think these are two different users, positng over a month apart. The two questions are probably unrelated)
06-19-2016 08:37 PM
@altenbach wrote:(Bob, I think these are two different users, positng over a month apart. The two questions are probably unrelated)
Oops ...
BS
08-16-2018 07:16 AM - edited 08-16-2018 07:16 AM
Just Change the IP address of the robot from static IP to Dynamic IP in Max. It will work