Data Acquisition Toolbox    
daqhwinfo

Display data acquisition hardware information

Syntax

Arguments

'adaptor'
Name of the hardware driver adaptor. The supported adaptors are nidaq, cbi, hpe1432, and winsound.
obj
A device object or array of device objects.
'FieldName'
A single field name or a cell array of field names.
out
A structure containing the requested hardware information.

Description

out = daqhwinfo returns general hardware-related information as a structure to out. The returned information includes installed adaptors, the toolbox and MATLAB version, and the toolbox name.

out = daqhwinfo('adaptor') returns hardware-related information for the specified adaptor. The returned information includes the adaptor DLL name, the board names and IDs, and the device object constructor syntax.

out = daqhwinfo(obj) returns hardware-related information for the device 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. The returned information depends on the device object type, and may include the maximum and minimum sampling rates, the channel gains, the hardware channel or line IDs, and the vendor driver version.

out = daqhwinfo(obj,'FieldName') returns the hardware-related information specified by FieldName for the device object obj. FieldName 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 FieldName. You can return a list of valid field names with the daqhwinfo(obj) syntax.

Example

To display all installed adaptors

To display the device object constructor names for all installed winsound devices

Create the analog input object ai for a sound card. To display the input ranges for ai

To display the minimum and maximum sampling rates for ai


 daqhelp daqmem