05-12-2008 01:16 PM
05-13-2008
02:21 PM
- last edited on
05-16-2025
03:53 PM
by
Content Cleaner
Dear Tom,
I cannot speak personally to using MATLAB's Image Acquisition Toolbox to return camera attributes, and MathWorks would be better equipped to help you with setting camera attributes using their toolbox. There are alternatives, on being the use of IMAQ library C function calls. See this post: Matlab can't see my NI-IMAQ PCI/PXI - 1428
If you can make C function calls in MATLAB, then you can refer to the NI IMAQ Function Reference help file to find the functions to get and set camera attributes using the IMAQ driver.
The IMAQ driver looks to a camera file (.icd) specific to your camera and usually supplied by your camera manufacturer to determine available camera attributes, ranges, and valid values for those attributes. Though it would be a rather brute force method, you could always parse this file to find specific values and then programatically replace them using text file read/write and string functions before starting your acquisition.
Best Regards,
Nate