Instruction manual

AMPDIO DRIVERS
Page 213
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
AIOcountADCgroups
See Also AIOgetADCchanMode
AIOsetHWADCchanMode
6.4.18.3 Configure ADC Software Bipolar/Unipolar Settings AIOsetADCchanMode
Sets the software bipolar/unipolar mode of each ADC channel in a group. This affects the way
raw data from each ADC channel is cooked, but has no effect on the underlying hardware
settings.
SUPPORTED IN VERSION 4.00 ONWARDS.
i = AIOsetADCchanMode (h, Group, ChMask, Modes)
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC 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
AIOcountADCgroups
See Also AIOgetADCchanMode
AIOgetHWADCchanMode
AIOsetHWADCchanMode
AIOsetAllADCchanMode
6.4.18.4 Configure ADC Hardware Bipolar/Unipolar Settings AIOsetHWADCchanMode
Sets the hardware bipolar/unipolar mode for ADC channels in a group. This is only supported
on certain cards. It has no affect on the way raw data from each ADC channel is cooked.
SUPPORTED IN VERSION 4.10 ONWARDS
i = AIOsetHWADCchanMode (h, Group, ModeVal)
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC channel group.