Go to Post I WANT MY POOF BALLS! - Cyber Punk 234 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2010, 12:45
RevusHarkings RevusHarkings is offline
Registered User
FRC #3396
 
Join Date: Feb 2010
Location: Richmond Hill
Posts: 5
RevusHarkings is an unknown quantity at this point
Camera not working

For some reason, the camera doesn't work. The camera's IP is still 192.168.0.90, we ran Setup Axis Camera, so there's an account on it with username and password FRC/FRC. We installed all the updates for Wind River up to 4.3, Labview up to 2.1, and Driver Station up to 1.1. We tried to use the unmodified Vision Demonstration code, but nothing happened in the Dashboard. We've reinstalled everything, including Wind River, but it still doesn't work. The camera is the only thing we're having trouble with. What should we do?

Also, whenever we try to ping the camera's IP, it says "Destination net unreachable". Is this normal?

Last edited by RevusHarkings : 20-02-2010 at 14:35. Reason: Extra info
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2010, 15:02
misko misko is offline
Registered User
FRC #0852
 
Join Date: Dec 2009
Location: California
Posts: 22
misko is an unknown quantity at this point
Re: Camera not working

I'm assuming you are doing a ping from the drive station to the camera which is connected to port 2 on the cRIO. In this case I would expect the ping to fail as the cRIO doesn't forward packets from port 1 to port 2. Besides ping failing, what other symptoms do you see that lead you to believe the camera isn't working?
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2010, 15:31
RevusHarkings RevusHarkings is offline
Registered User
FRC #3396
 
Join Date: Feb 2010
Location: Richmond Hill
Posts: 5
RevusHarkings is an unknown quantity at this point
Re: Camera not working

Well, the only symptom I can think of is that no image displays on the dashboard, even with the 2010ImageDemo.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2010, 15:41
misko misko is offline
Registered User
FRC #0852
 
Join Date: Dec 2009
Location: California
Posts: 22
misko is an unknown quantity at this point
Re: Camera not working

Ok, could be a number of things. Do you have a console, either wired or netconsole attached to the cRIO to see if there are any errors or if the camera task is dying?

If you connect the camera to a PC with IP 192.168.0.xx where xx is anything but 90, and you use a browser to connect to http://192.168.0.90 do you see a live image from the camera? If so then you know the camera is working so then you need to look at the code.

Also I assume the LEDs are lit on the ports on the cRIO when the camera is plugged in and the light around the lens of the camera is green?
Reply With Quote
  #5   Spotlight this post!  
Unread 20-02-2010, 15:43
RevusHarkings RevusHarkings is offline
Registered User
FRC #3396
 
Join Date: Feb 2010
Location: Richmond Hill
Posts: 5
RevusHarkings is an unknown quantity at this point
Re: Camera not working

Never mind, I fixed it by changing the camera's subnet mask from 255.255.255.0 to 255.0.0.0.
Reply With Quote
Reply


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
Camera particleToImagePercent not working TPNigl Programming 3 19-02-2010 14:53
Camera not working... AG-chadd Programming 4 04-02-2009 22:10
Camera not working LinuxMercedes Programming 10 13-01-2009 10:18
Camera not working st1nkm4n Programming 7 02-02-2006 08:22
Camera not working st1nkm4n Programming 0 31-01-2006 19:23


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

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