Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

enableDemoAdaptorDiscovery

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

Syntax

daq.sdk.utility.enableAdaptorDiscovery

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

Was this topic helpful?