Skip to main content

NextVal Method

Returns value 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 Object NextVal(Object time)

VB

Public Function NextVal (time As Object) As Object

Parameters​

  Object
Timestamp.

Return Value​

Object
Value (as an Object) 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