Instruction manual
AMPDIO DRIVERS
Page 212
6.4.18 Analogue I/O Configuration
6.4.18.1 Query ADC Software Bipolar/Unipolar Settings — AIOgetADCchanMode
Gets the software bipolar/unipolar mode of each ADC channel in a group. This indicates the
way raw data from each ADC channel is cooked, but does not reflect the actual settings in the
hardware.
SUPPORTED IN VERSION 4.00 ONWARDS.
i = AIOgetADCchanMode (h, Group, pModes)
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC channel group.
pModes pointer to unsigned long: pointer to unsigned
long variable which will be set to bit vector
value with 1’s for unipolar channels and 0’s for
bipolar or unsupported channels.
Returns short: OK
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
AIOcountADCgroups
See Also AIOsetADCchanMode
AIOgetHWADCchanMode
6.4.18.2 Query ADC Hardware Bipolar/Unipolar Settings — AIOgetHWADCchanMode
Gets the hardware bipolar/unipolar mode of each ADC channel in a group. This is only
supported on certain cards. It does not indicate the way raw data from each ADC channel is
cooked.
SUPPORTED IN VERSION 4.10 ONWARDS.
i = AIOgetHWADCchanMode (h, Group, pModes)
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC channel group.
pModes pointer to unsigned long: pointer to unsigned
long variable which will be set to bit vector
value with 1’s for unipolar channels and 0’s for
bipolar or unsupported channels.
Returns short: OK
or ERRHANDLE