Data Acquisition Toolbox    
daqregister

Register or unregister a hardware driver adaptor

Syntax

Arguments

'adaptor'
The hardware driver adaptor name. The supported adaptors are hpe1432, keithley, mcc, nidaq, parallel, and winsound.
'unload'
Specifies that the hardware driver adaptor is to be unloaded.
out
Captures the message returned by daqregister.

Description

daqregister('adaptor') registers the hardware driver adaptor specified by adaptor. For third-party adaptors, adaptor must include the full pathname.

daqregister('adaptor','unload') unregisters the hardware driver adaptor specified by 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