HI_GapCountBuffer

HI_GapCountBuffer -- identifies and counts large gaps in data.

Syntax

#include <cogent/cogent.h>

ST_STATUS HI_GapCountBuffer(int nvalues, HI_stVALUE* values, double gap);

Parameters

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

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.