ptPauseTrend() function
- Last UpdatedJun 17, 2024
- 1 minute read
The ptPauseTrend() function can be used in a script to temporarily stop a 16-Pen Trend from updating the graph. The trend remains stopped until you call ptPauseTrend again with a value of 0.
Category
Pen trend
Syntax
ptPauseTrend(TrendName, Value);
Arguments
TrendName
The name of the trend object. TrendName must be either a string constant or message tag.
Value
A value of 1 pauses trend updates. A value of 0 resumes trend updating.
Example
This example pauses any further updates to the 16-Pen Trend while the Value argument is 1.
ptPauseTrend ("TrendName",1);