Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Trend_Win

CSV_Trend_Win

Builds a trend page in a new window with the specified pens.

Syntax

CSV_Trend_Win(sPage,iX,iY,iMode,sPen1,sPen2,sPen3,sPen4,sPen5,sPen6,sPen7, sPen8)

#sPage:

Name of trend page to display.

#iX:

X coordinate of top left corner of window.

#iY:

Y coordinate of top left corner of window.

#iMode:

Mode of the window (= mode used by WinNewAt).

#sPen1:

Trend tag to be trended by pen 1.

#sPen2:

Trend tag to be trended by pen 2.

#sPen3:

Trend tag to be trended by pen 3.

#sPen4:

Trend tag to be trended by pen 4.

#sPen5:

Trend tag to be trended by pen 5.

#sPen6:

Trend tag to be trended by pen 6.

#sPen7:

Trend tag to be trended by pen 7.

#sPen8:

Trend tag to be trended by pen 8.

Return Value

Window number of the window; otherwise -1 if window can't be opened.