pipt_inprocbits

This function retrieves the archiving on/off flag, the compression on/off flag, and the filter code.

C format

int32 pipt_inprocbits(

int32 pt,

int32 PIPTR * larchiving,

int32 PIPTR * lcompressing,

int32 PIPTR * filtercode );

Returns

>0

System error

0

Success

-1

Point does not exist

Arguments

pt (passed)

Point number

larchiving (returned)

Archiving flag - false (zero), or true (non zero)

lcompressing (returned)

Compression flag - false (zero), or true (non zero)

filtercode (returned)

Filter code (0-4)

Usage Notes

The time constant of the first-order filter used to smooth incoming data:

Filter code

Time constant

0

no filtering

1

10 seconds

2

1 minute

3

2 minutes

4

5 minutes

A longer time constant means more smoothing of the data. Operator-entered points and totals should not be filtered.

Enabling Operational Intelligence