Before you use analog input channels, see Hardware Discovery and Session Setup.
addAnalogInputChannel | Add analog input channel |
inputSingleScan | Acquire single scan from all input channels |
startForeground | Start foreground operations |
startBackground | Start background operations |
removeChannel | Remove channel from session object |
addlistener | Create event listener |
stop | Stop background operation |
wait | Block MATLAB until background operation completes |
DataAvailable | Notify when acquired data is available to process |
ErrorOccurred | Notify when device-related errors occur |
Analog Input Recorder | Acquire and visualize analog input signals |
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.
Getting Started Acquiring Data with Digilent® Analog Discovery™
This example shows how to acquire analog input voltage data at 300 kHz.
Generate and Measure Signals with Analog Devices ADALM1000
Program a session for ADALM1000 input and output.
Acquire Data with the Analog Input Recorder
Use the Analog Input Recorder app to visualize and record analog input signals.
Acquire Data from Multiple Channels
This example shows how to acquire data from multiple channels, and from multiple devices on the same chassis.
Acquire Data from an Accelerometer
This example shows how to acquire and display data from an accelerometer attached to a vehicle driven under uneven road conditions.
This example shows how to acquire and plot data from an NI USB-9219 device.
This example shows how to acquire sound data from an NI 9234.
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.