Single-Value Operations; Continuous Output Mode - Data Translation DT9812 Series User Manual

Table of Contents

Advertisement

Single-Value Operations

Single-value operations are the simplest to use but offer the least flexibility and efficiency. Use
software to specify the analog output channel, and the value to output from the analog output
channel. Since a single-value operation is not clocked, you cannot specify a clock source,
trigger source, or buffer.
Single-value operations stop automatically when finished; you cannot stop a single-value
operation.

Continuous Output Mode

Use continuously paced analog output mode if you want to accurately control the period
between D/A conversions or write a waveform to one or more analog output channels.
Use software to configure the output channel list, as described on
buffer that contains the values to write to the analog output channels that are specified in the
output channel list. For example, if your output channel list contains DAC0 and DAC1,
specify your buffer as follows: first value for DAC0, first value for DAC1, second value for
DAC0, second value for DAC1, and so on.
When it receives the software trigger, the module starts writing output values to the analog
output channels specified in the output channel list. The operation repeats continuously until
no more buffers are on the subsystem queue or you stop the operation. Refer to
more information about buffer modes.
Note: Make sure that the host computer transfers data to the analog output channels fast
enough so that they do not empty completely; otherwise, an underrun error results.
To select continuously-paced analog output mode, use software to specify the following
parameters:
• Set the dataflow as Continuous.
• Set WrapSingleBuffer to False to use multiple buffers (a minimum of two buffers is
recommended in this mode), or to True to use a single buffer.
• Set the trigger source as a software (internal) trigger.
• Set the clock frequency.
To stop a continuously paced analog output operation, you can stop sending data to the
module, letting the module stop when it runs out of data, or you can perform either an orderly
stop or an abrupt stop using software. In an orderly stop, the module finishes outputting the
data in the buffer, then stops; all subsequent triggers are ignored. In an abrupt stop, the
module stops outputting samples immediately; all subsequent triggers are ignored.
Principles of Operation
page
65. Then, allocate a
page 68
for
67

Advertisement

Table of Contents
loading

Table of Contents