View Single Post
  #1   Spotlight this post!  
Unread 25-01-2011, 13:17
Straberrie's Avatar
Straberrie Straberrie is offline
The Plague
AKA: Rebecca
FRC #0375 (Robotic Plague)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2007
Location: New York
Posts: 59
Straberrie will become famous soon enough
Axis Vision Problem

Hey everyone,

I am going to edit this post because half of it was resolved. Thanks to those who helped!


Current issue:

The code in the attachments does not result in a streaming video on the classmate's dashboard. I configured the camera according to the camera configuration guide provided by FIRST.



The Post that was here previously:

Quote:
I am having problems and I am not sure what causes them. I am running pretty simple code (in attachments).

The purpose of this test code is to

1) Have Servos tilt the camera
2) Have Camera Image displayed in the classmate's dashboard

I set-up the camera prior to running the code according to the FIRST Camera Configuration Guide and had the image show to the browser during the set-up. I am using the Axis 206.

I loaded the code ( and I had the right download location specified in Windriver's preferences). I reset the cRio and then ran teleop.

The Camera image did not show and the servos did not run.

I never worked with the camera before, so maybe it is the code error, but I think the servo code is correct.

__________________________________________________ ____

I do not know what is causing the issue, but when I was re-imaging the cRio i had a few problems, so is it maybe because the cRio is not processing the code?

1) When I first re-imaged it, the cRio reset to the correct IP address (10.3.75.2) and I could ping it, but my cRio imaging tool would no longer detect it and I could not load coad.

2) I IP reset the cRio and did the re-imaging again and got the following error:

Quote:
Unable to complete operation because of unexpected error:
Error 7 occurred at File/Directory Info in NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi->NI_InternetTK_FTP_VIs.lvlib:FTP Store Multiple.vi->NI_InternetTK_FTP_VIs.lvlib:FTP Put Multiple Files and Buffers.vi->NI_InternetTK_FTP_VIs.lvlib:FTP Put File.vi->ConfigUtility.lvlib:CloseAndUploadRemoteConfigura tion.vi->ConfigUtility.lvlib:CurrentLanguageConfig.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlibialog.vi

Possible reason(s):

LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.

C:\Users\Robotics\AppData\Local\Temp\lvtemporaryd_ 440493\FRC_ImageVersion.ini
3) Re-imaged again and everything ran successfully.

4) re-imaged the crio again when I thought the cRio was the problem and got the following error

Quote:
Unable to complete operation because of unexpected error:
Error 56 occurred at TCP Open Connection in repFPC open connection.vi->Query Format.vi->Format Target.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlibialog.vi

Possible reason(s):

LabVIEW: The network operation exceeded the user-specified or system time limit.
5) I did not know what was wrong and my imaging device started to act strange, so I put the cRio into the safe mode, formated it, and then re-imaged again

6) Re-imaging was successful, so I reset the cRio, deployed code, and still, nothing worked.

________________________________________
Thank you for the help!
Attached Thumbnails
Click image for larger version

Name:	Code.png
Views:	36
Size:	8.9 KB
ID:	9822  Click image for larger version

Name:	Definitions.png
Views:	38
Size:	9.9 KB
ID:	9823  
__________________
Team 375: The Robotic Plague
Current Robot: I-Chihuahua
Last Event: Big Apple Breakaway

Last edited by Straberrie : 25-01-2011 at 16:01.