beautypg.com

Dataloggerset, Dataloggerset -10, 3 dataloggerset – Echelon i.LON 100 e2 Internet Server User Manual

Page 82

background image

6.2.1.3 DataLoggerSet

Use the DataLoggerSet function to create new Data Loggers, or to overwrite the
configuration of existing Data Loggers. The Data Loggers to be created or written to are

signified by a list of elements in the parameter. The properties you must

define within each element are the same, whether you are creating a new Data Logger
or modifying an existing Data Logger. The previous section, DataLoggerGet, describes these

properties.

NOTE: When modifying an existing Data Logger, any optional properties left out of the

input string will be erased. Old values will not be carried over, so you must fill in every

property when writing to a Data Logger, even if you are not changing all of the values.

The first invocation of the DataLoggerSet function will generate the DataLogger.XML file in

the /root/Config/Software directory of the

i.

LON 100, if the file does not already exist.

When creating or modifying a Data Logger with DataLoggerSet, you may want to use output
from the DataLoggerGet function as the basis for your parameter. You would then

only need to modify the values of each property to match the new configuration you want, as
opposed to re-creating an entire string like the one shown below.
The following example creates a Data Logger that records all updates for two data points,

one named NVL_nviWHTot1 and the other named NVL_nviWHTot2.

Parameter



Data Logger 1

LT_CIRCULAR
100

gSize>

LF_BINARY
0.0

0
NVL_nviWHTot1
0.0
0
0.0

1
NVL_nviWHTot2

0.0
0
0





Parameter



3


i.

LON 100 Internet Server Program

6-10

mer’s Reference