Instruction manual

AMPDIO DRIVERS
Page 214
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 and PCI260: all non-zero values
set all channels to unipolar in hardware.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
AIOcountADCgroups
See Also AIOsetADCchanMode
AIOgetHWADCchanMode
AIOsetAllADCchanMode
6.4.18.5 Configure ADC All Channels Bipolar or Unipolar AIOsetAllADCchanMode
Sets the software bipolar/unipolar mode of all ADC channels in a group to all bipolar or all
unipolar. This affects the way raw data from each ADC channel is cooked. Also sets the
hardware bipolar/unipolar mode on cards that support this.
SUPPORTED IN VERSION 4.02 ONWARDS.
i = AIOsetAllADCchanMode (h, Group, Mode)
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC channel group.
Mode short: Zero (0) sets all channels to bipolar;
Non-Zero set all channels to unipolar.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
AIOcountADCgroups
See Also AIOsetADCchanMode
AIOsetHWADCchanMode
6.4.18.6 Query ADC Hardware Single-ended/Differential Settings AIOgetHWADCchanDiff
Gets the hardware single-ended/differential mode of each ADC channel in a group. This is
only supported on certain cards.
SUPPORTED IN VERSION 4.10 ONWARDS.