Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Trend_GetCursorValueStr


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.


CSV_Trend_GetCursorValueStr(hTrendAN, iPen, iEngUnits)


Animation point number of the trend.


Number of the trend pen.


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.