Image Acquisition Toolbox Previous page   Next Page
imaqhwinfo

Return information about available image acquisition hardware

Syntax

Description

out = imaqhwinfo returns a structure, out, that contains information about the image acquisition adaptors available on the system. An adaptor is the interface between MATLAB and the image acquisition devices connected to the system. The adaptor's main purpose is to pass information between MATLAB and an image acquisition device via its driver.

out = imaqhwinfo('adaptorname') returns a structure out that contains information about the specified adaptor. The information returned includes adaptor version and available hardware for the specified adaptor. To get a list of valid adaptor names, use the imaqhwinfo syntax.

out = imaqhwinfo('adaptorname','field') returns the value of the specified field, field, for the specified adaptor. The argument field can be a single string or a cell array of strings. If field is a cell array, out is a 1-by-N cell array where N is the length of field. To get a list of valid field names, use the imaqhwinfo('adaptorname') syntax.

out = imaqhwinfo('adaptorname', deviceID) returns information for the device identified by the numerical device ID deviceID. The deviceID can be a scalar or a vector. If deviceID is a vector, out is a 1-by-N structure array where N is the length of deviceID.

out = imaqhwinfo(obj) returns a structure out that contains information about the specified image acquisition object obj. If obj is an array of device objects, then out is a 1-by-n cell array of structures where n is the length of obj.

out = imaqhwinfo(obj,'field') returns the hardware information for the specified field, field, for the device object obj. field can be a single field name or a cell array of field names. out is an m-by-n cell array where m is the length of obj and n is the length of field. You can return a list of valid field names with the imaqhwinfo(obj) syntax.

Example

This example returns information about all the adaptors available on the system.

This example returns information about all the devices accessible through a particular adaptor.

This example returns information about a specific device accessible through a particular adaptor. You identify the device by its device ID.

This example gets information about the device associated with a particular video input object.

This example returns the value of a particular field in the device information associated with a particular video input object.

See Also

imaqhelp, imaqreset


Previous page  imaqhelp imaqmem Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2010 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS