GetLogInfo
Deprecated. Do not use in new code.
(Engine-Level Function)
Description: | Interrogates a historical data file, or a set of historical data files, and returns overall time, date, and record count information either for the entire file(set), or for a specified time range. |
Returns: | Nothing (data returned in parameters) |
Usage: | Script Only. |
Function Groups: | File I/O, Log |
Related to: | GetLogInfo | HistorianDeleteRecords | HistorianGetData | HistorianGetInfo | HistorianReadRecords | HistorianWriteRecords | Get | GetHistory | Save | SaveHistory | TGet |
Format: | GetLogInfo(File, Earliest, Latest, NRecords [, PathPrefix, StartTime, EndTime]); |
Parameters: |
File |
Required. The historical data file (or index file for a file set) for which information is required. |
Earliest |
Required. Any variable in which will be returned the earliest time stamp from the file(set). |
Latest |
Required. Any variable in which will be returned the latest time stamp from the file(set). |
NRecords |
Required. Any variable in which will be returned the total number of records in the file(set). |
PathPrefix |
An optional text expression parameter that enables and controls the retrieval of data from across a set of files. |
StartTime |
An optional timestamp parameter that defines the start time of the range to be examined. |
EndTime |
An optional timestamp parameter which defines the end time of the range to be examined. |
Comments: |
For any optional parameter that is to be set, all optional parameters preceding the desired one must be present, although they may be Invalid.
PathPrefix would normally be Invalid or the application path. |