Select Index

Getting Started

    Preface
        What Is the Data Acquisition Toolbox?
            Exploring the Toolbox

        Related Products
        Using This Guide
            Expected Background
            Using the Documentation Examples
            How This Guide Is Organized

        Installation Information
            Toolbox Installation
            Hardware and Driver Installation

        Typographical Conventions

    Introduction to Data Acquisition
        Anatomy of a Data Acquisition Experiment
        The Data Acquisition System
            Data Acquisition Hardware
            Sensors
            Signal Conditioning
            The Computer
            Software

        The Analog Input Subsystem
            Sampling
            Quantization
            Channel Configuration
            Transferring Data from Hardware to System Memory

        Making Quality Measurements
            Accuracy and Precision
            Noise
            Matching the Sensor Range and A/D Converter Range
            How Fast Should a Signal Be Sampled?

        Selected Bibliography

    Getting Started with the Data Acquisition Toolbox
        Toolbox Components
            M-File Functions
            The Data Acquisition Engine
            The Hardware Driver Adaptor

        Accessing Your Hardware
            Acquiring Data
            Outputting Data
            Reading and Writing Digital Values

        Understanding the Toolbox Capabilities
            The Contents M-File
            Documentation Examples
            The Quick Reference Guide
            Demos

        Examining Your Hardware Resources
            General Toolbox Information
            Adaptor-Specific Information
            Device Object Information

        Getting Help
            The daqhelp Function
            The propinfo Function

Examples

The Data Acquisition Session

    Overview
    Creating a Device Object
        Creating an Array of Device Objects
        Where Do Device Objects Exist?

    Adding Channels or Lines
        Mapping Hardware Channel IDs to MATLAB Indices

    Configuring and Returning Properties
        Property Types
        Returning Property Names and Property Values
        Configuring Property Values
        Specifying Property Names
        Default Property Values
        The Data Acquisition Property Editor

    Acquiring and Outputting Data
        Starting the Device Object
        Logging or Sending Data
        Stopping the Device Object

    Cleaning Up

Getting Started with Analog Input

    Creating an Analog Input Object
    Adding Channels to an Analog Input Object
        Referencing Individual Hardware Channels
        Example: Adding Channels for a Sound Card

    Configuring Analog Input Properties
        The Sampling Rate
        Trigger Types
        The Samples to Acquire per Trigger

    Acquiring Data
        Starting the Analog Input Object
        Logging Data
        Stopping the Analog Input Object

    Analog Input Examples
        Acquiring Data with a Sound Card
        Acquiring Data with a National Instruments Board

    Evaluating the Analog Input Object Status
        Status Properties
        The Display Summary

Doing More with Analog Input

    Configuring and Sampling Input Channels
        Input Channel Configuration
        Sampling Rate
        Channel Skew

    Managing Acquired Data
        Previewing Data
        Extracting Data from the Engine
        Returning Time Information

    Configuring Analog Input Triggers
        Defining a Trigger: Trigger Types and Conditions
        Executing the Trigger
        Trigger Delays
        Repeating Triggers
        How Many Triggers Occurred?
        When Did the Trigger Occur?
        Device-Specific Hardware Triggers

    Events and Callbacks
        Event Types
        Recording and Retrieving Event Information
        Creating and Executing Callback Functions
        Examples: Using Callback Properties and Functions

    Linearly Scaling the Data: Engineering Units
        Example: Performing a Linear Conversion

Analog Output

    Getting Started with Analog Output
        Creating an Analog Output Object
        Adding Channels to an Analog Output Object
        Configuring Analog Output Properties
        Outputting Data
        Analog Output Examples
        Evaluating the Analog Output Object Status

    Managing Output Data
        Queuing Data with putdata
        Example: Queuing Data with putdata

    Configuring Analog Output Triggers
        Defining a Trigger: Trigger Types
        Executing the Trigger
        How Many Triggers Occurred?
        When Did the Trigger Occur?
        Device-Specific Hardware Triggers

    Events and Callbacks
        Event Types
        Recording and Retrieving Event Information
        Examples: Using Callback Properties and Callback Functions

    Linearly Scaling the Data: Engineering Units
        Example: Performing a Linear Conversion

    Starting Multiple Device Objects

Digital Input/Output

    Creating a Digital I/O Object
        The Parallel Port

    Adding Lines to a Digital I/O Object
        Line and Port Characteristics
        Referencing Individual Hardware Lines

    Writing and Reading Digital I/O Line Values
        Writing Digital Values
        Reading Digital Values
        Example: Writing and Reading Digital Values

    Generating Timer Events
        Timer Events
        Starting and Stopping a Digital I/O Object
        Example: Generating Timer Events

    Evaluating the Digital I/O Object Status
        The Display Summary

Saving and Loading the Session

    Saving and Loading Device Objects
        Saving Device Objects to an M-File
        Saving Device Objects to a MAT-File

    Logging Information to Disk
        Specifying a Filename
        Retrieving Logged Information
        Example: Logging and Retrieving Information

softscope: The Data Acquisition Oscilloscope

    Opening the Oscilloscope
        Hardware Configuration

    Displaying Channels
        Creating Additional Displays
        Configuring Display Properties
        Math and Reference Channels
        Removing Channel Displays

    Scaling the Channel Data
        Configuring Channel Properties

    Triggering the Oscilloscope
        Acquisition Types
        Trigger Types
        Configuring Trigger Properties

    Making Measurements
        Defining a Measurement
        Defining a New Measurement Type
        Configuring Measurement Properties

    Exporting Data
        Channels
        Measurements

    Saving and Loading the Oscilloscope Configuration

Reference

    Function Reference
        Getting Command Line Function Help
        Functions - By Category
        Functions - Alphabetical List

    Base Property Reference
        Getting Command Line Property Help
        Properties - By Category
            Analog Input Properties
            Analog Output Properties
            Digital I/O Properties

        Properties - Alphabetical List

    Device-Specific Property Reference
        Getting Command-Line Property Help
        Properties - By Vendor
            Agilent Technologies Properties
            Keithley Properties
            Measurement Computing Properties
            National Instruments Properties
            Parallel Port Properties
            Sound Card Properties

        Properties - Alphabetical List

    Troubleshooting Your Hardware
        Agilent Technologies Hardware
            What Driver Are You Using?
            Is Your Hardware Functioning Properly?

        Measurement Computing Hardware
            What Driver Are You Using?
            Is Your Hardware Functioning Properly?

        National Instruments Hardware
            What Driver Are You Using?
            Is Your Hardware Functioning Properly?

        Sound Cards
            Microphone and Sound Card Types
            Testing with a Microphone
            Testing with a CD Player
            Running in Full Duplex Mode

        Other Things to Try
            Registering the Hardware Driver Adaptor
            Contacting The MathWorks

    Managing Your Memory Resources
        Memory Allocation
        How Much Memory Do You Need?
        Example: Managing Memory Resources

    Glossary

Printable Documentation (PDF)

Product Page