TN IT286 InTouch Historical Logging using multiple nodes - how to determine which node logs historical data when using identical applications.
Description
This article from InSource shows...
- Author: Ernest Lee
- Published: 9/25/2017
- Applies to: InTouch all versions
Details
This article from InSource shows how to select which identical application logs historical data as only 1 application is allowed to do so. Multiple nodes cannot log historical data to the same location.
Create an Application On Startup script to control which nodes logs data. Enter the name of the node that will log the data via script below.
Multiple Nodes:
GetNodeName("MyNodeName", 131);
IF MyNodeName == "Name of node that logs";
Then
$HistoricalLogging = 1;
ELSE
$HistoricalLogging = 0;
ENDIF;