Main Content

Analog Data Acquisition

Configure analog input channels and acquire data from your device

Before you use analog input channels, see Hardware Discovery and Setup.


addinputAdd input channel to device interface
readRead data acquired by hardware
readwriteSimultaneously read and write device channel data
startStart DataAcquisition background operation
stopStop background operation
removechannelRemove channel from device interface
flushFlush DataAcquisition input and output buffers


Analog Input RecorderAcquire and visualize analog input signals


Basic Workflows

Acquire Data in the Foreground

Acquire data from a device while MATLAB® waits.

Acquire Data in the Background

Acquire data from a device while MATLAB continues to run.

Generate and Measure Signals with Analog Devices ADALM1000

Program a DataAcquisition for ADALM1000 input and output.

Tools Workflows

Acquire Data with the Analog Input Recorder

Use the Analog Input Recorder app to visualize and record analog input signals.

Multiple Channels and Measurement Types

Acquire Data from Multiple Channels

This example shows how to acquire data from multiple channels, and from multiple devices on the same chassis.

Acquire Bridge Measurements

This example shows how to acquire and plot data from an NI USB-9219 device.

Acquire Sound Pressure Data

This example shows how to acquire sound data from an NI 9234.

Acquire IEPE Data

This example shows how to acquire IEPE data using an NI 9234.

Acquire Data and Generate Signals Simultaneously

Acquire and generate data at the same time.

Featured Examples