HI_GapCountBuffer

HI_GapCountBuffer — identifies and counts large gaps in data.

Syntax

#include <cogent.h>
ST_STATUS HI_GapCountBuffer(int  nvalues,
 HI_stVALUE*  values,
 double  gap);

Arguments

nvalues

The number of values in the values array.

values

An array of HI_stVALUE structures.

gap

The threshold difference between adjacent X values that determines the existence of a gap.

Returns

The number of gaps, or (error).

Description

This function identifies and counts gaps for the HI_GapFillBuffer function. These two functions, when used together, correspond to the Cascade Historian hist_gap_buffer dynamic library function.

Example

See HI_GapFillBuffer