Click or drag to resize

ConcentratorBase(Int32, Double, Double) Constructor

Creates a new ConcentratorBase from specified parameters.

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.205-beta
Syntax
protected ConcentratorBase(
	int framesPerSecond,
	double lagTime,
	double leadTime
)
View Source

Parameters

framesPerSecond  Int32
Number of frames to publish per second.
lagTime  Double
Past time deviation tolerance, in seconds - this becomes the amount of time to wait before publishing begins.
leadTime  Double
Future time deviation tolerance, in seconds - this becomes the tolerated +/- accuracy of the local clock to real-time.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionSpecified argument is outside of allowed value range (see remarks).
Remarks

framesPerSecond must be greater then 0.

lagTime must be greater than zero, but can be specified in sub-second intervals (e.g., set to .25 for a quarter-second lag time). Note that this defines time sensitivity to past timestamps.

leadTime must be greater than zero, but can be specified in sub-second intervals (e.g., set to .5 for a half-second lead time). Note that this defines time sensitivity to future timestamps.

Concentration will not begin until consumer "Starts" concentrator (i.e., calling Start method or setting Enabled = true).

See Also