User`s guide
1 Getting Started
1-10
Device Information Description
communicate. See “Determining the Device ID” on page 1-10 for
more information.
Note: Specifying the device ID is optional; the toolbox uses the first
available device ID as the default.
Video format The video format specifies the image resolution (width and height)
and other aspects of the video stream. Image acquisition devices
typically support multiple video formats. See “Determining the
Supported Video Formats” on page 1-11 for more information.
Note: Specifying the video format is optional; the toolbox uses one of
the supported formats as the default.
Determining the Adaptor Name
To determine the name of the adaptor, enter the imaqhwinfo function at the MATLAB
prompt without any arguments.
imaqhwinfo
ans =
InstalledAdaptors: {'dcam' 'winvideo'}
MATLABVersion: '7.4 (R2007a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '2.1 (R2007a)'
In the data returned by imaqhwinfo, the InstalledAdaptors field lists the adaptors
that are available on your computer. In this example, imaqhwinfo found two adaptors
available on the computer: 'dcam' and 'winvideo'. The listing on your computer
might contain only one adaptor name. Select the adaptor name that provides access
to your image acquisition device. For more information, see “Determining the Device
Adaptor Name” on page 5-2.
Determining the Device ID
To find the device ID of a particular image acquisition device, enter the imaqhwinfo
function at the MATLAB prompt, specifying the name of the adaptor as the only
argument. (You found the adaptor name in the first call to imaqhwinfo, described