User`s guide

imaqhwinfo
This example returns informatio n about a specific device accessible
through a particular adaptor. You identify the device by its device ID.
dev_info = imaqhwinfo ('winvideo', 1)
dev_info =
DefaultFormat: 'RG B555 _128x96'
DeviceFileSupported: 0
DeviceName: 'IBM PC Camera'
DeviceID: 1
ObjectConstructor: 'videoinput('winvideo', 1)'
SupportedFormats: {1x34 cell}
This example gets information about the device associated with a
particular video input object.
obj = videoinput('win video', 1);
obj_info = imaqhwinfo( obj)
obj_info =
AdaptorName: 'winvi deo'
DeviceName: 'IBM PC Camera'
MaxHeight: 96
MaxWidth: 128
NativeDataType: 'u int8 '
TotalSources: 1
VendorDriverDescription: 'Windows WDM Compatible Driver'
VendorDriverVersion: 'DirectX 9.0'
This example returns the value of a particular field in the device
information associated with a particu lar video input obj ect.
field_info = imaqhwin fo(vid,'adaptorname' )
field_info =
12-22