Instruction manual

AMPDIO DRIVERS
Page 215
i = AIOgetHWADCchanDiff (h, Group, pDiffs)
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC channel group.
pDiffs pointer to unsigned long: pointer to unsigned
long variable which will be set to bit vector
value set with 1’s for differential channels and
0’s for single-ended channels or unsupported
channels.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
AIOcountADCgroups
See Also AIOsetHWADCchanDiff
6.4.18.7 Configure ADC Hardware Single-ended/Differential Settings AIOsetHWADCchanDiff
Sets the hardware single-ended/differential mode for ADC channels in a group. This is only
supported on certain cards.
SUPPORTED IN VERSION 4.10 ONWARDS.
i = AIOsetHWADCchanDiff (h, Group, DiffVal)
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC channel group.
DiffVal unsigned long: single-ended/differential mode
value may depend on card type.
In general: 0 = set all channels to single-
ended; FFFFFFFF
16
= set all channels to
differential.
For PCI230 and PCI260: all non-zero values
set all channels to differential. Single-ended
channels are paired up in differential mode so
only even channels (0, 2, etc.) are valid.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
AIOcountADCgroups