Click or drag to resize

IArchiveReadData(IEnumerableInt32, String, String, Boolean) Method

Reads time-series data from the repository.

Namespace: GSF.Historian
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.207-beta
Syntax
IEnumerable<IDataPoint> ReadData(
	IEnumerable<int> historianIDs,
	string startTime,
	string endTime,
	bool timeSorted = true
)
View Source

Parameters

historianIDs  IEnumerableInt32
Historian identifiers for which IDataPoints are to be read.
startTime  String
String representation of the start time (in UTC) of the timespan for which IDataPoints are to be read.
endTime  String
String representation of the end time (in UTC) of the timespan for which IDataPoints are to be read.
timeSorted  Boolean  (Optional)
Indicates whether the data retrieved from the archive should be time sorted.

Return Value

IEnumerableIDataPoint
IEnumerableT object containing zero or more IDataPoints.
See Also