Go to Post Just remember to never take the "Us vs Them" mentality and you should come out all right. - Ian Curtis [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-01-2009, 19:48
Sauce Sauce is offline
Registered User
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Louisville
Posts: 35
Sauce is an unknown quantity at this point
Unhappy 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?
  #2   Spotlight this post!  
Unread 07-01-2009, 20:07
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
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...
  #3   Spotlight this post!  
Unread 07-01-2009, 22:39
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
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..
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #4   Spotlight this post!  
Unread 10-01-2009, 12:04
Sauce Sauce is offline
Registered User
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Louisville
Posts: 35
Sauce is an unknown quantity at this point
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.
  #5   Spotlight this post!  
Unread 10-01-2009, 14:53
Eric Finn's Avatar
Eric Finn Eric Finn is offline
Registered User
FRC #0166 (Chop Shop)
Team Role: College Student
 
Join Date: May 2006
Rookie Year: 2005
Location: Merrimack, NH
Posts: 101
Eric Finn has a spectacular aura aboutEric Finn has a spectacular aura about
Send a message via AIM to Eric Finn
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.
__________________
It always takes longer than you expect, even when you take into account Hofstadter's Law.
--Hofstadter's Law

  #6   Spotlight this post!  
Unread 10-01-2009, 16:16
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Connecting Axis Camera

Quote:
Originally Posted by Sauce View Post
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.
  #7   Spotlight this post!  
Unread 18-01-2009, 16:36
landon2345's Avatar
landon2345 landon2345 is offline
Registered User
AKA: Landon
FRC #2345 (United Entropy)
Team Role: Electrical
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Missouri
Posts: 15
landon2345 is an unknown quantity at this point
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?
  #8   Spotlight this post!  
Unread 18-01-2009, 16:54
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
  #9   Spotlight this post!  
Unread 18-01-2009, 20:08
ubergeek ubergeek is offline
Registered User
FRC #2240
 
Join Date: Jan 2008
Location: Denver
Posts: 1
ubergeek is an unknown quantity at this point
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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Axis camera to cRIO laultima FRC Control System 20 21-01-2009 16:56
Model of Axis Camera Bochek CAD 2 18-01-2009 17:50
AXIS Camera nickmagus Programming 1 03-01-2009 20:06
Program Axis Camera in c++ excel2474 Programming 5 22-12-2008 17:14
axis camera - problem s0crates FRC Control System 11 16-12-2008 09:34


All times are GMT -5. The time now is 03:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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