hist_describe

hist_describe -- describes a history's current configuration.

Syntax

hist_describe (hist_task, history)
    

Parameters

hist_task

The task object corresponding to the Cascade Historian. See locate_task in the Gamma manual.

history

The name of the history to be described.

Returns

A list containing the objects described below if successful. Otherwise returns nil and sets _last_error_ to the error string returned by the Cascade Historian.

Description

This command returns a summary of the configuration parameters associated with the specified history.

The object list returned contains the following (in the given order):

This function corresponds to the describe command, and the Cogent API function HI_Describe.

Example

    Gamma> d = hist_describe(tsk, "p3");
    ("./data" "p3_" ".dat" 2 "./data/p3_01.dat" 0x102 nil 100 "p3")
    Gamma> abs_on = (HIST_DEADBAND_ABSOLUTE == (HIST_DEADBAND_ABSOLUTE & car(nth_cdr(d,5))));
    t
        

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