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.
Explore the installed SDK demo adaptor.
Run utility script to make the demo adaptor available in MATLAB.
Run a data acquisition session with typical operations.
Use the installed tests for the demo adaptor.
Use the demo adaptor as a template for creating a custom 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.
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.