Go to Post Yes there are a lot of problems that will pop up solving the problem, but thats the reason we do engineering for. - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 17-01-2012, 08:31
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Axis Camera err.

Hey guys, I'm having troubles getting my camera to give me a live feed. I have the latest image on the cRIO and I have run the Setup Axis Camera tool successfully a few times. I have tried changing it from Ethernet port 2 on the cRIO to port 2 on the router and changed the code in the Begin.vi to reflect what i set the camera to do with the camera tool.
Most of the time the camera lens has the orange light around it, but sometimes it has turned green and I still haven't received a video feed.
Attached are; 1. the error list generated through the driver station (before enabling) and 2. a screen cap of running the begin.vi in labview with Highlight Execution turned on.
Attached Thumbnails
Click image for larger version

Name:	camrea err-44091.png
Views:	81
Size:	711.9 KB
ID:	11415  
Attached Files
File Type: txt camera err DS.txt (639 Bytes, 14 views)
__________________
~Team 1529 Cybercards~
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2012, 08:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,817
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Axis Camera err.

Try starting from scratch, it looks like you've chewed up the default code a bit.
  • Rerun the camera setup utility to get the settings right and verify the settings by successfully browsing to the camera at 10.xx.yy.11
  • Make sure you have a green ring before expecting any picture
  • Connect the camera to the DLink, not the cRIO
  • Create a new default robot project, and don't make any changes to it.
  • Download the project of course.
  • Fireup the default Dashboard
  • Verify your Classmate IP address and netmask
The default code and settings expect the camera to be connected via the robot DLink with an IP address of 10.15.29.11
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2012, 08:59
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Re: Axis Camera err.

Thanks for the quick response, I'll start from scratch and post the result. It will be 4hr+ before i can get my hands on the robot.
__________________
~Team 1529 Cybercards~
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2012, 19:31
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Re: Axis Camera err.

I just attempted to start from scratch. I re-imaged the crio, ran the axis camera tool, and made a brand new frc project (all of which were successful). After all that I am getting a very similar error log from the driver station and the camera ALWAYS has an orange light.
Attached is the latest error dump from the DS.
Attached Files
File Type: txt camera err 1.17.txt (600 Bytes, 18 views)
__________________
~Team 1529 Cybercards~
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2012, 19:50
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Axis Camera err.

First of all, which model camera are you using? Do you have the Axis 206 or m1011? We've run into some similar problems using the older (206) camera. I'm not sure if the Axis Camera configuration tool provided by FIRST is model dependant, but we also ran into trouble when using the tool. Once we set the camera settings manually, everything worked normally. Here's our process, in case it helps:
  1. Reset the camera (hold the button on the back and power up at the same time)
  2. Change your computer's IP to 192.168.0.12 (the last number can be anything except 90)
  3. Plug the camera directly into your computer's ethernet port, using a crossover cable
  4. Open you web browser of choice, and navigate to 192.168.0.90
    1. You will be prompted for a password: "pass"
    2. On the left side on the screen, go to the "Users" page (or some derivation of that)
    3. Change the password for the admin account to "admin"
    4. Create a new user account, username "FRC", password "FRC"
    5. Go to the "Network Settings" (or some derivation thereof) page and change the camera's IP settings to the following:
      • Camera IP: 10.te.am.11 (where te.am is your team number; mine is 11.24)
      • Subnet mast: 255.0.0.0
      • No gateway
    6. Hit save.
  5. Change your computer IP to 10.te.am.5 (or any address not already in use)
  6. Plug the camera into the dlink bridge using a regular (un-crosssedover) cable and plug your computer into the dlink with another regular ethernet cable
  7. Point your web browser to 10.te.am.11, and enter the proper login credentials (that you set a few steps above)
  8. If you see a live feed, you've done it right!

This document may also be of use (note: it's last year's document, so a little incomplete, but the settings there are correct. It will take you through about my step 4.3.

This process worked for us (I just did it about 30 minutes ago), and it's probably not the best way to solve the problem, but it'll work (albeit require some more work on your part). YMMV.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2012, 20:14
Navi Navi is offline
Registered User
AKA: Ivan
FRC #0840 (Aragon Robotics Team)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: San Mateo
Posts: 12
Navi is an unknown quantity at this point
Re: Axis Camera err.

I had a similar problem with the Axis 206. Manually configuring the camera did the trick. Thanks for the help!
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2012, 09:06
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Re: Axis Camera err.

thanks for the helpful tips. Our camera finally died the other day. it was the older model 206. merely bumping the camera/wires caused the camera to power cycle. I have checked that everything is electrically sound. The team has placed an order for the newer model m1011 and should expect that within a week.

Thanks again for the replies.
__________________
~Team 1529 Cybercards~
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2012, 09:13
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: Axis Camera err.

If bumping the wires causes it to reboot, it may well be the barrel connector and not the camera. I'm not going to discourage getting another camera, but if you look around at other electronics devices, you can likely find a connector that works. Also, in the kit when they included the camera, they gave out two power cables, one coaxial and one lamp-cord style. Perhaps you can move to the other cable.

Greg McKaskle
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


All times are GMT -5. The time now is 12:16.

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