Skip to main content

NextEvent Method

Returns timestamp of the point’s next archive event after a specified 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 NextEvent(Object time)

VB

Public Function NextEvent (time As Object) As AFTime

Parameters​

  Object
Timestamp.

Return Value​

AFTime
AFTime object corresponding to the timestamp of the point’s next archive event after a specified time.

Remarks​

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

See Also​

Reference​

PIACEPoint Class
GHost.GSharp.PI.ACE Namespace