Documentation

Hardware and Device Drivers

Registering the Hardware Driver Adaptor

When you first create a device object, the associated hardware driver adaptor is automatically registered. The data acquisition engine can now make use of its services.

The hardware driver adaptors included with the toolbox are all located in the daq/private folder. These are the full names for each adaptor.

Supported Vendors/Device Types and Full Adaptor Names

Vendor/Device Type

Full Adaptor Name

Advantech®

mwadvantech.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 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 may need to register it manually. If so, supply the full path name to daqregister. For example, to register the third-party adaptor myadaptor.dll:

daqregister('C:/MATLAB/toolbox/daq/myadaptors/myadaptor.dll')

Device Driver Registration

If you are using a Windows Vista™ or a Windows 7 system and cannot register device drivers, you could have UAC enabled on the system. Refer to this technical bulletin for more information.

Hardware Diagnostics

Run daqsupport to get diagnostic information for all installed hardware adaptors on your system. Use this information to diagnose issues with your hardware. Make sure you include this information when you contact MathWorks® support.

Was this topic helpful?