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 | Mobile Access |
---|---|---|---|---|---|---|
SetAppHstPath | System Info | Synchronous | Supported | Supported | Executed on Server | Executed on Server |
Syntax
- 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 DriveFile 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:StudioHistory”) |