ptSetTrend() function
- Last UpdatedJun 17, 2024
- 1 minute read
The ptSetTrend() function can be used in a script to pause or restart updates to a 16-Pen Trend.
Category
Pen trend
Syntax
ptSetTrend(TrendName, EnableUpdates);
Arguments
TrendName
The name of the trend object. Must be either a string constant or message tag.
EnableUpdates
The value 1 starts updates to the trend. The value 0 stops trend updates.
Example
The ptSetTrend() function updates the PumpPress trend.
ptSetTrend("PumpPress",1);