Gets the value of a trend pen at the cursor position, or the current value of the trend pen if the cursor is disabled. The value is returned as a string, optionally followed by the engineering units of the tag.
Syntax
CSV_Trend_GetCursorValueStr(hTrendAN, iPen, iEngUnits)
#hTrendAN:
Animation point number of the trend.
#iPen:
Number of the trend pen.
#iEngUnits:
Append the engineering units to the cursor value returned.
Return Value
Value of the trend pen at the cursor position, or its current value if the cursor is not displayed.