Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_TrendX_SetSamplePeriod

CSV_TrendX_SetSamplePeriod

Sets the sample period for a specified instant trend pen. For display purposes only, the sample period is stored as a page-based integer. This is updated when this function is called. The sample period is updated on the Trends Server.

Syntax

CSV_TrendX_SetSamplePeriod(hAN, iPenNo, iPeriod)

#hAN:

Number of Instant Trend AN.

#iPenNo:

Number of pen to update sample period.

#iPeriod:

Time (in seconds) to set new sample period to.