User`s guide

DeviceID
Purpose Identify image acquisition device represented by video input object
Description The DeviceID property identifies the device represented by the video
input object.
A device ID is a number, assigned by an adaptor, that uniquely identifies
an image acquisition device. The adaptor assigns the first device it
detects the identifier
1, the second device it detects the identifier 2,
and so on.
YoumustspecifythedeviceIDasanargumenttothe
videoinput
function when you create a video input object. The object stores
the value in the
DeviceID property and also uses the value when
constructing the default value of the
Name property.
To get a list of the IDs of the dev ices connected to your system, use
the
imaqhwinfo function, specifying the name of a particular adaptor
as an argument.
Characteristics
Access Read only
Data type
double
Values Any nonneg ati ve integ er
Examples Use the imaqhwinfo function to determine which adaptors are
connected to devices on your system.
imaqhwinfo
ans =
InstalledAdaptors: {'matrox' 'winvideo'}
MATLABVersion: '7 .4 (R2007a)'
ToolboxName: 'Imag e Acquisition Toolbox'
ToolboxVersion: '2 .1 (R2007a)'
14-4