User`s guide

imaqhwinfo
17-37
dev_info = imaqhwinfo('winvideo', 1)
dev_info =
DefaultFormat: 'RGB555_128x96'
DeviceFileSupported: 0
DeviceName: 'IBM PC Camera'
DeviceID: 1
VideoInputConstructor: 'videoinput('winvideo', 1)'
VideoDeviceConstructor: 'imaq.VideoDevice('winvideo', 1)'
SupportedFormats: {1x34 cell}
This example gets information about the device associated with a particular video input
object.
obj = videoinput('winvideo', 1);
obj_info = imaqhwinfo(obj)
obj_info =
AdaptorName: 'winvideo'
DeviceName: 'IBM PC Camera'
MaxHeight: 96
MaxWidth: 128
NativeDataType: 'uint8'
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 particular video input object.
field_info = imaqhwinfo(vid,'adaptorname')
field_info =
winvideo
See Also
imaqhelp | imaqreset