Main Content
Analog Signal Generation
Configure analog output channels and generate signals
with your device
You can generate signals on analog output channels either synchronously or asynchronously. For synchronous writes, signal is generated in the foreground. For asynchronous writes, signal is generated in the background. Before you use analog output channels, see Hardware Discovery and Setup.
Functions
addoutput | Add output channel to device interface (Since R2020a) |
write | Write output scans to hardware channels (Since R2020a) |
preload | Queue scan data for device output (Since R2020a) |
flush | Flush DataAcquisition input and output buffers (Since R2020a) |
readwrite | Simultaneously read and write device channel data (Since R2020a) |
start | Start DataAcquisition background operation (Since R2020a) |
stop | Stop background operation (Since R2020a) |
removechannel | Remove channel from device interface (Since R2020a) |
Apps
Analog Output Generator | Define and generate analog output signals |
Topics
Foreground Signal Generation
- Generate Signals in the Foreground
Generate data from a device while MATLAB® waits. - Generate and Measure Signals with Analog Devices ADALM1000
Program a DataAcquisition for ADALM1000 input and output. - Acquire Data and Generate Signals Simultaneously
Acquire and generate data at the same time.
Background Signal Generation
- Generate Signals in the Background
Generate data from a device while MATLAB continues to run. - Generate Signals in the Background Continuously
Continuously generate data from a device while MATLAB continues to run.
Measurement Types
- Generate Signals on Multiple Channels
This example shows how to generate data from multiple channels and multiple devices. - Generate Signals on Both Analog and Digital Channels
Generate signals when the DataAcquisition object contains both analog and digital channels.
App Workflows
- Generate Signals with Analog Output Generator
Use the Analog Output Generator app to define and produce analog output signals.