Cascade Historian: Version 4.1
Prev |  | Next

# enable

enable -- activates data recording.

## Syntax

    (enable [pattern])

## Parameters

`pattern`

  The name of one or more (using a globbing pattern) histories previously defined by the history command. When this parameter is not specified, the default is `*`, to include all histories.

## Returns

`t` (true) if successful, otherwise

        (error "No history matching pattern")

## Description

This command reverses the effect of a previous disable, `hist_disable`, or `HI_Disable` call, so that new data values will be accepted and logged.

This command corresponds to the Cogent API function `HI_Enable` and the `hist_enable` dynamic library function.

## Example

        [sh]$ lsend Hist
        Hist> (enable p5)
        t
        Hist>

Prev | Home | Next
earliest | Up | exit

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