|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
cRio Imaging Problems
Our team, 4624, recently encountered a fatal problem. We no longer can see an image, but we have been able to ping it. We know it is a cRio problem because Rochester team 2530 lent us an old cRio for which we have been using for testing. Does anybody know if this can be fixed?
Here is the error code. >>>>nERROR: The object is in an incompatible mode: No content-length token found in packet ...in ReadImagesFromCamera() in C:/WindRiver/workspace/WPILib/Vision/AxisCamera.cpp |
|
#2
|
|||
|
|||
|
Re: cRio Imaging Problems
We imaged the cRio and we have also reset the camera. We have also updated the camera.
|
|
#3
|
|||
|
|||
|
Re: cRio Imaging Problems
Re-imaging was successful, but nothing changed? Can try NI MAX to reformat. Similar procedure, but just right click on CRio in MAX for options. http://digital.ni.com/public.nsf/all...257051006573CA
A couple years ago, I had to telnet in a delete the FRC files due to corruption, but the CRio was having more issue then you are having. It's a UNIX like OS on the CRio - VXWorks - Telnet, FTP, and you can even point your web browser at it. |
|
#4
|
||||
|
||||
|
Re: cRio Imaging Problems
NI MAX and the FRC software don't always play well together. If it's really messed up, MAX doesn't always let you do a reformat.
You can try imaging is safe mode, which wipes everything on the cRIO (like an NI MAX reformat). If you've got the new 4 slot, just push and hold the reset button for 10 sec. The older cRIO has a DIP switch for safe mode. |
|
#5
|
|||||
|
|||||
|
Re: cRio Imaging Problems
What do you mean? Does the video stream not appear on the Dashboard? Or is your code not able to read from the camera?
|
|
#6
|
|||
|
|||
|
Re: cRio Imaging Problems
We are getting nothing on the dashboard.
|
|
#7
|
|||||
|
|||||
|
Re: cRio Imaging Problems
The Dashboard camera view has nothing to do with the cRIO. All you need to do is use the camera configuration tool to set the camera's IP address and add the necessary FRC user name.
If it's just the Dashboard view you're trying to get working, what is the C++ error message about? |
|
#8
|
|||
|
|||
|
Re: cRio Imaging Problems
Just to clarify a number of things.
Imaging a cRIO could also be called reformatting. It reinstalls the OS, the libraries and the FPGA bitfile. This needs to be done once at the beginning of the season and if the image were somehow corrupted. The cRIO runs the Reliance file system, described here. Corruptions are quite rare. You can also image if you were to accidentally delete critical files using ftp or similar tools. The initial post is a runtime error that involves a call to the Axis Camera's mode. In order to fix the runtime error, you need to review your C++ code and look at the parameters to the camera initializer or other vision related calls. You may even want to step through the code to see when the error is produced. Reformatting the controller is one of the last recommendations I'd make to fix the error. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|