Download Data Acquisition Toolbox 2 User`s Guide

Transcript
A
Troubleshooting Your Hardware
Other Things to Try
In this section...
“Registering the Hardware Driver Adaptor” on page A-20
“Contacting The MathWorks” on page A-21
Registering the Hardware Driver Adaptor
When you first create a device object, the associated hardware driver adaptor
is automatically registered so that the data acquisition engine can make use
of its services.
The hardware driver adaptors included with the toolbox are all located in the
daq/private directory. The full name for each adaptor is shown below.
Supported Vendors/Device Types and Full Adaptor Names
Vendor/Device Type
Full Adaptor Name
Advantech
mwadvantech.dll
Agilent Technologies
mwhpe1432.dll
Keithley
mwkeithley.dll
Measurement Computing
mwmcc.dll
National Instruments
mwnidaq.dll
Parallel ports
mwparallel.dll
Windows sound cards
mwwinsound.dll
If for some reason a toolbox adaptor is not automatically registered, then you
need to register it manually using the daqregister function. For example, to
manually register the sound card adaptor:
daqregister('winsound');
If you are using a third-party adaptor, then you might need to register it
manually. If so, you must supply the full pathname to daqregister. For
example, to register the third-party adaptor myadaptor.dll:
A-20