pipt_totalspecs

This function retrieves the totalization code and the conversion factor for a point. For totalized tags, the conversion factor is the multiplier to convert from the engineering units of the rate to the engineering units of the total. Some interfaces use the conversion factor as an input/output scaling factor.

C format

int32 pipt_totalspecs(

int32 pt,

int32 PIPTR * totalcode,

float PIPTR * convers );

Returns

>0

System error

0

Success

-1

Point does not exist

 

Arguments

pt (passed)

Point number

totalcode (returned)

Totalization code (0-6)

convers (returned)

Conversion factor

Usage Notes

See the "Post Processing" section of the Data Archive Manual for the list of totalization codes.

Enabling Operational Intelligence