enableDemoAdaptorDiscovery

Allow SDK demo adaptor to be enabled for device discovery and usage

Description

example

daq.sdk.utility.enableAdaptorDiscovery allows the SDK demo adaptor to be found and used in a data acquisition session. The adaptor is enabled until the end of the MATLAB® session or until execution of daqreset.

Examples

collapse all

Enable the demo adaptor and view its devices.

daqreset;
daq.sdk.utility.enableDemoAdaptorDiscovery;
devices = daq.getDevices
devices = 

Data acquisition devices:

index Vendor Device ID    Description    
----- ------ --------- ------------------
1     mw     MWDev0    MathWorks MW314159
2     mw     MWDev1    MathWorks MW314159
3     mw     MWDev2    MathWorks MW628318

Introduced in R2017a