| Data Acquisition Toolbox | ![]() |
Adaptor-Specific Information
To display hardware information for a particular vendor, you must supply the adaptor name as an argument to daqhwinfo. The supported vendors and adaptor names are given in The Hardware Driver Adaptor. For example, to display hardware information for the winsound adaptor
out = daqhwinfo('winsound')
out =
AdaptorDllName: 'd:\v6\toolbox\daq\daq\private\mwwinsound.dll'
AdaptorDllVersion: 'Version 2.0 (R12) 05-Oct-2000'
AdaptorName: 'winsound'
BoardNames: {'AudioPCI Record'}
InstalledBoardIds: {'0'}
ObjectConstructorName:{'analoginput('winsound',0)'[1x26 char]}
The ObjectConstructorName field lists the subsystems supported by the installed sound cards, and the syntax for creating a device object associated with a given subsystem. To display the device object constructor names available for the AudioPCI Record board
out.ObjectConstructorName(:)
ans =
'analoginput('winsound',0)'
'analogoutput('winsound',0)'
This information tells you that the sound card supports analog input and analog output objects. To create an analog input object for the sound card
ai = analoginput('winsound');
To create an analog output object for the sound card
ao = analogoutput('winsound');
| General Toolbox Information | Device Object Information | ![]() |