User`s guide

Getting Hardware Inform ation
info = imaqhwinfo('ma trox');
info =
AdaptorDllName: [1 x73 char]
AdaptorDllVersion: '2.1 (R2007a)'
AdaptorName: 'matr ox'
DeviceIDs: {[1]}
DeviceInfo: [1x1 stru ct]
The fields in the structure returned by imaqhwinfo provide the following
information.
Field Description
AdaptorDllName
Text string that identifies the n am e of the adaptor
dynamic link library ( D L L)
AdaptorDllVersion
Information about the version of the a daptor DLL
AdaptorName
Name of the adaptor
DeviceIDs
Cell array containing the device IDs of all the
devices accessible through this adaptor
DeviceInfo
Array of device information structures. See
“Getting More Information About a Particular
Device” o n page 4-5 for more information.
Getting More Information About a Particular Device
If an adaptor provides access to multiple devices, you might need to find out
more information about the devices before you can select a device ID. The
DeviceInfo field is a n array o f d ev ice information structures. Each device
information structure contains detailed information about a particular device
available through the adaptor.
To view the information for a particular device, you can use the device ID as a
reference into the
DeviceInfo structure array. Call ima qhwinfo again, this
time specifying a device ID as an argument.
dev_info = imaqhwinfo ('matrox',1)
dev_info =
4-5