AdjustClockOffset Property
Sets and gets the flag on whether to adjust all time arguments for the clock drift between the gSharp server and the PI Server. The default value is True.
Definition
Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)
C#
public bool AdjustClockOffset { get; set; }
VB
Public Property AdjustClockOffset As Boolean
Get
Set
Property Value
BooleanRemarks
When retrieving PI events, carrying out summary calculations, or sending data to PI, a time argument, be it explicitly specified or implicitly set to its default value, may be corrected for the clock drift between the gSharp server and the PI Server.
The clock drift is defined to be the difference in UTC seconds between two clocks at the same time (i.e., it does not depend on time-zone difference between the two clocks). Note that this flag does not affect the events retrieved from PI (e.g., via PrevEvent and PIACEValues methods) as they are not corrected for the clock drift.