Table of Contents
rmt_initCFparameter - update a parameter in the AccelNET database
rmt_initCFparameter
copies
CONFLIST.Current to
CONFLIST.Prev and
V to
CONFLIST.Current. It then
constructs an update msg using
rmtParUpdate(3rmt)
or
rmtUpParExc(3rmt)
.
This function should be called during the initialization phase of the program.
rmt_UpdateCFparameter(3mngr)
should be called elsewhere. This difference
is that rmt_initCFparameter(3mngr)
always sends an update message to dbman.
rmt_UpdateCFparameter(3mngr)
only sends a message if the values are different.
This function communicates with dbman in remote mode.
This function is part
of libmngr.
int rmt_initCFparameter(
int DBchan,
CONFLIST *CFpnt,
double V,
int exclude_flag
);
database channel
A pointer to a
CONFLIST record.
The
new value.
If this value is zero
dbman(8)
sends an update back
to the caller if subscribed.
If this value is one no update is sent back
to the caller.
0 is always returned.
Perhaps the error code
from
rmtUpdatePar(3rmt)
should be returned.
libmngr(3mngr)
$Id: rmt_initCFpar.3,v 1.2 2004/05/05 15:52:25 kitchen Exp $
Table of Contents