Instruction manual
AMPDIO DRIVERS
Page 219
i = AIOsetDACchanMode (h, Group, ChMask, Modes)
where h short: board handle as issued by the
registerBoardEx function.
Group short: DAC channel group.
ChMask unsigned long: bit vector with 1’s for channels
to change and 0’s for channels to leave alone.
Modes unsigned long: bit vector with 1’s for unipolar
channels and 0’s for bipolar channels.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
AIOcountDACgroups
See Also AIOgetDACchanMode
AIOgetHWDACchanMode
AIOsetHWDACchanMode
AIOsetAllDACchanMode
6.4.18.13 Configure DAC Hardware Bipolar/Unipolar Settings — AIOsetHWDACchanMode
Sets the hardware bipolar/unipolar mode for DAC channels in a group. This only has an affect
on certain cards. It has no affect on the way cooked data is uncooked for each DAC channel.
SUPPORTED IN VERSION 4.10 ONWARDS.
i = AIOsetHWDACchanMode (h, Group, ModeVal)
where h short: board handle as issued by the
registerBoardEx function.
Group short: DAC channel group.
ModeVal unsigned long: bipolar/unipolar mode value
may depend on card type.
In general: 0 = set all channels to bipolar in
hardware; FFFFFFFF
16
= set all channels to
unipolar in hardware.
For PCI230: all non-zero values set all
channels to unipolar in hardware.
For PCI224: all non-zero values set all
channels to unipolar in hardware.
For PCI234: only value 0 is allowed, as there is
no hardware unipolar mode.
Returns short: OK