Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

TrendDspCursorTime

  • Last UpdatedJul 18, 2023
  • 1 minute read

Displays the cursor time of the current pen in the current pen font.

Syntax

TrendDspCursorTime(nAN, Format)

nAN:

The AN number of the trend.

Format:

Format of the string:

0 - Short time format, hh:mm AM/PM.

1 - Long time format, hh:mm:ss AM/PM.

2 - Short date format, dd/mm/yy.

3 - Long date format, day month year.

4 - Time and date, weekday month day year hh:mm:ss AM/PM.

5 - Long time period, hh:mm:ss. Time needs to be in seconds.

6 - Millisecond time period, hh:mm:ss:xxx ("xxx" represents milliseconds). Time needs to be in milliseconds.

7 - Short time period, hh:mm. Time needs to be in seconds.

8 - Long time period, days:hh:mm:sec. Time needs to be in seconds.

9 - Extended date format, dd/mm/yyyy.

Note: If Format is set to 1, 2, or 3, the mode will be ignored when the sampling period of the trend changes to less than 1 second. Instead, the time is displayed as hh:min:ss.xxx, that is, displayed as mode 6.

Return Value

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

TrendDspCursorComment, TrendDspCursorScale, TrendDspCursorTag, TrendDspCursorValue, TrendGetAn, TrendRun, TrendSetDate, TrendSetScale, TrendSetSpan, TrendSetTime, TrendSetTimebase, TrendZoom

Example

See built-in trend templates.

See Also

Trend Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in