Skip to main content

PrevEvent Method

Returns timestamp of the point’s previous archive event before the current execution time.

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 AFTime PrevEvent()

VB

Public Function PrevEvent As AFTime

Return Value​

AFTime
AFTime object corresponding to the timestamp of the point’s previous archive event before the current execution time.

Remarks​

If the point has no archive data before the current execution time, this function returns null. Change to interface - returns AFTime struct instead of PISDK.PITime object.

See Also​

Reference​

PIACEPoint Class
PrevEvent Overload
GHost.GSharp.PI.ACE Namespace