Data Log syntax
The DataLog.hmi files contain information about the data log configuration values and the tags which it logs. There is a DataLog.hmi file for each data log configured in your project. The file follows the structure:
namespace ViewDesigner;
using HMICatalog;
/* HMI Device Type: 9" PanelView 5510 2715P-T9WD */
DataLog [name] {
<data log configuration values>
<list of tags to log>
}
For example:
namespace ViewDesigner;
using HMICatalog;
/* HMI Device Type: 9" PanelView 5510 2715P-T9WD */
DataLog DataLog_001 {
SamplingRate := EnumSamplingRate._1000_ms;
Duration := 7;
DurationUnit := EnumDurationUnit.Days;
StatusTag := "";
DataLogEntry DataLogEntry_001 {
TagName := "::LGX.Mixer1.Level";
}
DataLogEntry DataLogEntry_002 {
TagName := "::LGX.Mixer1.LevelSP";
}
}
Provide Feedback