Table of Contents
initCFparameter - update a parameter in the AccelNET database
initCFparameter
copies
CONFLIST.Current to
CONFLIST.Prev and
V to
CONFLIST.Current.
It then
constructs an update msg using lclParUpdate(3rmt)
or lclUpParExc(3rmt)
.
This function should be called during the initialization phase of the program.
UpdateCFparameter() should be called elsewhere. This difference is that
initCFparameter(3mngr)
always sends an update message to dbman. UpdateCFparameter(3mngr)
only sends a message if the values are different.
This function communicates
with dbman in local mode.
This function is part of libmngr.
int 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
lclUpdatePar should be returned.
libmngr(3mngr)
$Id: initCFpar.3,v 1.2 2004/05/05 15:52:25 kitchen Exp $
Table of Contents