User manual

Table Of Contents
DELIB API reference |
Seite 121
4.5. A/D converter functions
4.5.1. DapiADSetMode
Description
This is the command to configure the input range of an A/D converter.
Definition
void DapiADSetMode(ULONG handle, ULONG ch, ULONG mode);
Parameters
handle=This is the handle of an opened module
ch=Specifies the channel of the A/D converter (0 ..)
mode=Specifies the mode for the channel
Return value
None
Remarks
The following modes are supported:
(these are dependent on the A/D module)
Unipolar voltages:
ADDA_MODE_UNIPOL_10V
ADDA_MODE_UNIPOL_5V
ADDA_MODE_UNIPOL_2V5
Bipolar voltages:
ADDA_MODE_BIPOL_10V
ADDA_MODE_BIPOL_5V
ADDA_MODE_BIPOL_2V5