How can I access the properties of the camera connected to

Technical Source
2 min readFeb 7, 2022

--

How can I access the properties of the camera connected to my NI PCI-1428 frame grabber board when using Image Acquisition Toolbox 3.4 (R2009b) ?

I am attempting to acquire images from a camera manufactured by Goodrich-Sensor using the National Instruments PCI-1428 frame grabber board. I am able to acquire the images successfully. The camera has additional properties such as exposure time, gain, timer to name a few. I am able to set these properties using National Instruments Measurement & Automation Explorer (NI-MAX). I would like to be able to set these properties from within MATLAB.

I execute the code below to retrieve the properties of the currently selected source.

vid=videoinput('ni',1,'img0');src = getselectedsource(vid);get(src)

However, the properties returned are for the frame grabber board and not the camera itself.

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

It is not possible to modify the camera specific properties directly from MATLAB. You would have to set them using NI-MAX and then acquire images using Image Acquisition Toolbox.

The camera specific properties that are set using NI-MAX are saved to an interface file. This interface is the one referenced in the object constructor below:

vid = videoinput('ni',1,'img0');

The third input argument, “img0”, is the interface file. The values that are saved by the NI-MAX into the interface will be used by the adaptor to create the VIDEOINPUT object.

The NI adaptor for the Image Acquisition Toolbox uses the National

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet