History and trend client
- Last UpdatedApr 08, 2025
- 2 minute read
The UDT members of an instance can log data to LGH files or the Historian, as with other InTouch tags.
Example of Enabling Log Data
-
In the User defined type view, select the $GenericSensorType > Output member.

-
In the Properties grid, check if the Log data property is updated to True (checked) as shown below:

Example of enabling historical logging for LGH:
-
Go to the backstage: File > Configure > Historical Logging

-
If the specified directory does not exist, use File Explorer to create it.
-
Open WindowViewer to go to run time and verify data historizing to the LGH file.
In the following image, the UDT members are shown logging historical data to the LGH file, and the Trend Client is plotting real time and historical data. The historical data is back filled into the trend.
