Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_TrendX_GenericToTagStr


Converts raw integer value (0-32000) to real value scaled between specified tag's engineering zero and engineering full scale, then returns that value as a string.

Note: Instant trend data is stored in generic format. i.e., as a raw integer with range 0-32000. Call this function to convert raw trend value into scaled value to be displayed on the trend popup.




Raw value scaled between 0 - 32000.


Name of tag whose eng zero and eng full scale values are to be used to scale iValue.

Return Value

Value (as string) scaled between tag's eng zero scale and eng full scale.