Cascade Historian: Version 4.1
Prev |  | Next

# bufferIdLength

bufferIdLength -- gives the length of an interpolation buffer.

## Syntax

    (bufferIdLength id)

## Parameters

`id`

  The query buffer ID returned from an interpolate command.

## Returns

The number (`n`) of `X`-`Y` data pairs in the specified buffer, with the following format:

        (bufferIdLength id n)

if successful, otherwise

        (error "Invalid buffer id id")

## Description

This command determines the exact number of values in the interpolation buffer identified by `id`.

This command corresponds to the Cogent API function `HI_BufferIDLength`, and two dynamic library functions: `hist_buffer_id_length` and `hist_length_buffer`.

## Example

See the example for interpolate.

Prev | Home | Next
bufferIdDestroy | Up | bufsize

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