Control historical logging frequency
- Last UpdatedJul 17, 2024
- 1 minute read
You can optionally specify that entries are logged based upon two conditions:
-
An immediate log entry is written whenever a tag value changes by an engineering unit value greater than its log deadband value.
-
The current values of all logged tags are written at a fixed interval. Entries for all logged tags are written regardless of their current values. The default fixed interval is 60 minutes.
You can accept the default fixed logging interval or add two parameters to the intouch.ini file to change the interval.
-
ForceLogging
ForceLogging specifies the length of the fixed logging interval in minutes. ForceLogging can be set to a value between 5 and 120 minutes. The default is ForceLogging=60.
-
ForceLogCurrentValue
ForceLogCurrentValue specifies that, at the fixed logging interval, the current tag value is logged, even if it is still within the log deadband of the last logged value. When set to 0, the last logged value is logged again. The default is ForceLogCurrentValue=0.
The following example shows an example of the intouch.ini file that includes the two logging parameters.
WinFullScreen=1
WinWidth=808
AlarmBufferSize=5000
ForceLogging=5
ForceLogCurrentValue=1
In this example, tag values are written to the Historical Log file at five minute intervals.
Modify the historical logging frequency
-
Close WindowMaker and WindowViewer.
-
Locate the intouch.ini file in the same folder as the InTouch application.
-
Edit the intouch.ini file.
-
Insert a ForceLogging statement with a value between 5 and 120.
-
Insert a ForceLogCurrentValue=1 statement.
-
Save your changes and close the intouch.ini file.
-
Restart WindowViewer.