Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Analog Signal Generation

Configure analog output channels and generate signals with your device

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

Functions

addAnalogOutputChannel Add analog output channel to session
queueOutputData Queue data to be output
outputSingleScan Generate single scan on all output channels
startForeground Start foreground operations
startBackground Start background operations
addlistener Create event listener
stop Stop background operation
wait Block MATLAB until background operation completes

Events

DataRequired Notify when additional data is required for output on continuous generation
ErrorOccurred Notify when device-related errors occur

Properties

Device Channel device information
ID ID of channel in session
MeasurementType Channel measurement type
Range Specify channel measurement range
TerminalConfig Specify terminal configuration
ExternalTriggerTimeout Indicate if external trigger timed out
Name Specify descriptive name for the channel
ScansOutputByHardware Indicate number of scans output by hardware
ScansQueued Indicate number of scans queued for output

Topics

Basic Workflow

Generate Analog Output Signals

Generate analog signals with a data acquisition device.

Generate Signals in the Foreground

Generate data from a device while MATLAB® waits.

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.

Getting Started Generating Data with Digilent® Analog Discovery™

This example shows how to generate analog output voltage data at 300 kHz.

Multiple Channels and Measurement Types

Generate Signals Using Multiple Channels

This example shows how to generate data from multiple channels and multiple devices.

Generate Signals on Both Analog and Digital Channels

This example shows how to generate signals when the session contains both analog and digital channels.

Acquire Data and Generate Signals Simultaneously

Acquire and generate data at the same time.

Was this topic helpful?