Go to Post However, as a philosopher, while you need math, you can probably talk your way out of it. - sciguy125 [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 29-09-2009, 15:40
Phoenix.14's Avatar
Phoenix.14 Phoenix.14 is offline
Registered User
AKA: Thomas
FRC #1757 (The Wolverines)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Westwood, MA
Posts: 12
Phoenix.14 is an unknown quantity at this point
Camera Code Issues

I'm trying to set up our Axis camera on the robot using Labview, but I've been having some difficulties. Our goal is to have the camera relay an image back to the laptop through the cRIO's wireless connection, so we have the following code set up;

The front panel has an image display set up corresponding to the labeled point in the code, and I'm attempting to run it through the front panel's run button (this code exists in our robot main, so the visual display does as well).

However, when I hit the run button, I get the two following errors:
1) Error -44085 occurred at Loaded FPGA has incorrect version or revision. Library expecting Version 2009, Revision 1.0.0.
Possible reason(s):

FRC: The FPGA bit file has an incorrect version or revision.
2) Error -44003 occurred at The operation failed because there was a failure in communication with the camera.
Possible reason(s):
FRC: Operation failed due to a communication failure with the camera.


This occurs both if I plug the laptop's ethernet cable into the linksys router on our control board, or the driver's station's second port (side note, which one of those should I use?). Also, neither labview nor the robot's image has been updated since the last time we loaded code onto the robot.

Am i doing anything wrong, or is there something I should be doing that I'm not? thanks in advance for any help.
Reply With Quote
  #2   Spotlight this post!  
Unread 29-09-2009, 18:27
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Camera Code Issues

Sounds maybe like your LabVIEW hasn't been updated. Make sure you have the latest version.

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #3   Spotlight this post!  
Unread 29-09-2009, 20:57
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: Camera Code Issues

Quote:
2) Error -44003 occurred at The operation failed because there was a failure in communication with the camera.
Possible reason(s):
FRC: Operation failed due to a communication failure with the camera.
I think the second issue is more likely. The first thing I'd do is to redo the camera setup. It is pretty easy for the button on the back of the camera to be pressed, and if pressed when powering up, the camera is reset and you lose the account and other settings.

If you'd like to verify the issue first, hook the camera directly to the development computer using the crossover (a normal patch cable will probably work on most computers). Once connected, set the computer IP to 192.168.1.10 or a similar range. Then type 192.168.1.90 into the address line of a web browser. This should bring up the login screen for the camera. If you login, check to see if you have the login account of FRC. If you cannot remember the login, go through the reset process of pressing and holding the reset button, then applying power. When the light flashes orange, release the button.

I suspect things will work fine once the camera responds to the HTTP requests. Also be sure to reset your computer IP if you have to change it for camera setup.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 29-09-2009, 23:07
Phoenix.14's Avatar
Phoenix.14 Phoenix.14 is offline
Registered User
AKA: Thomas
FRC #1757 (The Wolverines)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Westwood, MA
Posts: 12
Phoenix.14 is an unknown quantity at this point
Re: Camera Code Issues

ok, I'll be sure to check both of those.
Reply With Quote
  #5   Spotlight this post!  
Unread 30-09-2009, 11:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Camera Code Issues

Are you hitting the run button on robot main, or on your camera code?
Reply With Quote
  #6   Spotlight this post!  
Unread 30-09-2009, 14:33
Phoenix.14's Avatar
Phoenix.14 Phoenix.14 is offline
Registered User
AKA: Thomas
FRC #1757 (The Wolverines)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Westwood, MA
Posts: 12
Phoenix.14 is an unknown quantity at this point
Re: Camera Code Issues

We're using the run button on our robot main, which contains the camera code for the moment.

I downloaded and installed the update, although it gave me no indication of whether or not i already had the right version. I also verified that the camera still has the FRC/FRC login that the setup created for it.

Unfortunately, i'm still getting the incorrect FPGA bit file error, and I've narrowed it down a bit; in fact, I discovered that the computer gives the exact same error series if the robot is turned off, so it would seem that our problem lies somewhere between the computer and the cRIO. What's the correct process for making that connection? We're using our normal driver's station setup and plugging the laptop into one of the other ports on the router, but that obviously isn't working.
Reply With Quote
  #7   Spotlight this post!  
Unread 30-09-2009, 19:56
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: Camera Code Issues

If your code downloads, then I don't really think there is a comms issue. You can also test this by right clicking on the cRIO target in the project window and choosing to connect. This is a subset of the download, and if it fails, look more closely at comms, otherwise, you know you can connect.

What I'd probably do to troubleshoot is to try opening and running one of the examples. Pick one that does a single sensor or controls a motor. Open the project, change the project cRIO IP using properties, and run the example.

If it this also fails, it may be worth reimaging your cRIO, then running the example. Once it works, try your project code again.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 02-10-2009, 15:55
Phoenix.14's Avatar
Phoenix.14 Phoenix.14 is offline
Registered User
AKA: Thomas
FRC #1757 (The Wolverines)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Westwood, MA
Posts: 12
Phoenix.14 is an unknown quantity at this point
Re: Camera Code Issues

Thanks, hitting connect in the project explorer made it work!

Last edited by Phoenix.14 : 02-10-2009 at 16:27.
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 Oversaturation Issues? 114Klutz Programming 11 19-04-2007 17:47
Camera Issues RedOctober45 Programming 5 08-02-2007 15:59
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Camera issues Todd Programming 0 16-02-2005 19:06


All times are GMT -5. The time now is 21:34.

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