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.
Syntax
CSV_TrendX_GenericToTagStr(iValue,sTagName)
#iValue:
Raw value scaled between 0 - 32000.
#sTagname:
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.