User manual
Table Of Contents
- Introduction
- Hardware description
- Software
- Appendix
- manual_e_delib.pdf
- Introduction
- Hardware description
- Software
- Appendix
- manual_e_ro_io_stepper2.pdf
- Introduction
- Hardware description
- Software
- DELIB API reference
- Management functions
- Error handling
- Stepper motor functions
- DapiStepperCommands
- DAPI_STEPPER_CMD_GO_POSITION
- DAPI_STEPPER_CMD_GO_POSITION_RELATIVE
- DAPI_STEPPER_CMD_SET_POSITION
- DAPI_STEPPER_CMD_SET_FREQUENCY
- DAPI_STEPPER_CMD_GET_FREQUENCY
- DAPI_STEPPER_CMD_SET_FREQUENCY_DIRECTLY
- DAPI_STEPPER_CMD_STOP
- DAPI_STEPPER_CMD_FULLSTOP
- DAPI_STEPPER_CMD_DISABLE
- DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_GET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_SAVE
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_LOAD
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_LOAD_DEFAULT
- DAPI_STEPPER_CMD_GO_REFSWITCH
- DAPI_STEPPER_CMD_GET_CPU_TEMP
- DAPI_STEPPER_CMD_GET_MOTOR_SUPPLY_VOLTAGE
- DapiStepperGetStatus
- DapiStepperCommandEx
- DapiStepperCommands
- Example program
- Appendix
- manual_e_ro_serie.pdf
- Introduction
- Hardware description
- Ethernet Interface
- CAN Interface
- RS-232/RS-485 Interface
- USB Interface
- Digital in-/output modules
- Analog in-/output modules
- Stepper module
- Software
- DELIB API reference
- Management functions
- Error handling
- Reading Digital inputs
- Setting Digital outputs
- A/D converter functions
- D/A outputs management
- Stepper motor functions
- DapiStepperCommands
- DAPI_STEPPER_CMD_GO_POSITION
- DAPI_STEPPER_CMD_GO_POSITION_RELATIVE
- DAPI_STEPPER_CMD_SET_POSITION
- DAPI_STEPPER_CMD_SET_FREQUENCY
- DAPI_STEPPER_CMD_GET_FREQUENCY
- DAPI_STEPPER_CMD_SET_FREQUENCY_DIRECTLY
- DAPI_STEPPER_CMD_STOP
- DAPI_STEPPER_CMD_FULLSTOP
- DAPI_STEPPER_CMD_DISABLE
- DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_GET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_SAVE
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_LOAD
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_LOAD_DEFAULT
- DAPI_STEPPER_CMD_GO_REFSWITCH
- DAPI_STEPPER_CMD_GET_CPU_TEMP
- DAPI_STEPPER_CMD_GET_MOTOR_SUPPLY_VOLTAGE
- DapiStepperGetStatus
- DapiStepperCommandEx
- DapiStepperCommands
- Output timeout management
- Test functions
- Example program
- Appendix
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