03-15-2024 07:09 PM
Hello all,
We are struggling with a USB Camera issue and are not able to get our camera to connect in LABVIEW. Our NT Connection LED on the dashboard is on, the camera shows up in the dropdown menu, the camera has it's preset size and framerate, and we have no camera related errors in our driver station log. Our firewalls have been checked and should be letting it through. We also just competed in week 1 and the other teams and volunteers also seemed stumped as to what the issue may be. What normally happens is upon selecting the camera in the dashboard, it goes through its set up before giving us an error about failing to connect to the camera server. We will wait for the countdown to finish and the code to try again but get the same error. We set up and tested a C++ code with the camera, using shuffleboard as our dashboard, and it worked right away with no issues, so we know the problem is not with the camera. Any suggestions on what we are doing wrong or recommendations on how to fix it would be great.
Thank you for the help,
Team 7915
03-22-2024 12:06 AM
Hello Dhick025,
I’m sorry to hear the LabVIEW implementation is now working as expected for you. Can you share which camera model you are using, and which settings? Do these work according to the test VI from Robot Camera Images Not Appearing in FRC Dashboard - NI? I wonder if the difference between LabVIEW and other languages is how the camera’s setting are being set, which is now allowing the camera server in LabVIEW to properly configure and acquire the image.
Cheers,