ProSoft Technology MVI69-ADM User Manual
Page 147

MVI-ADM ♦ 'C' Programmable
Application Development Function Library - ADM API
'C' Programmable Application Development Module
Developer's Guide
ProSoft Technology, Inc.
Page 147 of 342
February 20, 2013
ADM_DBSetDFloat
Syntax
int ADM_DBSetDFloat(ADMHANDLE adm_handle, unsigned short offset, const double
val)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
double float offset into database
val
Value to be written to the database
Description
This function writes a double floating-point number to the database at a specified
double float offset.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
ADM_SUCCESS
No errors were encountered
ADM_ERR_NOACCESS
adm_handle does not have access
ADM_ERR_MEMORY
database is not allocated
ADM_ERR_REG_RANGE
offset is out of range
Example
ADMHANDLE adm_handle;
unsigned short offset;
const double val;
ADM_DBSetDFloat(adm_handle, offset, val);
See Also
ADM_DBGetDFloat (page 146)