Cicode Programming Reference > Cicode Function Categories > Trend Functions Introduction > TrendSetTimebase

TrendSetTimebase

Sets a new sampling period for a trend. You can enter a sampling period in the Value argument, or leave the Value blank. A form is then displayed in run time for the operator to enter a value for the sampling period.

Syntax

TrendSetTimebase(AN [, Value] )

AN:

The AN of the trend.

Value:

An optional value for the sampling period, as a string.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

TrendDspCursorScale, TrendDspCursorTag, TrendDspCursorTime, TrendDspCursorValue, TrendGetAn, TrendRun, TrendSetDate, TrendSetScale, TrendSetSpan, TrendSetTime, TrendZoom

Example

See built-in trend templates.

See Also

Trend Functions