User manual

Table Of Contents
DELIB API reference |
Seite 133
4.6.6. DapiSpecialCmd_DA
Description
This command sets the voltage/current value to a D/A channel at powering up or
after a timeout. (EEPROM Configuration)
Definition
void DapiSpecialCommand(handle, DAPI_SPECIAL_CMD_DA, cmd, ch, 0);
Parameters
handle=This is the handle of an opened module
ch=Specifies the channel of the D/A converter (0, 1, 2, ..)
Reset settings to default configuration
cmd=DAPI_SPECIAL_DA_PAR_DA_LOAD_DEFAULT
Save configuration to EEPROM
cmd=DAPI_SPECIAL_DA_PAR_DA_SAVE_EEPROM_CONFIG
Load configuration out of EEPROM
cmd=DAPI_SPECIAL_DA_PAR_DA_LOAD_EEPROM_CONFIG
Return value
None
Remarks
DAPI_SPECIAL_CMD_DA_PAR_DA_LOAD_DEFAULT
This command loads the default configuration of a D/A converter. The D/A
output has the voltage 0V now.
DAPI_SPECIAL_DA_PAR_DA_SAVE_EEPROM_CONFIG
This command saves the current settings of the D/A converter (voltage/current
value, enable/disable and D/A converter mode) to EEPROM.
DAPI_SPECIAL_DA_PAR_DA_LOAD_EEPROM_CONFIG
This command sets the saved EEPROM configuration to the D/A converter.