An adaptor provides the interface between Data Acquisition Toolbox™ and a DAQ device driver. There are several adaptors for popular vendors available in the toolbox and its support packages. In addition to these, the SDK provides the tools and templates that enable you to create custom adaptors that extend the toolbox support to DAQ devices from other vendors.
The SDK includes a fully functioning demo adaptor. To explore its usage in a data acquisition session, see Session Workflows with the Demo Adaptor.
As outlined in the Adaptor Creation Summary, when creating your own adaptor you can start with a copy of the demo adaptor, and modify it one step at a time. Details and examples are provided in Create Your Adaptor from the Demo Adaptor.
buildAdaptor | Build adaptor for third-party data acquisition interface |
enableDemoAdaptorDiscovery | Allow SDK demo adaptor to be enabled for device discovery and usage |
Learn the relationship between the toolbox and an adaptor.
Explore the installed SDK folders and files.
Explore the installed SDK demo adaptor.
Run utility script to make the demo adaptor available in MATLAB.
Session Workflows with the Demo Adaptor
Run a data acquisition session with typical operations.
Use the installed tests for the demo adaptor.
Create Your Adaptor from the Demo Adaptor
Use the demo adaptor as a template for creating a custom adaptor.
Modify Demo Tests for Your Adaptor
Update the installed demo adaptor tests to create a test suite for your own adaptor.
Handle errors and warnings in your adaptor code.
Channel group definitions and restrictions.
Write functions that are not included in the standard set of session functions.
Use the vendor adaptor templates for creating a custom adaptor from scratch.
Create a toolbox for delivery of your driver, adaptor, and support files.
Adaptor Functions for a Data Acquisition Session
Adaptor and streaming functions called during data acquisition session lifetime workflow.
Overview of adaptor functions for discovery, configuration, and nonclocked operation.
Overview of functions for streaming operation.
Graphical description of adaptor states during streaming operations.
Timing information useful for in-depth knowledge or debugging.