ptSetPen() function
- Last UpdatedJun 17, 2024
- 1 minute read
The ptSetPen() function can be used in a script to assign a tag to a trend pen.
Category
Pen trend
Syntax
ptSetPen(TrendName,PenNum,TagName);
Arguments
TrendName
The name of the trend object. Must be a string constant or a message tag.
PenNum
Number of the pen assigned as the current trend pen.
TagName
Name of the tag assigned to the trend pen.
Example
The ptSetPen() function assigns the PumpInP tag to pen 2 of the PumpPress trend.
ptSetPen ("PumpPress",2,"PumpInP");