Data Acquisition Toolbox | ![]() ![]() |
Understanding the Toolbox Capabilities
In addition to the printed and online documentation, the Data Acquisition Toolbox provides these resources to help you understand the product capabilities:
The Contents M-File
The Contents
M-file lists the toolbox functions and demos. You can display this information by typing
Documentation Examples
This guide provides detailed examples that show you how to acquire or output data. These examples are collected in the example index, which is available through the Help browser
Some examples are constructed as mini-applications that illustrate one or two important features of the toolbox and serve as templates so you can see how to build applications that suit your specific needs. These examples are included as toolbox M-files and are treated as demos. You can list all Data Acquisition Toolbox demos by typing
All documentation example M-files begin with daqdoc
. To run an example, type the M-file name at the command line. Note that most analog input (AI) and analog output (AO) examples are written for sound cards. To use these examples with your hardware device, you should modify the adaptor name and the device ID supplied to the creation function as needed.
Additionally, most documentation examples are written for clocked subsystems. However, some supported hardware devices -- particularly Measurement Computing devices -- do not possess onboard clocks. If the AI or AO subsystem of your hardware device does not have an onboard clock, then these examples will not work. To use the documentation examples, you can
getsample
function, or output single values using the putsample
function.
ClockSource
property to Software
.
The Quick Reference Guide
The Quick Reference Guide provides a complete overview of the toolbox capabilities, functions, and properties. You might find it useful to print this guide and keep it handy when using the toolbox. You can access this guide through the Help browser.
![]() | Reading and Writing Digital Values | Demos | ![]() |