TrendSetTimebase
- Last UpdatedJul 18, 2023
- 1 minute read
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
TrendDspCursorComment, TrendDspCursorScale, TrendDspCursorTag, TrendDspCursorTime, TrendDspCursorValue, TrendGetAn, TrendRun, TrendSetDate, TrendSetScale, TrendSetSpan, TrendSetTime, TrendZoom
Example
See built-in trend templates.