06-28-2022 07:48 AM
Hello All,
I am unable to set USB2.0 camera attributes through LabVIEW while the same could be done through NI-MAX. Since the camera is USB2.0 based, earlier it was not detectable in NI-MAX as well. Then after installing LabVIEW driver for the same I was able to detect the camera on MAX as well as change its parameters using MAX. But now when I am trying to write a code in LabVIEW to control the camera parameters programmatically, I am unable to do that. The code is working fine but the parameters are not changing. Please help
06-28-2022 11:54 AM
Please attach all of the LabVIEW code you are trying to use with your camera. What kind of camera is it (maker, model)? I have successfully used Logitech Web Cams (which I think are USB 2.0), as well as the Web Cams that come "built-in" with modern laptops, in both MAX and LabVIEW.
What version of LabVIEW are you running (both year and whether 32 or 64-bit version)? What Vision packages have you installed? Specifically, do you have Vision Acquisition Software?
Bob Schor
01-18-2023 03:57 AM
Hi,
The program ran successfully. I was using a local camera and trying to grab image dynamically and simultaneously change its parameters. I understood that the problem was with grab set up.vi of LabVIEW. Attaching the running code for your reference. Sorry for delayed response
01-18-2023 12:11 PM
I'm glad you figured it out. It's not clear (to me) why you abandoned that pretty "Focusing Value" control for the "mundane" Numeric one, which appears to be equivalent (unless you want to "type in a number", I suppose ...).
Bob Schor