Echelon i.LON SmartServer 2.0 User Manual
Page 71

i.LON SmartServer 2.0 Programmer’s Reference
5-6
Property Description
Either LT_HISTORICAL or LT_CIRCULAR. This indicates
whether the log is a historical or circular. A historical data log
stops recording data point updates when it is full. A circular data
log removes older values when the log is full and it receives new
updates.
The amount of memory allocated to the log file, in kilobytes. The
total size of the log files for all Data Loggers (and Alarm Notifiers)
on the SmartServer can not exceed the size of the flash memory
stored in the SmartServer. The SmartServer will stop writing to
the log files when it only has 256 Kb of flash memory remaining.
Either LF_TEXT, LF_BINARY or LF_COMPRESSED. This
property indicates whether the log file the Data Logger creates will
be an ASCII-text formatted .csv file (LF_TEXT), a proprietary
binary format (LF_BINARY), or an ASCII-text file in compressed
format (.gz file extension) (LF_COMPRESSED).
You can use the LF_COMPRESSED format to save flash memory
space on the SmartServer. All you need to do is extract the .csv
file from the .gz file to view the log file. You can extract the file
with the decompress console command, as described in Appendix
B of the i.LON SmartSever User’s Guide.
Enter a value between 0.0 and 100.0. The default value is 0.0.
This value represents a percentage. When the volume of the Data
Logger reaches this percentage, the status of the output data point
for the Data Logger will be updated to the condition
AL_ALM_CONDITION. The output data point for each Data
Logger is called nvoDlLevAlarm[X], where X represents the index
number assigned to the Data Logger. For example, if you enter
30.0 here, the data point would be updated when the log file has
consumed 30% of the space allocated to it.
You could create an Alarm Notifier to trigger an alarm notification
each time one of your Data Loggers reaches this level. For more
information on this, see Chapter 7, Alarm Notifier.
You can determine the current log level of a Data Logger with the
Read function. You could also use the Read function to read the
value field of the nviDlStatus[X] data point, where X represents
the index number assigned to the Data Logger. The value assigned
to the data point represents the percentage of the Data Logger’s log
file that has been used.
You can clear out a log file with the Clear function, or by updating
the value assigned to the nviDlClear[X] data point, where X
represents the index number assigned to the Data Logger. The
value field you assign the data point when you update it reflects
how much of the total log size will be cleared. For example, if
your log is 50% full (out of 100kB), and you update the value of
the data point to "30.0 1", then the application would go to the
beginning of the log and clear out the first 30% of the log (in this
case, 30K).