SetAppHSTPath

Sets the file path (directory) where Trend history files will be saved, in the proprietary format ( .HST ).

Function Group Execution Windows Embedded Thin Client
SetAppHSTPath System Info Synchronous Supported Supported Executed on Server

Syntax

SetAppHSTPath(strPath)
strPath
The file path (directory) where Trend history files will be saved.

Returned value

This function does not return any value.

Notes

This function is useful when you intend to change the file path during runtime. You can also set the file path to a network drive by mapping it on the local station, or by using the following syntax:
\Network Drive\File Path

Please note that this function does not copy existing history files from the default directory to a new one; it only sets the file path for new history files saved after the function is called.

Examples

Tag Name Expression
  SetAppHstPath("C:\Studio\History\")