Analog Data Acquisition
Configure analog input channels and acquire data from
your device
You can acquire data from analog input channels either synchronously or asynchronously. For synchronous reads, data is acquired in the foreground. For asynchronous reads, data is acquired in the background. Before you use analog input channels, see Hardware Discovery and Setup.
Functions
addinput | Add input channel to device interface |
read | Read data acquired by hardware |
readwrite | Simultaneously read and write device channel data |
start | Start DataAcquisition background operation |
stop | Stop background operation |
removechannel | Remove channel from device interface |
flush | Flush DataAcquisition input and output buffers |
Apps
| Analog Input Recorder | Acquire and visualize analog input signals |
Topics
Foreground Data Acquisition
- Acquire Data in Foreground
Acquire data from a device while MATLAB® waits. - Generate and Measure Signals with Analog Devices ADALM1000
Program aDataAcquisitioninterface for ADALM1000 input and output. - Acquire Data and Generate Signals Simultaneously
Acquire and generate data at the same time. - Acquire Data from Multiple Channels
Acquire data from multiple channels, and from multiple devices on the same chassis.
Background Data Acquisition
- Acquire Data in Background with Live Plot Updates
Acquire data from a device while MATLAB continues to run.
Measurement Types
- Acquire Bridge Measurements
Acquire and plot data using an NI cDAQ device. - Acquire Sound Pressure Data
Acquire sound data from an NI 9234. - Acquire IEPE Data
Acquire IEPE data using an NI 9234.
App Workflows
- Acquire Data with Analog Input Recorder
Use the Analog Input Recorder app to visualize and record analog input signals. - Acquire Machine Data for Anomaly Detection and Predictive Maintenance Using Analog Input Recorder
Use the Analog Input Recorder app with Diagnostic Feature Designer App to extract features from acquired machine data. (Since R2026a)

















