pipt_compspecs

This function retrieves the compression specifications for a tag. The compression deviation is in scaled units, thus the deviation is returned in percent of span * 327.67 for real points and in engineering units for integer points. The minimum and maximum times, compmin and compmax, are returned in seconds. The compression deviation is not used for digital points.

C format

int32 pipt_compspecs(

int32 pt,

int32 PIPTR * compdev,

int32 PIPTR * compmin,

int32 PIPTR * compmax );

Returns

>0

System error

Success

-1 

Point does not exist

Arguments

pt (passed)

Point number

compdev (returned)

Compression deviation in scaled units

compmin (returned)

Compression minimum time in seconds

compmax (returned)

Compression maximum time in seconds

Usage Notes

Enabling Operational Intelligence