Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Camera connection is lost after Driver Station sets IP (http://www.chiefdelphi.com/forums/showthread.php?t=111295)

Itamar 15-01-2013 15:03

Camera connection is lost after Driver Station sets IP
 
Hello!

We are experiencing difficulties with our Axis Camera. We configured it with the Configuration Tool. The camera, cRIO and computer are all connected to our router. The computer can access the camera when it's IP is automatic, but when we set it to 10.19.43.5 (in order to communicate with the cRIO) the camera connection is lost. What can cause this problem?

Thanks!

Alan Anderson 15-01-2013 15:24

Re: Camera connection is lost after Driver Station sets IP
 
It sounds like your camera isn't configured to the right address. What options did you select in the Configuration Tool?

Itamar 15-01-2013 15:33

Re: Camera connection is lost after Driver Station sets IP
 
Quote:

Originally Posted by Alan Anderson (Post 1215885)
It sounds like your camera isn't configured to the right address. What options did you select in the Configuration Tool?

We chose the "Robot Radio" option. When I configure the computer's IP as automatic I can access the camera at 10.19.43.11, I think that means it's configured correctly.

Alan Anderson 15-01-2013 15:42

Re: Camera connection is lost after Driver Station sets IP
 
I'm curious -- how would the computer obtain an address if you set it to automatic?

Do you have both wired and wireless interfaces active? It's possible that the wireless connection is already on the 10.19.43.9 address and lets you connect to the camera through it, but when you try to set the wired connection to the same subnet things get confused.

Itamar 15-01-2013 15:50

Re: Camera connection is lost after Driver Station sets IP
 
Quote:

Originally Posted by Alan Anderson (Post 1215905)
I'm curious -- how would the computer obtain an address if you set it to automatic?

Do you have both wired and wireless interfaces active? It's possible that the wireless connection is already on the 10.19.43.9 address and lets you connect to the camera through it, but when you try to set the wired connection to the same subnet things get confused.

Right now we don't have a laptop to work with, so the computer I'm working with (which doesn't have a wireless adapter) is wired directly with an Ethernet cable to the router (the camera and cRIO are also wired directly).

I'm not sure how the computer obtains the IP automatically, all I know is when it is set to "Obtain an IP address automatically" typing 10.19.43.11 in Chrome gets me to the camera's panel, but when I choose "Use the following IP address", type 10.19.43.5 and go to 10.19.43.11 in Chrome, it doesn't show anything.

Edit: I found a laptop to work with and connected it wireless-ly to the router (the cRIO and camera stayed wired directly) and it actually acted the same way. When I set it to automatic IP the camera worked (but no cRIO communication) and when I set the IP to 10.19.43.5 the camera stopped working and the cRIO communications came back.

Joe Ross 15-01-2013 16:21

Re: Camera connection is lost after Driver Station sets IP
 
What IP address does the computer have when set to automatic?

Itamar 15-01-2013 16:25

Re: Camera connection is lost after Driver Station sets IP
 
Quote:

Originally Posted by Joe Ross (Post 1215932)
What IP address does the computer have when set to automatic?

When the computer is wired directly to the router running "ipconfig" gives me:

Quote:

IPv4 Address: 192.168.2.100

Alan Anderson 15-01-2013 16:35

Re: Camera connection is lost after Driver Station sets IP
 
When you say "router" you mean the D-Link DAP, right? It sounds like you haven't configured it yet, and it's still using its out-of-the-box settings.

But I don't understand how or why that would give the symptoms you report.

Itamar 15-01-2013 16:43

Re: Camera connection is lost after Driver Station sets IP
 
Quote:

Originally Posted by Alan Anderson (Post 1215947)
When you say "router" you mean the D-Link DAP, right? It sounds like you haven't configured it yet, and it's still using its out-of-the-box settings.

But I don't understand how or why that would give the symptoms you report.

This could be the cause of the problem we're facing. We were told that in Israel 5Ghz routers are prohibited, so several D-Link's we're specialy manufactured for the Israeli teams.

Since they don't make them any more, if something happens to ours we will be in big trouble. So for now we've locked the D-Link DAP in a place where nothing can happen to it, and we're using another router, a BR-6424n Edimax.

Alan Anderson 15-01-2013 20:38

Re: Camera connection is lost after Driver Station sets IP
 
You should configure the router you have to these settings:

IP address 10.19.43.1
Netmask 255.255.255.0
SSID "1943"
DHCP *OFF*

But the important thing is that all devices should connect to one of the router's four LAN ports. You should plug NOTHING into the WAN port. I'm guessing that's the cause of the problem you're having.

And there's no reason to use the WPS feature.

Itamar 16-01-2013 14:55

Re: Camera connection is lost after Driver Station sets IP
 
Quote:

Originally Posted by Alan Anderson (Post 1216115)
You should configure the router you have to these settings:

IP address 10.19.43.1
Netmask 255.255.255.0
SSID "1943"
DHCP *OFF*

But the important thing is that all devices should connect to one of the router's four LAN ports. You should plug NOTHING into the WAN port. I'm guessing that's the cause of the problem you're having.

And there's no reason to use the WPS feature.

Thank you very much!!! Everything is working now! I'm not sure if it was wrong router settings or that the camera was connected to the WAN port.

I told another team mate about your post and he reconfigured the router, disconnected everything and connected them back to the LAN ports (when I asked him about it he said he didn't remember if the camera was connected to the WAN port).

Anyway, thanks a lot! If you have a moment: we're still having problems with using NetworkTables.


All times are GMT -5. The time now is 13:40.

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