#include <cogent.h>
ST_STATUS HI_Disable(IP_hTASK historian, char* retbuf, int buflen, char* histpattern );
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 flushes one or more histories to disk and causes each of them to ignore all subsequent values until either enable, hist_enable, or HI_Enable is called on it.
This function corresponds to the Cascade Historian disable command and the hist_disable dynamic library function.
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.