Since the camera is USB, it needs to be read and forwarded to the dashboard computer. This is done by the default framework, but not by the vision examples.
Also, be sure to choose a camera mode on the dashboard. It defaults to Camera Off, but has choices for USB SW and USB HW. USB SW will pay attention to the compression settings and allow for greater control over what is requested from the camera, but will use more roboRIO cpu to do it. USB HW grays out and ignores the compression, but since the camera itself does the compression, it uses very little roboRIO CPU.
Thank you for the response, but when I try to turn on the camera from the dashboard and use the USB SW setting, the camera feedback is blank. I saw somewhere that I had to make a new dashboard, and that didn’t work either.
Are you still running the example, or are you running the arcade or tank or other project? That code contains a call in side of Vision Processing that will connect to the dashboard. The example code doesn’t.
Oh ok, so I find that code in the default Vision Processing.vi, and I can do that inside the one I have now, and yes it is the Color and shape processing.vi.
I think you are talking about if I still have the example.vi still as itself, and not saved as the vision.vi in the robot project. I did use save as and the hierarchy to move the example to my project. I’ll post tomorrow if it works and/or with pictures in case I don’t find the code in the default vision.vi.
I built and deployed my code to the Roborio. When I press USB HW and the green arrow to start the camera. The only feedback is a picture, and no video stream. I need to figure out how to get that to loop and fix it.
The green arrow, red rectangle and red circle are related to dashboard record and playback and not to dashboard display. Specifically, when you press the green arrow, you should have a floating window show up that lets you select a previous video and dashboard and play it. The red circle says that you want to start recording, and red square stops both of those and goes live again.