Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Connecting Axis Camera (http://www.chiefdelphi.com/forums/showthread.php?t=71525)

Sauce 07-01-2009 19:48

Connecting Axis Camera
 
We have our camera directly connected into the cRIO in port 2. When we ping it we get the error "10.12.45.4: host net unreachable" when we directly plug it into the computer we get "host unreachable" how do we connect the camera?

kyungjin 07-01-2009 20:07

Re: Connecting Axis Camera
 
How are you pinging your camera? If you give me a process I'll try it and see what I get...

whitetiger0990 07-01-2009 22:39

Re: Connecting Axis Camera
 
The camera, when plugged into the cRIO, is on a different network than your computer.

To simplify:
Your computer is on the 10.12.45.* network.
The camera is on the 192.168.0.* network.

The cRIO's two ports are not routed or switched (as far as I know). You cannot ping -through- the two ports. When you connect the Camera to the computer, try changing the IP of your computer to.. 192.168.0.12 (or some other number in that net range) and pinging the camera at 192.168.0.90.

Remember, camera uses a crossover cable with the cRIO. All other situations it is not needed.

I think I explained that right..

Sauce 10-01-2009 12:04

Re: Connecting Axis Camera
 
We connected to it directly through the computer but we can't figure out how to use it through the cRIO, it doesn't give us a blinking orange light on the ethernet port. we use port 2, the gaming adapter is in port 1.

Eric Finn 10-01-2009 14:53

Re: Connecting Axis Camera
 
We pinged the camera when it was plugged into the cRIO by attaching the computer to the console serial port on the cRIO and then typing the following command:

Quote:

ping "192.168.0.2"
Where 192.168.0.2 is the IP address of the camera.

Remember to put quotes around the IP address. Otherwise, the cRIO will think that it's a floating point parameter and tell you that it can't accept the command.

Bongle 10-01-2009 16:16

Re: Connecting Axis Camera
 
Quote:

Originally Posted by Sauce (Post 797538)
We connected to it directly through the computer but we can't figure out how to use it through the cRIO, it doesn't give us a blinking orange light on the ethernet port. we use port 2, the gaming adapter is in port 1.

I had this problem
1. Make sure the cRio is flashed with mandatory update 2.
2. Make sure you are using the orange cable. We were stumped for days because we were using some old crossover cable we had lying around. When we switched to the orange cable, things started working.

landon2345 18-01-2009 16:36

Re: Connecting Axis Camera
 
My team is having the same problem discussed here. We have everything working except for the 2nd port on the cRIO. When we try to ping it we get no response from the port. In the manual it said that the port was disabled in shipping the cRIO and that apparently we had to activate the port. Any clues on how to do that?

Greg McKaskle 18-01-2009 16:54

Re: Connecting Axis Camera
 
You will not be able to ping the camera when it is connected to the cRIO and you are pinging from your PC. The reason is that those are isolated subnets.

The imaging tool that installs the updates will also enable the enet port and set its IP to be compatible with the camera. To test the camera, I'd use an example in the programming tool you are using.

Greg McKaskle

ubergeek 18-01-2009 20:08

Re: Connecting Axis Camera
 
Any luck? I just got ours working Friday night. The big kicker was setting the static address on the camera itself, and adding the FRC/FRC username and password into the camera. After that, labview was able to see the camera. I beleive that the only way to view it is through labview due to the isolated subnets mentioned above. Maybe we can meet up if you can't get it going...


John 2240


All times are GMT -5. The time now is 18:05.

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