Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

ptSetCurrentPen() function

  • Last UpdatedJun 17, 2024
  • 1 minute read

The ptSetCurrentPen() function can be used in a script to select a pen by its assigned number to control the pen axis.

Category

Pen trend

Syntax

ptSetCurrentPen(TrendName, PenNum);

Arguments

TrendName

Name of the trend. Must be either a string constant or message tag.

PenNum

Number of the pen (1-16) assigned as the current trend pen.

Example

The ptSetCurrentPen() function assigns pen 2 as the current pen of the PumpPress trend.

ptSetCurrentPen("PumpPress",2);

TitleResults for “How to create a CRG?”Also Available in