|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. |
|
#2
|
||||
|
||||
|
Re: Camera Code Issues
|
|
#3
|
|||
|
|||
|
Re: Camera Code Issues
Quote:
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 |
|
#4
|
||||
|
||||
|
Re: Camera Code Issues
ok, I'll be sure to check both of those.
|
|
#5
|
||||||
|
||||||
|
Re: Camera Code Issues
Are you hitting the run button on robot main, or on your camera code?
|
|
#6
|
||||
|
||||
|
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. |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |