| Data Acquisition Toolbox | Search  Help Desk |
Evaluating Your Hardware Resources
You can evaluate your data acquisition-related hardware resources with thedaqhwinfo function. Hardware resources include installed hardware, hardware drivers, and adaptors. This information can be displayed at any time to assist you in configuring and evaluating your acquisition.
The information returned by daqhwinfo depends on the supplied arguments (if any):
daqhwinfo returns general data acquisition information about the toolbox, MATLAB, and the installed adaptors.
daqhwinfo('adaptor') returns information for the specified adaptor.
daqhwinfo(object) returns driver and hardware information for object.
daqhwinfo(object, 'Property') returns information for the specified property.
daqhwinfo('winsound')
ans =
AdaptorDllName: 'D:\v5\toolbox\daq\private\mwwinsound.dll'
AdaptorDllVersion: '1.0.2.1'
AdaptorName: 'winsound'
BoardNames: {'Sound Blaster Record'}
InstalledBoardIds: '[0]'
ObjectConstructorName: {'analoginput('winsound',0)' [1x26 char]}
This information can be displayed at any time to assist you in configuring your data acquisition session.
The driver and hardware information for the sound card example on page 3-17 is shown below.
daqhwinfo(AI)
ans =
AutoCalibrate: 'Off'
Bits: 16
ConversionOffset: 0
Coupling: {'AC Coupled'}
DeviceName: 'Sound Blaster Record'
DifferentialChannels: 0
DriverName: 'winsound'
Gains: []
ID: 0
InputRanges: [-1 1]
MaxSampleRate: 44100
MinSampleRate: 8000
NativeDataType: 'Int16'
Polarity: {'Bipolar'}
SampleType: 'SimultaneousSample'
SingleEndedChannels: 2
SubsystemType: 'AnalogInput'
TotalChannels: 2
VendorDriverDescription: 'Windows Multimedia Driver'
VendorDriverVersion: '2.0'
For more information about daqhwinfo, refer to Chapter 6, "Function Reference."