Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_TrendX_SetDuration

CSV_TrendX_SetDuration

Sets duration of Instant Trend on Trends Server.

Note: This function is to be called only on a Trends Server. To maintain redundancy, the function is also called with the same arguments on the second/redundant Trends Server.

Syntax

CSV_TrendX_SetDuration(iTrendNo,iDuration,iUpdateRedundantSrvr)

#iTrendNo:

Number of trend to set duration for.

#iDuration:

Duration of popup (in seconds).

#iUpdateRedundantSrvr :

Return Value

0 if successful, otherwise -1.