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] )
nAN:
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 code is returned.
Related Functions
TrendDspCursorScale, TrendDspCursorTag, TrendDspCursorTime, TrendDspCursorValue, TrendGetAn, TrendRun, TrendSetDate, TrendSetScale, TrendSetSpan, TrendSetTime, TrendZoom
Example
See built-in trend templates.
See Also
Published June 2018