Dssaveoptions, Getdatapoint, Dssaveoption – Echelon OpenLNS User Manual
Page 615
OpenLNS Programmer's Reference
578
options.
Availability
Local, full, and lightweight clients.
Syntax
object.DsRestoreOptions
Element
Description
object
object to be acted
on.
Added to API
Prior to LNS Release 3.0.
DsSaveOptions
Summary
Saves the current set of data server options to the persistent
database
.
Data server options are not persistent for NetworkVariable
objects. For new option values to persist across data object
instantiations, you must invoke the DsSaveOptions method.
This method saves the values which were most recently set,
not the values currently in use. This distinction arises
because the data server must be paused and restarted before
modified options can take affect.
This method will save all NetworkVariable data server
options.
Availability
Local, full, and lightweight clients.
Syntax
object.
Element
Description
object
object to be acted
on.
Added to API
Prior to LNS Release 3.0.
GetDataPoint
Summary
object that you can use to read or write
to the value of the network variable
.
You should use data points to read and write to the values of
your network variables. The reason for this is that when you
create a data point with the GetDataPoint method, your
application will have sole access to that data point, and it will
manage the format of the data contained in the network
variable locally. As a result, it will avoid misinterpreting any
formatting changes that may be made to a network variable’s
value by other client applications.
Note: The Value property, which was used previously to read
and write network variables, was deprecated in LNS Release
3.20.
Availability
Local, full, and lightweight clients.