ptSaveTrendCfg() function
- Last UpdatedJun 17, 2024
- 1 minute read
The ptSaveTrendCfg() function can be used in a script to save a trend’s current configuration values to a file.
Category
Pen trend
Syntax
ptSaveTrendCfg(TrendName,FileName);
Arguments
TrendName
The name of the trend object. Must be either a string constant or message tag.
FileName
Name of the file to save the trend’s configuration values. The folder path to the configuration file can be specified with the FileName argument.
Example
The ptSaveTrendCfg() function saves the values from the PumpTrend 16-Pen Trend to the C:\Config.txt file.
ptSaveTrendCfg ("PumpTrend", "C:\Config.txt")