05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CONFIGURING DATA LOGGING<br />

DATA LOG PROPERTIES<br />

DATA LOG PROPERTIES<br />

Each data log has the following properties…<br />

• The Update Type property defines if this data log will record data continuously<br />

or on a trigger edge. Continuous Sample data logging saves tags values at regular<br />

time intervals, as define by the Update Rate property. Triggered Snapshot saves<br />

tags values when the expression in the Log Trigger property goes from false to<br />

true. Since the log trigger is looking at the change in the expression, only one set<br />

of data will be recorded at the time of change, the expression has to return to<br />

false and back to true again to save another set. Each set is a line of data in a<br />

CSV file.<br />

• The Update Rate property is used to indicate how often Crimson will take a<br />

sample of the data items to be logged. The fastest sample rate is one second, but<br />

note that using such a high rate will produce very large amounts of data! All of<br />

the tags in the log will be sampled at the same rate.<br />

• The Each File Holds property is used to indicate how many samples will be<br />

included in each log file. When this many samples have been recorded, a new<br />

log file will be created using a different name. Typically, this value is set such<br />

that each log file contains a sensible amount of data. For example, the log shown<br />

above is configured to use a new log file each day.<br />

• The Retain At Most property is used to indicate how many log files will be kept<br />

on CompactFlash before the oldest file is deleted. This property should be set so<br />

as to allow whatever is consuming the logged information to extract the data<br />

from the Master module before the information is deleted. The log shown above<br />

is configured to retain a week’s worth of data.<br />

• The Log Enable property is used to allow or inhibit logging. If the entered<br />

expression is true, logging will be enabled. If the expression is false, logging will<br />

be disabled. If no expression is entered, logging will be enabled by default.<br />

• The Log Trigger property is used to log a single set of data when the expression<br />

changes from false to true.<br />

REVISION 6 PAGE 239

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!