7ML19985MA01
SITRANS RD500 – OPERATING INSTRUCTIONS
Page 31
mm
mmm
Log Configur
at
ion
•
The Samples property is used to indicate how many samples will be included in
each log file. When this many samples have been recorded, a new log file will be
created using a different name. Typically, the Samples and Interval properties are
set such that each log file contains a sensible amount of data. For example, the
LevelLCP log shown above is configured to take a new sample for log file each
minute, while the CLS_LOG_ log is configured to take a new sample for log file every
half hour.
•
The Max Files property is used to indicate how many CSV files will be kept on
CompactFlash before the oldest file is deleted. This property should be set to allow
sufficient time for the data to be synchronized to an external server.
Log File Storage
A data log stores its data in a series of files on the RD500's CompactFlash card. These
files are placed in a subdirectory named after the data log, with this directory being
stored under a root directory entry called LOGS.
Filenames for Data Logging
The files are named after the interval and date at which the log is scheduled to begin, but
the naming convention varies depending on the interval of the log. If each file is
scheduled to contain an hour or more of information, the files will be named
YYMMDDhh.CSV, where YY represents the year of the file, MM represents the month, DD
represents the day, and hh represents the hour.
If each file is scheduled to contain less than one hour of information, the files will instead
be named MMDDhhmm.CSV, with the initial six characters as described above, and the
final mm representing the minute at which the log began. These rules ensure that each
log file has a unique name. The logs are ordered by the creation time date stamp.
Log files are generated based on time span, not when the sample count is reached. An
hourly log file will create a new file on the hour, regardless of when the system was
started. So, a unit powered at 08:07 will generate the following logs:
YYMMDD08.csv (samples starting at 08:07; no samples prior to 08:07)
YYMMDD09.csv (samples starting from 09:00)
YYMMDD10.csv (samples starting from 10:00)
Note:
The Log filename is the scheduled interval time, regardless of when the log
sampling actually begins.
Note:
Log entries will be written to on-board buffer memory first, and then will be
copied to the CompactFlash memory. Buffer memory is written to the CF card
every two minutes.