Hi,
I am trying to acquire an image through MATLAB's Image Acquisition Toolbox using a PULNIX camera connected to a National Instruments PCI-1428 Frame Grabber Board. I have been successfull in obtaining an image; however I would like to also set some specific camera attributes for taking the image (exposure time, gain, etc) which I am unable to do. I can view and set camera attributes through the National Instruments Measurement and Automation Software; however, when trying to set any 'device specific properties' within MATLAB's Image Acquisition Toolbox I am only getting what I believe are settings for the Frame Grabber board.
The specifications of my hardware, software and drivers are as follows:
Frame Grabber Board: National Instruments PCI-1428
Camera: PULNIX 1400CL
MATLAB Version: 2008a
MATLAB Image Acquisition Toolbox Version: 3.1
NI-IMAQ version: 4.0
The 'device specific properties' I obtain when using the 'get(getselectedsource(object))' command in MATLAB are as follows:
General Settings:
Parent = [1x1 videoinput]
Selected = on
SourceName = Channel 0
Tag =
Type = videosource
Device Specific Properties:
AcquisitionDoneDriveLine = none
AcquisitionDoneDrivePolarity = activeHigh
AcquisitionInProgressDriveLine = none
AcquisitionInProgressDrivePolarity = activeHigh
FrameDoneDriveLine = none
FrameDoneDrivePolarity = activeHigh
FrameStartDriveLine = none
FrameStartDrivePolarity = activeHigh
HSyncDriveLine = none
HSyncDrivePolarity = activeHigh
VSyncDriveLine = none
VSyncDrivePolarity = activeHigh
Can I somehow set camera attributes from MATLAB? (Specifically exposure time and gain)
Or, is there a way to setup my configuration within the National Instruments Measurement & Automation Software and then export this configuration to MATLAB?
I know this may not be a National Instruments issue but any help or redirection would be appreciated.
Many thanks,
Tom