Data Acquisition Toolbox

Connect to data acquisition cards, devices, and modules


Data Acquisition Toolbox™ provides apps and functions for configuring data acquisition hardware, reading data into MATLAB® and Simulink®, and writing data to DAQ analog and digital output channels. The toolbox supports a variety of DAQ hardware, including USB, PCI, PCI Express®, PXI®, and PXI Express® devices, from National Instruments® and other vendors.

The toolbox apps let you interactively configure and run a data acquisition session. You can then generate equivalent MATLAB code to automate your acquisition in future sessions. Toolbox functions give you the flexibility to control the analog input, analog output, counter/timer, and digital I/O subsystems of a DAQ device. You can access device-specific features and synchronize data acquired from multiple devices.

You can analyze data as you acquire it or save it for post-processing. You can also automate tests and make iterative updates to your test setup based on analysis results.

Get Started:

Apps for Data Acquisition

Interactively configure and run your data acquisition interface without writing code, then generate the equivalent MATLAB code to automate your acquisition in the future.

Analog Input Recorder App

Configure device channels, preview signals, and record analog input data in the foreground or background.

Analog Output Generator App

Configure device channels, define and preview signals, and generate analog output signals in the foreground or background.

Signal Analyzer App

Visualize, measure, analyze, and compare signals in the time, frequency, and time-frequency domains with Signal Processing Toolbox™.

Audio Input and Output

Design audio test systems, acquire multichannel audio data, and generate signals using built-in or external sound cards.

Multichannel Audio

Acquire and generate audio signals using one or more channels.

Custom UI built by Ford for detecting spark knock.

Windows Sound Cards

Use MATLAB to acquire, analyze, and generate audio data on Windows® sound cards.

Sound card support.

Data Acquisition Hardware Vendors

Use data acquisition hardware from National Instruments and other vendors. Access subsystems common to different devices as well as device-specific features.

National Instruments

Acquire and analyze data from NI-DAQmx devices, including CompactDAQ, X-Series, M-Series, E-Series, USB, myDAQ, ELVIS II, and more.

National Instruments support.

Measurement Computing and Data Translation

Acquire and analyze data from Measurement Computing™ and Data Translation® DAQ devices, or write an adaptor for another DAQ vendor.

Data Translation support.

Educational DAQ Hardware

Explore analog circuit design with low-cost platforms like Digilent® Analog Discovery 2™ and Analog Devices® ADALM1000 Active Learning Module.

Digilent Analog Discovery 2 support.


Make a variety of measurements directly from MATLAB without the need to convert the data. Collect and process data directly from thermocouples, RTD devices, IEPE accelerometers and microphones, current-based sensors, and bridge-based sensors.

Sound and Vibration

Measure sound pressure and acceleration from IEPE microphones and IEPE accelerometers. Record data in physical units such as pascals and gravities.

Strain, Pressure, and Force

Measure strain, pressure, and force from strain bridges, load cells, and other sensors and transducers.

A Timken tapered roller bearing tested with MATLAB.

Digital Signals

Generate and read digital signals. Use counters to count events or to measure frequency, pulse width, or position. Generate pulse trains with counter outputs.

Counter and Timer Subsystems

Acquire quadrature encoder position, count edges, measure frequencies and pulse widths, and generate pulses.

Voltage and Current

Use analog input and analog output subsystems of your DAQ device to acquire and generate voltage and current signals. Queue output data, acquire in the foreground or background, and log data to disk.

Acquire continuous and background voltage data.

The student-designed solar electric Sunswift eVe.

Simultaneous and Synchronized Operations

Synchronize operations with shared start triggers and shared scan clocks. Simultaneously start all devices in a session and synchronize operations on all connected devices.

Acquiring data from two devices at different rates.

Latest Features

New Command-Line Interface

Discover hardware and initiate foreground and background data acquisition with a simplified interface

Analog Output Generator App

Write data to analog output channels on your DAQ device

App Support for Measurement Computing Hardware

Acquire and send data from Measurement Computing hardware using Analog Input Recorder and Analog Output Generator apps

See the release notes for details on any of these features and corresponding functions.