Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Trend_UpdatePens

CSV_Trend_UpdatePens

Stores the names of tags currently trended at a specified AN to a string as a comma separated list. A separate string is assigned to each monitor. The string is used to restore the last tags trended when the trend page is redisplayed.

Syntax

CSV_Trend_UpdatePens(hTrendAN,iMonitor,iTrendDataSet)

#hTrendAN:

Animation point number of the trend.

#iMonitor:

Number of monitor the trend is displayed on (-1 for active monitor).

#iTrendDataSet:

Identifies the data set to be used for the group of trend tags. Normal trend page uses data set 0, double trend page uses data sets 1 and 2.