Data Acquisition Toolbox | ![]() ![]() |
Register or unregister a hardware driver adaptor
Syntax
Arguments
Description
registers the hardware driver adaptor specified by daqregister('
adaptor
')
adaptor
. For third-party adaptors, adaptor
must include the full pathname.
unregisters the hardware driver adaptor specified by daqregister('
adaptor
','
unload
')
adaptor
. For third-party adaptors, adaptor
must include the full pathname.
out = daqregister(...)
captures the resulting message in out
.
Remarks
A hardware driver adaptor must be registered so the data acquisition engine can make use of its services. Unless an adaptor is unloaded, registration is required only once.
For adaptors that are included with the toolbox, registration occurs automatically when you first create a device object. However, you might need to register third-party adaptors manually. In either case, you must install the associated hardware driver before registration can occur.
Example
The following command registers the sound card adaptor provided with the toolbox.
The following command registers the third-party adaptor myadaptor.dll
. Note that you must supply the full pathname to daqregister
.
![]() | daqread | daqreset | ![]() |