Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Trend_SelectGroup

CSV_Trend_SelectGroup

Allows the user to select a group of trend tags from a listbox. Each group has an associated name, description and list of up to 8 tags. This function stores the selected group data and returns the name of the group selected from the list.

Note: Groups are configured in the TrendGrp.dbf file found in the [RUN] directory.

Syntax

CSV_Trend_SelectGroup(iMonitor,iTrendDataSet)

#iMonitor:

Number of monitor the trend is/was displayed on.

#iTrendDataSet:

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

Return Value

Trend group (description) selected from the list, or "" if Cancel is pressed.