#include <cogent.h>
ST_STATUS HI_Earliest(IP_hTASK historian, char* retbuf, int buflen, char* histname, HI_stVALUE* data );
ST_OK on success. Otherwise ST_ERROR, and the retbuf will contain a NULL-terminated character string with an error message. If the return value is ST_OK, the retbuf may not contain useful information.
This function returns the value for the first data item in the history. This item may be either in a file or in memory.
This function corresponds to the Cascade Historian earliest command and the hist_earliest dynamic library function.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.