| Data Acquisition Toolbox | Search  Help Desk |
Evaluating Your Hardware Resources
You can evaluate your data acquisition hardware resources with thedaqhwinfo function. Hardware resources include installed boards, hardware drivers, and adaptors. The information returned by daqhwinfo depends on the supplied arguments:
daqhwinfo
Returns general data acquisition information about the toolbox, MATLAB, and the installed adaptors.
daqhwinfo('adaptor')
Returns information for the specified adaptor.
daqhwinfo(obj)
Returns driver and hardware information for the device object obj.
daqhwinfo(obj, 'Property')
Returns information for the specified property for device object obj.
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 1-2 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''