I am going to edit this post because half of it was resolved. Thanks to those who helped!
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:
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
- Have Servos tilt the camera
- 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?
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.
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:CloseAndUploadRemoteConfiguration.vi->ConfigUtility.lvlib:CurrentLanguageConfig.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlib:Dialog.vi
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.
Re-imaged again and everything ran successfully.
re-imaged the crio again when I thought the cRio was the problem and got the following error
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.lvlib:Dialog.vi
LabVIEW: The network operation exceeded the user-specified or system time limit.
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
Re-imaging was successful, so I reset the cRio, deployed code, and still, nothing worked.
Thank you for the help!