
MVI-ADM ♦ 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 151 of 342
February 20, 2013
ADM_DBSetRegs
Syntax
int ADM_DBSetRegs(ADMHANDLE adm_handle, unsigned short offset, const unsigned
short count, unsigned short * buff)
Parameters
Handle returned by previous call to ADM_Open
Character offset into database where the buffer starts
Number of integers to write
Register buffer from which integers are copied
Description
This function copies a buffer of registers to the database.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
No errors were encountered
adm_handle does not have access
database is not allocated
Example
ADMHANDLE adm_handle;
unsigned short offset;
const unsigned short reg_count;
unsigned short *reg_buff;
ADM_DBSetRegs(adm_handle, offset, reg_count, reg_buff);
See Also
ADM_DBGetRegs (page 150)
Comentarios a estos manuales