-
Active Channels
Select the active input/output channels in a vector. A defined number of channels
can be selected using square brackets, for example [1 2 3]. A sequence of channels
can be selected using a colon, for example, 1:4.
-
Output Range
Select the voltage range for every output channel: 0–5 V,
0–10 V, ±5 V or ±10 V.
-
Initial Values
Define the initial signal level present on the outputs after the application has
been downloaded. The values can be set individually by entering a vector: the value
at a certain position in the Initial Values vector is applied to the channel as
defined in the Active Channels vector. A scalar value applies to all the channels;
for example, for individual values, type "[1 1.5 0 2.5]", and to set all channels to
zero, type "0".
-
Reset to Initial Values
Define whether the initial values are also applied once the application has
stopped. The behavior can be set individually for each channel using a vector. A
scalar value applies to all the channels; for example, for individual values, type
"[1 0 0 1]", and to set all channels to zero, type "0". "1" means use the Initial
Value and "0" means keep the latest value.
-
Enable DMA
This setting enables outgoing data to be transferred over DMA. Frame-based
operation is possible, meaning that multiple samples can be transferred in one
sample hit. If DMA is enabled, the model or subsystem containing the Analog output
block must be triggered with the I/O module DMA interrupt for consistent results.
Refer to the usage notes for information on configuring DMA.
-
Number of DMA Channels
Select for which channels DMA is enabled. This could either be
channels 1 to 2, 1 to 4, 1 to 6 or 1 to 8 (all). Channels for which DMA
operation is not enabled still work in normal operation mode.
-
Latency
Select the latency between the sample hit and the actual conversion at
the output. The available options are "As small as possible" or "1
frame". If "As small as possible" is selected, the values will appear at
the module outputs shortly after the block sample hit. However, the
latency will not be constant, which might lead to lags in the output. If
"1 frame" is selected, then the module starts to output the data at the
next block sample hit. This ensures a constant latency and enables a
continuous data output and is especially useful when both the analog
input and output use DMA. Refer to the usage notes for more information
on this topic.
-
Sample Rate
Select how many conversions per second are performed for every
channel. Note that the conversion period must be a multiple of
100 ns. The sample rate entered will be automatically rounded to
the closest valid rate. Enter "-1" to allow the system to determine the
sample rate based on the output block sample time and frame size.
-
Synchronous to Analog Inputs
This feature is only available when analog input DMA is enabled as
well. If checked, the sample rate specified for the analog outputs is
ignored. Instead, the conversion is synchronized with the analog inputs.
To avoid synchronization problems between the system and the analog
outputs, the recommended approach is to always use synchronous
configuration if DMA operation is enabled for both inputs and outputs.
-
Frame Size (samples/channel)
Select how many samples are transferred to the module at each sample hit. The
block input of every channel with DMA operation enabled becomes a vector with the
same number of values, where the value at position 1 will be converted first. Enter
"-1" to allow the system to determine the frame size automatically based on the
sample rate and the output block sample time.
Either the sample rate, the frame size or the output block sample time must be
configured automatically (-1).
-
Output Block Sample Time
Define the base sample time at which the Analog output block gets its sample hit.
Enter "-1" to allow the system to determine the output block sample time
automatically based on the sample rate and frame size. The Block Sample Time dialog
field of the Analog output block is overwritten by this value when DMA is
enabled.
Either the sample rate, the frame size or the output block sample time must be
configured automatically (-1).