Instruction manual

AMPDIO DRIVERS
Page 228
triggering the DAC with the next data, and only applies to card types that have specific
support for these operations. Depending on the card, certain settings may be unsupported or
ignored.
For PCI224 and PCI234 and PCi230+ hardware version 2, CNV_NONE selects no trigger,
CNV_SW selects the software trigger, CNV_EXT_P selects the external positive-going edge
trigger, CNV_EXT_N selects the external negative-going edge trigger, CNV_CT0 through
CNV_CT2 respectively select Z2 timer channel 0, 1 or 2 trigger.
SUPPORTED IN VERSION 4.20 ONWARDS.
i = AIOsetDACconvSource (h, Group, Cnv)
where h short: board handle as issued by the
registerBoardEx function.
Group short: DAC channel group.
Cnv short: conversion trigger source:
CNV_NONE = 0 No trigger
CNV_SW = 1 Software triggered
CNV_EXT_P = 2 External +ve edge
CNV_EXT_N = 3 External ve edge
CNV_CT0 = 4 Timer channel 0 OUT
CNV_CT1 = 5 Timer channel 1 OUT
CNV_CT2 = 6 Timer channel 2 OUT
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
AIOcountDACgroups
See Also AIOstartDACconversion
AIOsetDACchanWaveform
6.4.20.3 Set DAC Waveform Data — AIOsetDACchanWaveform
Sets up a multi-channel waveform in a DAC channel group’s hardware playback buffer. This is
only supported on certain cards.
The DAC group’s conversion trigger source, that is set using AIOsetDACconvSource, is used
to clock data for conversion on each tick. On each tick, the next frame of data (one datum for
each enabled channel) is converted by the DACs. After the last frame of data, it wraps around
to the first frame on the next tick.
The waveform can be cancelled by setting a zero-length waveform, replacing with another
waveform, or writing data to the DAC channel group using AIOsetDACchanData.
It is supported on PCI224 and PCI234 and PCI230+ hardware version 2. On supported cards,
the hardware playback buffer is the FIFO and its size can be determined by calling
AIOgetDACgroupFIFOsize. For PCI224 and PCI234 the maximum supported length is 4096.
For PCI230+ hardware version 2 the maximum supported length is 1024.
SUPPORTED IN VERSION 4.20 ONWARDS.